Added flag to uorb publish wrapper...resolves no actuators in manual mode in fw_att_control

This commit is contained in:
Matt Beall
2015-03-27 10:39:18 -06:00
parent 4adb5ba276
commit 9e6d318d68
@@ -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) {