aboutsummaryrefslogtreecommitdiff
path: root/src/modules/bottle_drop/bottle_drop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/bottle_drop/bottle_drop.cpp')
-rw-r--r--src/modules/bottle_drop/bottle_drop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/bottle_drop/bottle_drop.cpp b/src/modules/bottle_drop/bottle_drop.cpp
index 128e40619..53071630d 100644
--- a/src/modules/bottle_drop/bottle_drop.cpp
+++ b/src/modules/bottle_drop/bottle_drop.cpp
@@ -463,7 +463,7 @@ BottleDrop::task_main()
continue;
}
- const unsigned sleeptime_us = 50000;
+ const unsigned sleeptime_us = 9500;
hrt_abstime last_run = hrt_absolute_time();
float dt_runs = sleeptime_us / 1e6f;
@@ -684,7 +684,7 @@ BottleDrop::task_main()
// update_actuators();
- // run at roughly 20 Hz
+ // run at roughly 100 Hz
usleep(sleeptime_us);
dt_runs = hrt_elapsed_time(&last_run) / 1e6f;