mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 05:03:34 +08:00
Fix thrust scaling - working with tuning
This commit is contained in:
@@ -246,7 +246,7 @@ FixedwingPositionINDIControl::manual_control_setpoint_poll()
|
||||
{
|
||||
if (_switch_manual) {
|
||||
_manual_control_setpoint_sub.update(&_manual_control_setpoint);
|
||||
_thrust = _manual_control_setpoint.throttle;
|
||||
_thrust = 0.5f * (_manual_control_setpoint.throttle + 1.0f);
|
||||
|
||||
} else {
|
||||
_thrust = _thrust_pos;
|
||||
|
||||
Reference in New Issue
Block a user