aboutsummaryrefslogtreecommitdiff
path: root/src/modules/bottle_drop
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/bottle_drop')
-rw-r--r--src/modules/bottle_drop/bottle_drop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/bottle_drop/bottle_drop.cpp b/src/modules/bottle_drop/bottle_drop.cpp
index dbf94cb3d..bc182b501 100644
--- a/src/modules/bottle_drop/bottle_drop.cpp
+++ b/src/modules/bottle_drop/bottle_drop.cpp
@@ -637,7 +637,7 @@ BottleDrop::task_main()
}
// We're close enough - open the bay
- distance_open_door = math::max(3.0f, fabsf(t_door * groundspeed_body));
+ distance_open_door = math::max(3.0f, 3.0f * fabsf(t_door * groundspeed_body));
if (counter % 10 == 0)
warnx("dist real: %.2f, distance_open_door: %.2f, angle to wind: %.2f",