theArchLadder
theArchLadder
@Urass sonar reads 4-6cm all the time when out of range, i guess it's picking up some weak echo from the frame... It seems very hard to determine if quad...
Me and @stronnag discussed this on IRC. One thought was to reduce/skip the timeout, but the same problem applies here, when the descent starts, vertical and horizontal velocity is ~0cm/s...
Not a bad idea actually, sounds like a good safety feature to have at least during development of this! I don't think we want to disable D-term, but we would...
...Or we could just sound the buzzer instead of disarming while we are debugging this, since we have to solve those problem with windup etc anyway.
The problem is that with the current logic, it can take some time between touchdown and disarm because: - It takes some time for the throttle to go below min_fly...
Issue 1: the timeout is only 1000ms, as i said before, throttle
**Possible bug found!** On the first iteration the timeout counter reads 2513 milliseconds, this was true on 2 landing attempts. If all conditions are true on the first iteration, and...
`resetLandingDetector();` sets `landingTimer = micros();` and is called from here: https://github.com/iNavFlight/inav/blob/master/src/main/flight/navigation_rewrite.c#L923 I have the NAV_STATE_RTH_3D_HOVER_PRIOR_TO_LANDING .timeoutMs = 2500, So i guess this has something to do with the bug, the...
Please keep this issue open as that pull request only attempts to improve one small thing of this topic.
**Changes just made to the landing detection in master branch:** - Vertical speed has to have been more than 25cm/s at some point - Vertical target speed is always over...