Rover: remove redundant set_steering calls from Guided

steering is centered within the stop_vehicle method
This commit is contained in:
Randy Mackay 2018-07-07 15:35:01 +09:00
parent 3b7e84ce7a
commit 77598f72d1
1 changed files with 0 additions and 2 deletions

View File

@ -48,7 +48,6 @@ void ModeGuided::update()
calc_throttle(_desired_speed, true, true);
} else {
stop_vehicle();
g2.motors.set_steering(0.0f);
}
break;
}
@ -70,7 +69,6 @@ void ModeGuided::update()
calc_throttle(_desired_speed, true, true);
} else {
stop_vehicle();
g2.motors.set_steering(0.0f);
}
break;
}