AP_VisualOdom: support align-position-and-yaw #23911
Open
+81
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This enhances the AP_VisualOdom and GCS_MAVLink libraries to support the new align-vision-position-local-ned message which allows a user to align (aka "reset") the position provided by an external vision system (e.g. T265, ModalAI VOXL) to a known position expressed as an offset from the EKF origin.
This is important because these two systems use VIO which may drift during flight any where from a few cm to up to a couple of meters.
This has been tested in SITL and on a real vehicle using a ModalAI VOXL camera.
Note: this PR includes a commit to update the mavlink module to include PR ArduPilot/mavlink#319. This commit should be removed before merging.