-
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
Terrain Estimator not working as intended on Release/RC2 #22357
Comments
Thanks for the report! @bresch fyi |
Further tested this just now. Three logs, all in SITL. Same flight plan. 1 - Flight Review Firmware with RSSI added in, SF30 driver and i2c reset. Based on 1.14 RC2 so only a few days prior to release but tested for good measure. Fails with terrain estimate valid/invalid (what was used in above flights not in SITL as well. 2 - Flight Review 1.14 Release (untouched). Same behavior as above, terrain estimate valid/invalid. 3 - Flight Review 1.14 Main (from 2 days ago) - Correct behavior. |
Thanks @bresch it does work in main but trying to test this against 1.14 release causes:
which is one of the additions
so what's the best way to get around that or test against release? Also this is changed (below). Since this should be be back ported or added to release version bump, just want to make sure we can do some testing, even if just sitl initially. ~~ PX4-Autopilot/src/modules/ekf2/EKF/range_finder_consistency_check.hpp Lines 40 to 41 in fc8be4b
vs
~~ just a define. |
Awesome! Thanks - will test ASAP. :) |
Tested via SITL quite a bit- works as intended. Will close and reopen if issues after testing live but don't anticipate any. Thanks @bresch :) |
Describe the bug
This was actually tested on RC2 but they should be near identical to Release.
This log is of a flight done last week where both the global position terrain estimate and the estimator global position iwould toggle the entire flight. The issue was then terrain data would timeout and you couldn't auto land. This was fixed by altering the flight plan but that's not a real solution. https://review.px4.io/plot_app?log=eba74e3c-bc58-4cf6-84d2-de9034a0ecbe
If you look at this log, the global position terrain estimate just goes true false the entire flight. The estimator global position is a little more stable on it but by no means mirrored. https://review.px4.io/plot_app?log=4a862996-18a1-4d92-8022-0d219fa2cf95
Going back slightly in versions (just PR, still on 1.14) and both terrain messages follow identically without waiver (and if need be I can provide logs of the same location, almost same flight plan on 1.14 main).https://review.px4.io/plot_app?log=eba74e3c-bc58-4cf6-84d2-de9034a0ecbe
So what's going on here? This is RC2 with the RSSI from Ark added in and lidar sf30 driver and the i2c software reset. And the i2c reset pr has been added and checked extensively without issue. Logs available if needed.
Thanks
To Reproduce
To reproduce you need a terrain estmate
Expected behavior
Terrain estimate to stay valid the entire time...
Screenshot / Media
No response
Flight Log
https://review.px4.io/plot_app?log=eba74e3c-bc58-4cf6-84d2-de9034a0ecbe
Software Version
1.14 RC2
Flight controller
Pixhawk 6c
Vehicle type
Fixed Wing
How are the different components wired up (including port information)
No response
Additional context
No response
@tstastny @sfuhrer @dagar
The text was updated successfully, but these errors were encountered: