1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-19 22:35:19 +03:00

last step of cleanup

This commit is contained in:
Pawel Spychalski (DzikuVx) 2017-07-03 16:49:43 +02:00
parent 96a5c55c9a
commit c917685718
19 changed files with 60 additions and 60 deletions

View file

@ -995,7 +995,7 @@ static navigationFSMEvent_t navOnEnteringState_NAV_STATE_RTH_LANDING(navigationF
if (navConfig()->general.flags.rth_allow_landing) {
float descentVelLimited = 0;
// A safeguard - if sonar is available and it is reading < 50cm altitude - drop to low descend speed
// A safeguard - if surface altitude sensors is available and it is reading < 50cm altitude - drop to low descend speed
if (posControl.flags.hasValidSurfaceSensor && posControl.actualState.surface < 50.0f) {
// land_descent_rate == 200 : descend speed = 30 cm/s, gentle touchdown
// Do not allow descent velocity slower than -30cm/s so the landing detector works.