mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
Rover: follow mode does not use lane based speed control
This commit is contained in:
parent
b3c5971538
commit
66a0ce9c40
@ -69,7 +69,7 @@ void ModeFollow::update()
|
|||||||
|
|
||||||
// run steering and throttle controllers
|
// run steering and throttle controllers
|
||||||
calc_steering_to_heading(_desired_yaw_cd);
|
calc_steering_to_heading(_desired_yaw_cd);
|
||||||
calc_throttle(calc_reduced_speed_for_turn_or_distance(desired_speed), false, true);
|
calc_throttle(desired_speed, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// return desired heading (in degrees) for reporting to ground station (NAV_CONTROLLER_OUTPUT message)
|
// return desired heading (in degrees) for reporting to ground station (NAV_CONTROLLER_OUTPUT message)
|
||||||
|
Loading…
Reference in New Issue
Block a user