forked from Archive/PX4-Autopilot
sensors app: Re-introduce sensor rate limiting
This commit is contained in:
parent
28d0ad4854
commit
4143c94029
|
@ -2168,6 +2168,9 @@ Sensors::task_main()
|
||||||
/* rate limit vehicle status updates to 5Hz */
|
/* rate limit vehicle status updates to 5Hz */
|
||||||
orb_set_interval(_vcontrol_mode_sub, 200);
|
orb_set_interval(_vcontrol_mode_sub, 200);
|
||||||
|
|
||||||
|
/* rate limit gyro to 250 Hz (the gyro signal is lowpassed accordingly earlier) */
|
||||||
|
orb_set_interval(_gyro_sub, 4);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* do advertisements
|
* do advertisements
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue