mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 05:33:33 +08:00
mc_pos_control/PositionControl: enable thrust setpoint
This commit is contained in:
committed by
Beat Küng
parent
0ca823eb30
commit
a74c1116ee
@@ -100,7 +100,7 @@ bool FlightTaskManualAltitude::update()
|
||||
_setVelocitySetpoint(Vector3f(NAN, NAN, _vel_sp_z));
|
||||
_setYawSetpoint(_yaw_sp);
|
||||
_setYawspeedSetpoint(_yaw_rate_sp);
|
||||
_setThrustSetpoint(Vector3f(NAN, NAN, NAN));
|
||||
_setThrustSetpoint(Vector3f(_thr_sp(0), _thr_sp(1), NAN));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user