mirror of https://github.com/ArduPilot/ardupilot
Rover: fix loiter comment
This commit is contained in:
parent
7519a28e8c
commit
925d4035a4
|
@ -23,7 +23,7 @@ void ModeLoiter::update()
|
|||
// get distance (in meters) to destination
|
||||
_distance_to_destination = get_distance(rover.current_loc, _destination);
|
||||
|
||||
// if within waypoint radius slew desired speed towards zero and use existing desired heading
|
||||
// if within loiter radius slew desired speed towards zero and use existing desired heading
|
||||
if (_distance_to_destination <= g2.loit_radius) {
|
||||
// sailboats do not stop
|
||||
const float desired_speed_within_radius = g2.motors.has_sail() ? 0.1f : 0.0f;
|
||||
|
|
Loading…
Reference in New Issue