aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_att_control
diff options
context:
space:
mode:
authorMatt Beall <matt.beall@greypointcorp.com>2015-03-27 10:39:18 -0600
committerMatt Beall <matt.beall@greypointcorp.com>2015-03-27 10:39:18 -0600
commit9e6d318d687dfdd4d549b5f56517006126032241 (patch)
tree4e0d9f2d2c8dc869dff7d46ce2ada934ac8c3f10 /src/modules/fw_att_control
parent4adb5ba276f502904b3e066146776c9297af905f (diff)
downloadpx4-firmware-9e6d318d687dfdd4d549b5f56517006126032241.tar.gz
px4-firmware-9e6d318d687dfdd4d549b5f56517006126032241.tar.bz2
px4-firmware-9e6d318d687dfdd4d549b5f56517006126032241.zip
Added flag to uorb publish wrapper...resolves no actuators in manual mode in fw_att_control
Diffstat (limited to 'src/modules/fw_att_control')
-rw-r--r--src/modules/fw_att_control/fw_att_control_main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/fw_att_control/fw_att_control_main.cpp b/src/modules/fw_att_control/fw_att_control_main.cpp
index 06df5fd97..8b41144f6 100644
--- a/src/modules/fw_att_control/fw_att_control_main.cpp
+++ b/src/modules/fw_att_control/fw_att_control_main.cpp
@@ -1079,7 +1079,8 @@ FixedwingAttitudeControl::task_main()
/* Only publish if any of the proper modes are enabled */
if(_vcontrol_mode.flag_control_rates_enabled ||
- _vcontrol_mode.flag_control_attitude_enabled)
+ _vcontrol_mode.flag_control_attitude_enabled ||
+ _vcontrol_mode.flag_control_manual_enabled)
{
/* publish the actuator controls */
if (_actuators_0_pub > 0) {