-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
[MAVSDK TEST] Groundtruth always zero for vision and flow model #14760
Comments
Thanks @kamilritz. I was seeing these errors too but then gave up debugging it.
|
|
@julianoes I was able to solve both issues with one change. It is caused by filling the GROUND_TRUTH message with content from the vehicle_global_position message. This message is coming from the estimator and is only published when the ekf is accepting global information. This is not the case for the iris_flow and iris_vision model. On the other side the ekf is publishing the vehicle_global_position message only after the gps data is passing the checks. This is causing the ground truth message to show 0 in the beginning until the ekf is publishing the information. This can be easily solved by using to the raw gps data for the ground truth. I will open a PR. |
Thanks @kamilritz! |
Inside the mavsdk test, when using the offboard mode, ground truth information from the gazebo simulation is used to perform checks.
Apparently for the two models iris_vision, iris_opt_flow_mockup the ground truth information is not received correctly and is always zero. Therefore all tests are passing.
The ground truth information seems correct for the plain iris (GPS) model. (Except when running at speed factor 1, then target is also zero)
How to check:
Print out
target_pos
andcurrent_pos
variable hereFor me it seems that there are two issues:
@julianoes Any idea how to solve this?
The text was updated successfully, but these errors were encountered: