mc_pos_control: set local position setpoint message for idle; for logging purpose,

always send local position setpoint when in air
This commit is contained in:
Dennis Mannhart 2017-12-22 20:45:50 +01:00 committed by Beat Küng
parent e6f04ad34a
commit 8da2ff4d77

View File

@ -72,6 +72,7 @@ public:
matrix::Vector3f getThrustSetpoint() {return _thr_sp;}
float getYawSetpoint() { return _yaw_sp;}
float getYawspeedSetpoint() {return _yawspeed_sp;}
float getThrottle() {return _throttle;}
matrix::Vector3f getVelSp() {return _vel_sp;}
matrix::Vector3f getPosSp() {return _pos_sp;}