5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-03 14:38:30 -04:00

Rover: re-order calc_steering declarations to match .cpp file

This commit is contained in:
Randy Mackay 2017-12-23 14:54:11 +09:00
parent 7b0b9f10de
commit dc283e9c26

View File

@ -107,11 +107,12 @@ protected:
// steering_out is in the range -4500 ~ +4500, throttle_out is in the range -100 ~ +100
void get_pilot_desired_steering_and_throttle(float &steering_out, float &throttle_out);
// calculate steering output to drive along line from origin to destination waypoint
void calc_steering_to_waypoint(const struct Location &origin, const struct Location &destination, bool reversed = false);
// calculate steering angle given a desired lateral acceleration
void calc_steering_from_lateral_acceleration(bool reversed = false);
// calculate steering output to drive along line from origin to destination waypoint
void calc_steering_to_waypoint(const struct Location &origin, const struct Location &destination, bool reversed = false);
// calculates the amount of throttle that should be output based
// on things like proximity to corners and current speed