Browse Source

Merge pull request #1959 from matt-beall/manualModeFlag

Added flag to uorb publish wrapper...resolves no actuators in manual mod...
sbg
Lorenz Meier 10 years ago
parent
commit
898bf51047
  1. 3
      src/modules/fw_att_control/fw_att_control_main.cpp

3
src/modules/fw_att_control/fw_att_control_main.cpp

@ -1079,7 +1079,8 @@ FixedwingAttitudeControl::task_main() @@ -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) {

Loading…
Cancel
Save