Skip to content
Snippets Groups Projects
Commit 3e88b2f2 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Rate-limit navigator update rate

parent 80e10645
No related branches found
No related tags found
No related merge requests found
......@@ -342,6 +342,9 @@ Navigator::task_main()
bool global_pos_available_once = false;
/* rate-limit global pos subscription to 20 Hz / 50 ms */
orb_set_interval(_global_pos_sub, 49);
while (!_task_should_exit) {
/* wait for up to 200ms for data */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment