Skip to content
Snippets Groups Projects
Commit 9c70eb0b authored by Andreas Antener's avatar Andreas Antener Committed by Roman
Browse files

reduce wheel control speed scaling

parent d015fbd6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment