diff --git a/src/robots/default_robot.cpp b/src/robots/default_robot.cpp index 22a31b2c7..9049fd333 100755 --- a/src/robots/default_robot.cpp +++ b/src/robots/default_robot.cpp @@ -277,6 +277,9 @@ void DefaultRobot::handle_steering() #endif } + // avoid steer vibrations + if (fabsf(steer_angle) < 2.0f) + steer_angle = 0.f; m_controls.lr = angle_to_control( steer_angle ); }