forked from Archive/PX4-Autopilot
FW attitude control: Run attitude controller as fast as we can to minimize latency
This commit is contained in:
parent
bca13e3e1b
commit
8838b18da7
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue