-
Notifications
You must be signed in to change notification settings - Fork 17.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
Copter Fence Fixes #25875
Copter Fence Fixes #25875
Commits on Jul 17, 2024
-
Copter: notify when fence breach has cleared
output fence breach type when switching mode without a fence action do not go into manual recovery only recover if there is a fence action implement auto-takeoff fence options output user-friendly fence names auto-enable fences on auto-takeoff use fence enable_configured() simplify message printing
Configuration menu - View commit details
-
Copy full SHA for a0a81de - Browse repository at this point
Copy the full SHA a0a81deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9817344 - Browse repository at this point
Copy the full SHA 9817344View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ce89c8 - Browse repository at this point
Copy the full SHA 4ce89c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f51be6 - Browse repository at this point
Copy the full SHA 5f51be6View commit details -
AP_Arming: do not enable minimim altitude fence on arming
call appropriate fence method for auto-enablement
Configuration menu - View commit details
-
Copy full SHA for 694c6a0 - Browse repository at this point
Copy the full SHA 694c6a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe40fbb - Browse repository at this point
Copy the full SHA fe40fbbView commit details -
AP_Common: fix initialization of ExpandingString so that it can be us…
…ed on the stack zero out passed in buffers for ExpandingString
Configuration menu - View commit details
-
Copy full SHA for 427e81e - Browse repository at this point
Copy the full SHA 427e81eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a540f1d - Browse repository at this point
Copy the full SHA a540f1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae95da6 - Browse repository at this point
Copy the full SHA ae95da6View commit details -
Plane: use fence enable_configured()
avoid fence breach clearing spam
Configuration menu - View commit details
-
Copy full SHA for a433d74 - Browse repository at this point
Copy the full SHA a433d74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 642ebab - Browse repository at this point
Copy the full SHA 642ebabView commit details -
Configuration menu - View commit details
-
Copy full SHA for ead7383 - Browse repository at this point
Copy the full SHA ead7383View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b5890a - Browse repository at this point
Copy the full SHA 9b5890aView commit details -
AC_Fence: add ability to auto-enable fence floor while doing fence ch…
…ecks control copter floor fence with autoenable autoenable floor fence with a margin check for manual recovery only after having checked the fences make auto-disabling for minimum altitude fence an option output message when fence floor auto-enabled re-use fence floor auto-enable/disable from plane auto-disable on landing do not update enable parameter when controlling through mavlink make sure get_enabled_fences() actually returns enabled fences. make current fences enabled internal state rather than persistent implement auto options correctly and on copter add fence names utility use ExpandingString for constructing fence names correctly check whether fences are enabled or not and disable min alt for landing in all auto modes add enable_configured() for use by mavlink and rc add events for all fence types make sure that auto fences are no longer candidates after manual updates add fence debug make sure rc switch is the ultimate authority on fences reset auto mask when enabling or disabling fencing ensure auto-enable on arming works as intended simplify printing fence notices reset autofences when auot-enablement is changed
Configuration menu - View commit details
-
Copy full SHA for e00be28 - Browse repository at this point
Copy the full SHA e00be28View commit details -
AC_Fence: ensure fence enablement on arming is inverted on disarming
correct detection of polyfence
Configuration menu - View commit details
-
Copy full SHA for 1aebd67 - Browse repository at this point
Copy the full SHA 1aebd67View commit details -
Configuration menu - View commit details
-
Copy full SHA for cda9de2 - Browse repository at this point
Copy the full SHA cda9de2View commit details -
AC_Fence: clear breach of disabled fence
skip breach checks if no fences correct initialisation of _num_fences in the case of no fences in eeprom
Configuration menu - View commit details
-
Copy full SHA for 4117288 - Browse repository at this point
Copy the full SHA 4117288View commit details -
autotest: add test for auto-disabling min alt fence breaches on disar…
…ming clean-up fence manipulation functions and add test for auto-enablement on copter update tests to have some FENCE_ENABLE tests add avoidance minimum and maximum altitude fence add fence switch test while flying add FenceAutoEnableDisableSwitch for auto mode 2 add more scenarios for plane fence auto-enable validate fence rc switch behaviour check fence autoenable by taking off in guided mode more FENCE_AUTOENABLE tests add FenceEnableDisableAux and FenceMinAltAutoEnableAbort
Configuration menu - View commit details
-
Copy full SHA for 7b57930 - Browse repository at this point
Copy the full SHA 7b57930View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb8f98f - Browse repository at this point
Copy the full SHA bb8f98fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c9deab - Browse repository at this point
Copy the full SHA 5c9deabView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbd8c60 - Browse repository at this point
Copy the full SHA cbd8c60View commit details -
AC_Fence: disable fences for landing by suppressing in the fence chec…
…k rather than using a state machine simplify takeoff auto-enablement
Configuration menu - View commit details
-
Copy full SHA for d19fd9c - Browse repository at this point
Copy the full SHA d19fd9cView commit details -
Plane: disable fences for landing by suppressing in the fence check r…
…ather than using a state machine
Configuration menu - View commit details
-
Copy full SHA for ef8f182 - Browse repository at this point
Copy the full SHA ef8f182View commit details -
Copter: disable fences for landing by suppressing in the fence check …
…rather than using a state machine
Configuration menu - View commit details
-
Copy full SHA for 807b1d0 - Browse repository at this point
Copy the full SHA 807b1d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24ec111 - Browse repository at this point
Copy the full SHA 24ec111View commit details -
Configuration menu - View commit details
-
Copy full SHA for e94dcf2 - Browse repository at this point
Copy the full SHA e94dcf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c06ac5 - Browse repository at this point
Copy the full SHA 4c06ac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d64f5ea - Browse repository at this point
Copy the full SHA d64f5eaView commit details -
AC_Fence: always disable Min Alt fence on landing
allow precise pre-arm messages
Configuration menu - View commit details
-
Copy full SHA for 11441b3 - Browse repository at this point
Copy the full SHA 11441b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a42d7ae - Browse repository at this point
Copy the full SHA a42d7aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cbbd88 - Browse repository at this point
Copy the full SHA 6cbbd88View commit details -
add Plane.FenceMinAltEnableAutoland test that vehicle can be landed manually after descending below fence floor
Configuration menu - View commit details
-
Copy full SHA for 0963060 - Browse repository at this point
Copy the full SHA 0963060View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb7384e - Browse repository at this point
Copy the full SHA bb7384eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b12c39b - Browse repository at this point
Copy the full SHA b12c39bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d338e3e - Browse repository at this point
Copy the full SHA d338e3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for df04765 - Browse repository at this point
Copy the full SHA df04765View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f98294 - Browse repository at this point
Copy the full SHA 0f98294View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c6ef82 - Browse repository at this point
Copy the full SHA 4c6ef82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61f462b - Browse repository at this point
Copy the full SHA 61f462bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43566e0 - Browse repository at this point
Copy the full SHA 43566e0View commit details
Commits on Jul 19, 2024
-
AC_Fence: fixed FENCE_AUTOENABLE=2
needs to auto-enable on takeoff complete
Configuration menu - View commit details
-
Copy full SHA for f676d41 - Browse repository at this point
Copy the full SHA f676d41View commit details -
Plane: reset previous mode fence breach when disarmed
when we are disarmed or we are not in fence breach and we are not flying then reset the previous mode fence reason state so that a new flight will get the correct fence breach action behaviour
Configuration menu - View commit details
-
Copy full SHA for fdae0dd - Browse repository at this point
Copy the full SHA fdae0ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0b7aff - Browse repository at this point
Copy the full SHA d0b7affView commit details
Commits on Jul 21, 2024
-
Plane: fixed re-enable of fence for FENCE_AUTOENABLE=1
the is an adjustment to the previous fix which only worked when we had at least one fence element enabled when we were not flying or disarmed
Configuration menu - View commit details
-
Copy full SHA for 398fe33 - Browse repository at this point
Copy the full SHA 398fe33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89e7220 - Browse repository at this point
Copy the full SHA 89e7220View commit details -
Configuration menu - View commit details
-
Copy full SHA for 768f780 - Browse repository at this point
Copy the full SHA 768f780View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96d9985 - Browse repository at this point
Copy the full SHA 96d9985View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d7db72 - Browse repository at this point
Copy the full SHA 8d7db72View commit details
Commits on Jul 23, 2024
-
Copter: fully honour FENCE_OPTION to disable mode changes
when the user has chosen to disallow mode change during fence breach it should be fully implemented, without a landing exception. as requested by Pete, and discussed on dev call
Configuration menu - View commit details
-
Copy full SHA for 166cb48 - Browse repository at this point
Copy the full SHA 166cb48View commit details