Rover: auto does not set unused _reached_destination member

This commit is contained in:
Randy Mackay 2022-01-03 14:12:59 +09:00
parent a6b22e4db9
commit c9369b05b3
1 changed files with 0 additions and 1 deletions

View File

@ -703,7 +703,6 @@ void ModeAuto::do_nav_set_yaw_speed(const AP_Mission::Mission_Command& cmd)
_desired_speed = constrain_float(cmd.content.set_yaw_speed.speed, -speed_max, speed_max);
_desired_yaw_cd = desired_heading_cd;
_reached_heading = false;
_reached_destination = false;
_submode = Auto_HeadingAndSpeed;
}