Longer delay before declaring the landing

master
Pawel Jalocha 2023-05-23 05:22:31 +01:00
rodzic 4a2fc76af1
commit 406429ba42
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -73,7 +73,7 @@ class FlightMonitor
{ int Det=FlightThresh(Position, MinSpeed/2); // check in-flight criteria with half the limit
if(Det<=0) // if fail
{ HoldTime++; // count the holding time
if(HoldTime>=2*MinHold) // if over twice the limit
if(HoldTime>=MinHold*4) // if over four times the limit
{ Landing=Position; HoldTime=0; // then declare landing, store landing position
// char Name[16]; ShortName(Name, "XXX");
// printf("Landing #%d: %s\n", TakeoffCount, Name);