mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
FlightTaskManualAltitude/Position: set thrust setpoint to NAN (only temporary)
This commit is contained in:
parent
716eea31cf
commit
d7c48ea5f2
@ -100,7 +100,7 @@ bool FlightTaskManualAltitude::update()
|
||||
_setVelocitySetpoint(Vector3f(NAN, NAN, _vel_sp_z));
|
||||
_setYawSetpoint(_yaw_sp);
|
||||
_setYawspeedSetpoint(_yaw_rate_sp);
|
||||
//_setThrustSetpoint(...) TODO
|
||||
_setThrustSetpoint(Vector3f(NAN, NAN, NAN));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -110,6 +110,8 @@ bool FlightTaskManualPosition::update()
|
||||
_setVelocitySetpoint(Vector3f(_vel_sp_xy(0), _vel_sp_xy(1), _vel_sp_z));
|
||||
_setYawSetpoint(_yaw_sp);
|
||||
_setYawspeedSetpoint(_yaw_rate_sp);
|
||||
_setThrustSetpoint(Vector3f(NAN, NAN, NAN));
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user