Rover: steering mode reversing fix

This commit is contained in:
Randy Mackay 2018-01-05 10:23:20 +09:00
parent 916fe80000
commit 072b5187a3
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ void ModeSteering::update()
stop_vehicle(); stop_vehicle();
} else { } else {
// run lateral acceleration to steering controller // run lateral acceleration to steering controller
calc_steering_from_lateral_acceleration(desired_lat_accel, false); calc_steering_from_lateral_acceleration(desired_lat_accel, reversed);
calc_throttle(target_speed, false); calc_throttle(target_speed, false);
} }
} }