mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-26 16:28:06 +08:00
feat(commander): add failsafe for traffic avoidance system (#27887)
* feat(commander): add traffic avoidance system failsafe * test(commander): add tests for traffic avoidance failsafe * docs(parameters): add COM_ARM_TRAFF migration notes * fix(failsafe): use a shared header instead of hard-coding enum literals * fix(commander): clear stale traffic avoidance unhealthy flag when check disabled * refactor(failsafe): rename failsafe_mode_params.h to failsafe_action_modes.h * docs(adsb_flarm): fix formatting in traffic avoidance parameter table --------- Co-authored-by: Claudio Chies <chiesc@chies.com>
This commit is contained in:
@@ -30,6 +30,8 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
|
||||
|
||||
## Upgrade Guide
|
||||
|
||||
- `COM_ARM_TRAFF` has been replaced by `COM_TRAFF_AVOID`. The old value 3 ("enforce for mission modes only") is migrated to `COM_TRAFF_AVOID=2`, which blocks arming in all modes, not just mission modes. If you relied on being able to arm manually with traffic detected, set `COM_TRAFF_AVOID=1` (warning only) instead.
|
||||
|
||||
## Other changes
|
||||
|
||||
- Fast mission Return modes ([RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) = 2 and 4) now skip `DO_JUMP` commands (loops) while following the mission path. ([PX4-Autopilot#26993: fix(navigator): goToNextPositionItem skip loops when required](https://github.com/PX4/PX4-Autopilot/pull/26993))
|
||||
|
||||
Reference in New Issue
Block a user