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
External vision ekf2 timeout and reset #10916
Comments
This happens because EKF2 expects you to send the full position vector (XYZ), not only one of the dimensions - https://github.com/PX4/Firmware/blob/master/src/modules/ekf2/ekf2_main.cpp#L1203. |
@TSC21 are you sure? Because otherwise why does it work for a while, and tracks the altitude I send as vision estimate? And why is there "EKF2_HGT_MODE vision" that I can enable only for height? BTW I send the full vision_estimate message, but the other fields are 0. |
Yes I am sure. It tracks it because the other fields are 0 but are numbers.
It basically says that the estimator relies on the vision input only. But it doesn't mean you don't need the full vector. |
Right. Thanks. |
BTW the documentation says: External vision system horizontal position data will be used if bit position 3 in the EKF2_AID_MASK parameter is true. So either the doc is wrong or there is another issue here. |
Can someone point me at the code which triggers "EKF ev hgt timeout - reset to ev hgt"? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing as stale. |
Hello @tuloski, I am having similar issue. You said it worked for a bit and EKF2 resets to zero. Were you able to resolve it? If yes, can you share? |
Hi all.
I'm testing external vision for altitude on gazebo simulator.
I'm using:
but I get a few "EKF ev hgt timeout - reset to ev hgt" and suddenly the altitude have a jump and the quadrotor moves up or down.
My questions are:
Attached log: https://review.px4.io/plot_app?log=d9e21090-1c02-48d5-9b62-0781e04c77bf
The text was updated successfully, but these errors were encountered: