mc_pos_control/PositionControl: enable thrust setpoint

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