diff options
author | Julian Oes <julian@oes.ch> | 2014-11-16 13:38:41 +1000 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-11-16 13:38:41 +1000 |
commit | 4e8387465e01cf16e0fbbe94b5e9a3c168540b77 (patch) | |
tree | 41ca1d4410def218d9290136cba29ba375c55ddb /src/modules | |
parent | 8caada2188b9c9a8fcab70fbad92ab14506c2427 (diff) | |
download | px4-firmware-4e8387465e01cf16e0fbbe94b5e9a3c168540b77.tar.gz px4-firmware-4e8387465e01cf16e0fbbe94b5e9a3c168540b77.tar.bz2 px4-firmware-4e8387465e01cf16e0fbbe94b5e9a3c168540b77.zip |
navigator: only update sensor_combined topic with 50Hz
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/navigator/navigator_main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/navigator/navigator_main.cpp b/src/modules/navigator/navigator_main.cpp index e933919fb..ed9e999a9 100644 --- a/src/modules/navigator/navigator_main.cpp +++ b/src/modules/navigator/navigator_main.cpp @@ -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; |