FlightTaskManualAltitude/Position: set thrust setpoint to NAN (only temporary)

This commit is contained in:
Dennis Mannhart
2018-04-05 07:30:12 +02:00
committed by Beat Küng
parent 716eea31cf
commit d7c48ea5f2
2 changed files with 3 additions and 1 deletions
@@ -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;
}