diff options
author | Lorenz Meier <lm@qgroundcontrol.org> | 2014-11-16 10:50:15 +0100 |
---|---|---|
committer | Lorenz Meier <lm@qgroundcontrol.org> | 2014-11-16 10:50:15 +0100 |
commit | 556ba951e51771ee93723b21fdec16d9d52180b1 (patch) | |
tree | 41ca1d4410def218d9290136cba29ba375c55ddb /src/modules/navigator/navigator_main.cpp | |
parent | 8caada2188b9c9a8fcab70fbad92ab14506c2427 (diff) | |
parent | 4e8387465e01cf16e0fbbe94b5e9a3c168540b77 (diff) | |
download | px4-firmware-556ba951e51771ee93723b21fdec16d9d52180b1.tar.gz px4-firmware-556ba951e51771ee93723b21fdec16d9d52180b1.tar.bz2 px4-firmware-556ba951e51771ee93723b21fdec16d9d52180b1.zip |
Merge pull request #1458 from PX4/fix_navigatorload
Fix navigator load
Diffstat (limited to 'src/modules/navigator/navigator_main.cpp')
-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; |