navigation: add MSP precision landing target consumer for MC/VTOL#11554
Draft
mart1npetroff wants to merge 1 commit into
Draft
Conversation
Implement an INAV-side precision-landing target consumer that accepts external target offsets over MSP and applies correction only in MC/VTOL POSHOLD/LAND contexts, without direct motor/attitude control and without mode switching. - add MSP2_INAV_SET_PRECISION_LANDING_TARGET (0x2231 / 8753) - add precision landing state machine module (cache/validate/use/fallback) - integrate with NAV + multicopter position controller + LAND flow - add nav status exposure for precision states (OSD/DJI mappings) - add CLI settings for source/validation/correction/retry behavior - keep descent profile on standard LAND logic (remove custom PL descent tuning) - add retry timeout auto mode: nav_precision_landing_retry_timeout_ms=0 => 2 * lost_hold_time_ms - document MSP payload/reply and navigation behavior in docs Safety behavior: - no activation in fixed-wing profile - no correction use in failsafe - stale/low-confidence/bad-frame targets are rejected - target loss recovery: HOLD -> CLIMB_AND_RETRY -> NORMAL_LAND fallback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Implement an INAV-side precision-landing target consumer that accepts external target offsets over MSP and applies correction only in MC/VTOL POSHOLD/LAND contexts, without direct motor/attitude control and without mode switching.
Safety behavior: