Skip to content

Commit

Permalink
HOTFIX: Increased attitude control updates to 50 Hz - was less than 1…
Browse files Browse the repository at this point in the history
…0 Hz and unintended slow
  • Loading branch information
LorenzMeier committed Dec 31, 2013
1 parent c367959 commit 5b302fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/fw_att_control/fw_att_control_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 5b302fe

Please # to comment.