mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 15:40:31 +08:00
HOTFIX: Increased attitude control updates to 50 Hz - was less than 10 Hz and unintended slow
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user