mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-26 17:00:36 +08:00
FW attitude control: Run attitude controller as fast as we can to minimize latency
This commit is contained in:
@@ -634,8 +634,9 @@ FixedwingAttitudeControl::task_main()
|
||||
|
||||
/* rate limit vehicle status updates to 5Hz */
|
||||
orb_set_interval(_vcontrol_mode_sub, 200);
|
||||
/* rate limit attitude control to 50 Hz (with some margin, so 17 ms) */
|
||||
orb_set_interval(_att_sub, 17);
|
||||
/* do not limit the attitude updates in order to minimize latency.
|
||||
* actuator outputs are still limited by the individual drivers
|
||||
* properly to not saturate IO or physical limitations */
|
||||
|
||||
parameters_update();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user