diff --git a/libraries/SITL/SIM_Rover.cpp b/libraries/SITL/SIM_Rover.cpp index aa28a20bab..173645604a 100644 --- a/libraries/SITL/SIM_Rover.cpp +++ b/libraries/SITL/SIM_Rover.cpp @@ -54,7 +54,7 @@ float SimRover::turn_circle(float steering) if (fabsf(steering) < 1.0e-6) { return 0; } - return turning_circle * sinf(radians(35)) / sinf(radians(steering*35)); + return turning_circle * sinf(radians(max_wheel_turn)) / sinf(radians(steering*max_wheel_turn)); } /*