Open doors sooner for drop

This commit is contained in:
Lorenz Meier
2014-08-21 15:46:58 +02:00
parent 1026805422
commit 7c7dce3b44
+1 -1
View File
@@ -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",