From 6ffa7a96baf1fb487703191a4900c1e0093eb395 Mon Sep 17 00:00:00 2001 From: Dennis Mannhart Date: Tue, 19 Dec 2017 11:15:40 +0100 Subject: [PATCH] mc_pos_control: method for publishing attitude and local_pos_sp --- src/modules/mc_pos_control/TranslationControl.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/mc_pos_control/TranslationControl.hpp b/src/modules/mc_pos_control/TranslationControl.hpp index 396d46f20f..3a76f91235 100644 --- a/src/modules/mc_pos_control/TranslationControl.hpp +++ b/src/modules/mc_pos_control/TranslationControl.hpp @@ -73,6 +73,8 @@ public: matrix::Vector3f getThrustSetpoint() {return _thr_sp;} float getYawSetpoint() { return _yaw_sp;} float getThrottle() {return _throttle;} + matrix::Vector3f getVelSp() {return _vel_sp;} + matrix::Vector3f getPosSp() {return _pos_sp;} private: