mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
reduce wheel control speed scaling
This commit is contained in:
parent
d015fbd678
commit
9c70eb0b63
@ -85,7 +85,8 @@ float ECL_WheelController::control_bodyrate(const struct ECL_ControlData &ctl_da
|
||||
speed = ctl_data.ground_speed;
|
||||
}
|
||||
|
||||
float scaler = 1.0f / speed;
|
||||
/* only scale a certain amount with speed else the corrections get to small */
|
||||
float scaler = 0.7f + 0.3f / speed;
|
||||
|
||||
/* Calculate body angular rate error */
|
||||
_rate_error = _rate_setpoint - ctl_data.yaw_rate; //body angular rate error
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user