-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
[Bug] Multi EKF vehicle local positions starting with large offset on quad indoors #24206
Comments
This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: |
This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: |
This is an offboard example, the drone is trying to takeoff, then the estimator switches and the drone jumps to the side |
I have investigated it more I think something is probably wrong with the optical flow math. I walked around with two different drones in the office. I also recorded a log with the GPS on, the same behavior is visible while the GPS is setting up, but it eventually gets resolved once the GPS got the signals.
|
I have recorded three logs based on @dagar suggestions. Setups: |
Describe the bug
I’ve been facing significant issues with quads using optical flow for localization indoors(no GPS and EKF2_HGT_REF=RANGE). The estimators have a large offset from each other(20-500 m), if the estimator switches the drones tries to compensate. It happens occasionally.
To Reproduce
Fly indoors with no GPS and EKF2_HGT_REF=RANGE in the latest main in position/offboard.
Expected behavior
If the estimator switches the drone should should stay where it is since the estimates should align.
Screenshot / Media
Flight Log
https://review.px4.io/plot_app?log=6c072e4a-e0aa-4a46-9833-78db51355d37
https://review.px4.io/plot_app?log=6e490f75-ed41-477a-9d91-771896215a7d
Software Version
Main
Flight controller
ARKV6X Flight Controller
Vehicle type
Multicopter
How are the different components wired up (including port information)
No response
Additional context
I am also having issues with dist_bottom_valid behaving weirdly and invoking fail safe even though the drone seemed fine otherwise.
The text was updated successfully, but these errors were encountered: