From 525e605b926d2ceaf4695e0b49a416ec5cf0a004 Mon Sep 17 00:00:00 2001 From: Roman Bapst Date: Wed, 6 May 2015 12:42:27 +0200 Subject: vtol: publish actuator controls in manual mode --- src/modules/vtol_att_control/vtol_att_control_main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/vtol_att_control/vtol_att_control_main.cpp b/src/modules/vtol_att_control/vtol_att_control_main.cpp index 2ae10bd27..fdb4de434 100644 --- a/src/modules/vtol_att_control/vtol_att_control_main.cpp +++ b/src/modules/vtol_att_control/vtol_att_control_main.cpp @@ -822,7 +822,8 @@ void VtolAttitudeControl::task_main() /* Only publish if the proper mode(s) are enabled */ if(_v_control_mode.flag_control_attitude_enabled || - _v_control_mode.flag_control_rates_enabled) + _v_control_mode.flag_control_rates_enabled || + _v_control_mode.flag_control_manual_enabled) { if (_actuators_0_pub > 0) { orb_publish(ORB_ID(actuator_controls_0), _actuators_0_pub, &_actuators_out_0); -- cgit v1.2.3