-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pre flight failure with Optical Flow on Ground #20929
Comments
It looks like this is still an issue that was introduced with this commit. https://github.com/PX4/PX4-Autopilot/pull/20414/files#diff-a40788d784ca3877b825cbf025e2f84b154faf5182ae81a27defa625f27cffa3R943
|
This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: https://discuss.px4.io/t/px4-maintainers-call-april-04-2023/31415/1 |
This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: https://discuss.px4.io/t/px4-maintainers-call-april-11-2023/31524/1 |
This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: https://discuss.px4.io/t/px4-maintainers-call-may-02-2023/31955/1 |
I'm seeing the "Preflight Fail: velocity estimate errors" when only using optical flow. Using commit hash: 7eb6535 Pretty much the same optical flow issues in #21055 Is there a way around this for the time being, or just wait for the fix? For reference I'm using the Bitcraze flowdeck v2 (pmw3901) over SPI bus. I am able to see the optical flow sensor messages and have a vl53l1x distance sensor. Tried raising the drone 1m off the ground as you had done in #21358 but still getting constant spamming of velocity estimate errors in the system console. Could the conditional rangefinder param (EKF2_RNG_CNTRL) be a factor here? I have it enabled but not conditional. Also no GPS to fall back on either, just optical flow and the distance sensor. |
During a community qna call, @dagar hinted that we can have a quick safeguard fix to get around this issue. Could you comment on this? |
This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: https://discuss.px4.io/t/px4-maintainers-call-may-23-2023/32245/1 |
Fixes merged |
In current main, with optical flow fusion enabled, I am unable to arm in altitude or position mode. If I take off in manual I am able to switch to altitude and position no problem.
On a larger quad with long landing gear, this issue doesn't present itself. It appears to be a problem with the optical flow close to the ground.
https://github.com/PX4/PX4-Autopilot/blob/main/src/modules/ekf2/Utility/PreFlightChecker.cpp#L85-L91
The text was updated successfully, but these errors were encountered: