navigator: only update sensor_combined topic with 50Hz

This commit is contained in:
Julian Oes 2014-11-16 13:38:41 +10:00
parent 8caada2188
commit 4e8387465e
1 changed files with 2 additions and 1 deletions

View File

@ -289,8 +289,9 @@ Navigator::task_main()
navigation_capabilities_update();
params_update();
/* rate limit position updates to 50 Hz */
/* rate limit position and sensor updates to 50 Hz */
orb_set_interval(_global_pos_sub, 20);
orb_set_interval(_sensor_combined_sub, 20);
hrt_abstime mavlink_open_time = 0;
const hrt_abstime mavlink_open_interval = 500000;