Commit Graph

11 Commits

Author SHA1 Message Date
Thomas Watson
39e957b9ca Rover: turn ARMING_CHECK into ARMING_SKIPCHK
This lowers the effort required to turn off just one arming check.
Previously, a user had to disable the ALL bit and enable every check
except the undesired one. Now they can just disable that one directly.
Hopefully this will result in less vehicles with no arming checks
whatsoever, presuming only one check is giving the user grief.

This, as a side effect, removes the difference between the ALL bit set
and all non-ALL bits set (e.g. the latter disables IMU heater checks).
It also ensures the user will get any new arming checks even if they
have skipped one.

People who need to disable all current and future checks for e.g. bench
testing can still do this efficiently by setting the parameter to `-1`,
leveraging that this sets all bits in 2s complement arithmetic.

A parameter conversion is included that skips no checks if the old ALL
bit is set; otherwise it migrates the user's selected checks. If no
checks were enabled, it disables all current and future checks.
2025-12-04 11:52:13 -06:00
Peter Barker
9b2eafb2e4 Rover: move rudder-disarming-method param check up to AP_Arming base class 2025-07-08 08:28:31 +10:00
Peter Barker
f3236fae2b Rover: move rudder-arming throttle checks up into AP_Arming 2025-07-08 08:28:31 +10:00
Peter Barker
e9ac62677b Rover: move check that rudder arming is permitted up 2025-07-08 08:28:31 +10:00
Peter Barker
88cd4770a0 Rover: move rudder-arming up to RC_Channel library 2025-07-08 08:28:31 +10:00
Peter Barker
43d1c94b13 Rover: add prearm check that system is initialised
not so much that we want the system to be initialised inasmuch that if we run the rest of the prearms when not initialised the system is likely to fall over
2025-05-28 18:10:34 +10:00
Peter Barker
593ea27ce5 Rover: avoid compiler warnings from clang++ 2025-05-07 17:45:45 +10:00
Peter Barker
9f7491b6a1 Rover: make ArmingChecks enum class AP_Arming::Check 2025-04-22 12:19:37 +10:00
Peter Barker
4959cee694 Rover: add option to require position for Rover before arming 2025-02-05 10:39:20 +11:00
Peter Barker
83bf6841c2 Rover: adjust for AP_Arming file rename 2025-01-28 10:56:26 +11:00
Peter Barker
6f868c00ba Rover: rename AP_Arming libraries for vehicles to AP_Arming_VEHICLENAME 2025-01-28 10:56:26 +11:00