Browse Source

HOTFIX: Increased attitude control updates to 50 Hz - was less than 10 Hz and unintended slow

sbg
Lorenz Meier 11 years ago
parent
commit
5b302fef59
  1. 3
      src/modules/fw_att_control/fw_att_control_main.cpp

3
src/modules/fw_att_control/fw_att_control_main.cpp

@ -479,7 +479,8 @@ FixedwingAttitudeControl::task_main() @@ -479,7 +479,8 @@ FixedwingAttitudeControl::task_main()
/* rate limit vehicle status updates to 5Hz */
orb_set_interval(_vcontrol_mode_sub, 200);
orb_set_interval(_att_sub, 100);
/* rate limit attitude control to 50 Hz (with some margin, so 17 ms) */
orb_set_interval(_att_sub, 17);
parameters_update();

Loading…
Cancel
Save