Rover: fix loiter comment

This commit is contained in:
Randy Mackay 2018-09-28 09:11:09 +09:00
parent 7519a28e8c
commit 925d4035a4
1 changed files with 1 additions and 1 deletions

View File

@ -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;