diff options
author | Matt Beall <matt.beall@greypointcorp.com> | 2015-03-27 10:39:18 -0600 |
---|---|---|
committer | Matt Beall <matt.beall@greypointcorp.com> | 2015-03-27 10:39:18 -0600 |
commit | 9e6d318d687dfdd4d549b5f56517006126032241 (patch) | |
tree | 4e0d9f2d2c8dc869dff7d46ce2ada934ac8c3f10 /src/modules | |
parent | 4adb5ba276f502904b3e066146776c9297af905f (diff) | |
download | px4-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')
-rw-r--r-- | src/modules/fw_att_control/fw_att_control_main.cpp | 3 |
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) { |