mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
Rover: remove unnecessary constraint on steering sent to motors library
This commit is contained in:
parent
fdae5f3ccc
commit
a5e424350d
@ -496,7 +496,6 @@ void Mode::set_steering(float steering_value)
|
|||||||
if (allows_stick_mixing() && g2.stick_mixing > 0) {
|
if (allows_stick_mixing() && g2.stick_mixing > 0) {
|
||||||
steering_value = channel_steer->stick_mixing((int16_t)steering_value);
|
steering_value = channel_steer->stick_mixing((int16_t)steering_value);
|
||||||
}
|
}
|
||||||
steering_value = constrain_float(steering_value, -4500.0f, 4500.0f);
|
|
||||||
g2.motors.set_steering(steering_value);
|
g2.motors.set_steering(steering_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user