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
Peter Barker
12981b1f07
AP_Arming: correct use of failure messages as format strings
...
This is important as if the returned string happens to contain
substitutions (%s in particular), we can attempt to pull random data
off the stack and incorporate it in the string.
This sort of bug is rather famous for serious explots in sendmail.
This could be bad if your stack is relatively full and the memory after
it is inaccessible.
6 years ago
Randy Mackay
26fd334882
AP_Arming: provide better feedback on attitude check
6 years ago
Randy Mackay
b805c40bf7
AP_Arming: add ahrs attitude check
6 years ago
Randy Mackay
72fabb5cd3
AP_Arming: always run compass calibration checks
6 years ago
Tom Pittenger
13f0ad8a1c
AP_Arming: unify singleton naming to _singleton and get_singleton()
6 years ago
Nigel Williams
b2c5d7f04a
AP_Arming: Make logging check consider "turned off" as valid
...
When ARMING_CHECKS has ARMING_CHECK_LOGGING, consider having no
logging backend to be valid.
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Francisco Ferreira
de1d02d697
AP_Arming: support KDECAN
6 years ago
Michael du Breuil
c4ff1f4307
AP_Arming: Allow disarming to force the safety switch
6 years ago
Pierre Kancir
1bd9b61bf6
AP_Arming: const correctness
6 years ago
Pierre Kancir
dd2798d099
AP_Arming: remove unused parameter and variable
6 years ago
Pierre Kancir
0800f72377
AP_Arming: untangle header inclusion
6 years ago
Michael du Breuil
c3de3cc923
AP_Arming: Add checks that the mission contains expected items
6 years ago
Michael du Breuil
ad01d345d1
AP_Arming: Fix badly formatter airspeed message
6 years ago
Randy Mackay
e702ca7202
AP_Arming: resolve compiler warning
6 years ago
Michael du Breuil
e56f12b68e
AP_Arming: Add servo voltage check, paramertise the Vcc check
6 years ago
Andrew Tridgell
8d5b9521ad
AP_Arming: added IOMCU health check
6 years ago
Peter Barker
21eacc5e31
AP_Arming: account for snprintf now null-terminating strings
6 years ago
Andrew Tridgell
b1928d959b
AP_Arming: fixed build warnings
6 years ago
Michael du Breuil
a8741f62f9
AP_Arming: Use AP_BattMonitor's arming checks for the battery
6 years ago
Randy Mackay
ba2b9f3d47
AP_Arming: add RUDDER parameter
7 years ago
Peter Barker
f258a25138
AP_Arming: remove double PreArm: in battery prearm report
...
Also use check_failed throughout
7 years ago
Francisco Ferreira
62a4f08e12
AP_Arming: fix system check
7 years ago
Peter Barker
eaefdcfac2
AP_Arming: remove min-max-configured pre-arm checks
7 years ago
Peter Barker
1eacd685e3
AP_Arming: use rc() method to get rc singleton
7 years ago
Andrew Tridgell
787493277e
AP_Arming: only check trim on valid channel count
7 years ago
Andrew Tridgell
9ca2c11333
AP_Arming: use check_enabled() in storage check
7 years ago
Andrew Tridgell
bf1bca6820
AP_Arming: added arming check for storage health
7 years ago
Peter Barker
e400a0e351
AP_Arming: use ArmingMethod enumeration
7 years ago
Peter Barker
6979f0d3a0
AP_Arming: remove unused arming_method member
7 years ago
Peter Barker
598f82a2fe
AP_Arming: use singletons in AP_Arming
7 years ago
Peter Barker
5d1d435451
AP_Arming: add type-correctness for is-armed check
...
Also, correct the constant we're testing against
7 years ago
Peter Barker
72d7181e0d
AP_Arming: remove pointless initialisations
...
These are part of a static object
7 years ago
Peter Barker
e3dc408295
AP_Arming: move copter-specific code into Copter subclass
7 years ago
Michael du Breuil
d977ca091a
AP_Arming: Correct an edge case that would not run compass checks
7 years ago
Peter Barker
cba61598b1
AP_Arming: a check_failed function
7 years ago
Peter Barker
997a527c1b
AP_Arming: cache results of get_gyro_count and get_accel_count
7 years ago
Peter Barker
4055256878
AP_Arming: cache AP_HAL_millis
7 years ago
Peter Barker
410e72f83c
AP_Arming: break out a gyros-consistent method
7 years ago
Peter Barker
d2b8ea4bb0
AP_Arming: break out an accels-consistent method
7 years ago
Peter Barker
d8128ba69a
AP_Arming: option to force arm, bypassing checks
7 years ago
Michael du Breuil
81e453dee3
AP_Arming: Restrict GPS/AHRS difference to a 2D solution
7 years ago