Peter Barker
75514dfdfe
AP_Arming: emit stringification of internal errors
5 years ago
Peter Barker
b38d2c6194
AP_Arming: regularise CAN pre-arm failure messages
...
AP_Arming tacks on the sub-system bit.
Remove PiccoloCAN's silly nullptr check
Require the library to supply the failure message (no default message)
Remove default cases so authors know to think about places they should
add things.
5 years ago
Tatsuya Yamaguchi
de854a2ffe
AP_Arming: pre-arm check for disarm aux switch
5 years ago
Peter Barker
119eef9954
AP_Arming: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Tatsuya Yamaguchi
c4fe6fce1c
AP_Arming: make RC check message clearer
5 years ago
murata
2af70f5e60
AP_Arming: Display mag field value
5 years ago
Randy Mackay
1b1687f43d
AP_Arming: integrate visual odometry pre_arm_check
5 years ago
Michael du Breuil
73c5c2e1bb
AP_Arming: Check that sticks are neutral
5 years ago
Siddharth Purohit
575ac9224e
AP_Arming: fix error unannotated fall-through between switch labels
5 years ago
Randy Mackay
05a8e34d5c
AP_Arming: support auxiliary authorisation
5 years ago
Randy Mackay
df8bf27a7f
AP_Arming: get_enabled_checks returns uint32_t
5 years ago
Peter Barker
7b9cdd6d06
AP_Arming: log disarm method
5 years ago
Andy Piper
7663c67eec
AP_Arming: gyrofft arming checks
5 years ago
Siddharth Purohit
7da331535c
AP_Arming: add arming message for compass not detected but assigned
5 years ago
Siddharth Purohit
653fad44d4
AP_Arming: Primary Compass is always at serial# 0
5 years ago
Peter Barker
62c0078d5f
AP_Arming: move logging of armed/disarm events into AP_Arming base class
5 years ago
Peter Barker
3b8a2fb262
AP_Arming: log arming
5 years ago
Andy Piper
c16c60a761
AP_Arming: add camera arming checks
5 years ago
Oliver Walters
2e0d2e2db0
AP_Arming: added support for Piccolo CAN ESCs
5 years ago
Peter Barker
b3f87768e2
AP_Arming: tpyo fix in parameter documentation
5 years ago
Randy Mackay
356ece6682
AP_Arming: add pre-arm system check that scripting init succeeded
5 years ago
Randy Mackay
4bcf66481f
AP_Arming: add mandatory_checks
...
These are checks that can never be bypassed
5 years ago
Randy Mackay
f71e55e368
AP_Arming: add mission and rangefinder to param desc
5 years ago
Randy Mackay
b796ac93f0
AP_Arming: add terrain init check to system checks
5 years ago
Peter Barker
64281eee60
AC_Arming: adjust for proximity status namespace change
5 years ago
Peter Barker
f4433773be
AP_Arming: adjust for rename of AP_UAVCAN_Server to AP_UAVCAN_DNA_Server
5 years ago
Siddharth Purohit
9b2c060cc5
AP_Arming: add support for reporting UAVCAN Server errors
5 years ago
Peter Barker
5428d13502
AP_Arming: remove bogus ARMING_CHECK_NONE 'bitmask value'
...
This looks like a bitmask value, but if you treat it like one (and
people have in the past!) by using logical operations then you get the
incorrect result.
Places which were checking for equivalence to ARMING_CHECK_NONE now
simply check the bitmask to see if it is all-empty.
5 years ago
Michael du Breuil
d8bce8295e
AP_Arming: Directly include needed headers
6 years ago
Randy Mackay
2bfc26621a
AP_Arming: resolve check_failed compiler warning
6 years ago
Michael du Breuil
4396540a22
AP_Arming: Add rangefinder checks
6 years ago
Michael du Breuil
4b2cb45ac0
AP_Arming: Cope with new AP_GPS::first_unconfigured_gps
6 years ago
Peter Barker
bca411b2c4
AP_Arming: reduce length of internal errors errorstring prefix
...
MissionPlanner's HUD requires a short string for this to be useful
6 years ago
Peter Barker
84eff51539
AP_Arming: remove stray comment on removed parameter
...
Almost certainly a rebase issue
6 years ago
Michael du Breuil
eeca59d1ef
AP_Arming: Include needed AP_Baro.h
6 years ago
Andrew Tridgell
8fc8bc4d84
AP_Arming: notify logging system of an arming failure
6 years ago
Michael du Breuil
c70107cabb
AP_Arming: Fix AP_GPS.h include
6 years ago
Peter Barker
bb14ec1a2c
AP_Arming: make proximity sensor checks common
6 years ago
Peter Barker
1c4b5b0d73
AP_Arming: move arm status statustext messages back into vehicles
...
Not all vehicle maintainers like having these emitted as part of normal
operations.
6 years ago
Peter Barker
61a2be1470
AP_Arming: change arm and disarm to account for Copter now using them
6 years ago
Peter Barker
84b16ea3dd
AP_Arming: move check for ARMING_CHECK_NONE back into relevant vehicles
...
Plane and Rover allow all prearm and arm checks to be bypassed with
ARMING_CHECK_NONE. Not all vehicles allow this, so move this bypass
back into Plane and Rover.
6 years ago
Peter Barker
aff6cb424f
AP_Arming: move Log_Write_Arm_Disarm in, make disarm virtual
6 years ago
Peter Barker
d384827291
AP_Arming: add singleton
6 years ago
Peter Barker
776c111d3c
AP_Arming: do not permit arming if any internal errors have occured
6 years ago
Peter Barker
45ebbf2877
AP_Arming: correct check against ARMING_CHECK_NONE
...
As opposed to all of the other ARMING_CHECK values this one isn't
actually a mask
6 years ago
Pierre Kancir
6397cb0c0e
AP_Arming: use get_distance instead of location_diff
6 years ago
Michael du Breuil
63fcd23f7b
AP_Arming: Include AP_Logger directly
6 years ago
Tom Pittenger
4178ef98ba
AP_Arming: rename dataflash to logger
6 years ago
Peter Barker
0dacf78c12
AP_Arming: use enum class for ArmingMethod and ArmingRequired
6 years ago
Peter Barker
7bdd2eb755
AP_Arming: move checking of fence up
6 years ago