Randy Mackay
2bfc26621a
AP_Arming: resolve check_failed compiler warning
2019-08-08 12:53:51 +09:00
Peter Barker
95b8c12454
AP_Arming: mark check_failed as taking a format string
2019-08-05 14:18:05 +10:00
Michael du Breuil
4396540a22
AP_Arming: Add rangefinder checks
2019-07-30 10:42:16 +10:00
Michael du Breuil
4b2cb45ac0
AP_Arming: Cope with new AP_GPS::first_unconfigured_gps
2019-07-30 10:12:43 +10:00
Michael du Breuil
5d3cfcb59c
AP_Arming: Add scripting method
2019-07-23 10:05:29 +09:00
Peter Barker
bca411b2c4
AP_Arming: reduce length of internal errors errorstring prefix
...
MissionPlanner's HUD requires a short string for this to be useful
2019-07-12 18:39:06 +10:00
Peter Barker
84eff51539
AP_Arming: remove stray comment on removed parameter
...
Almost certainly a rebase issue
2019-07-02 10:03:41 +10:00
Michael du Breuil
eeca59d1ef
AP_Arming: Include needed AP_Baro.h
2019-06-27 14:56:21 +10:00
Andrew Tridgell
8fc8bc4d84
AP_Arming: notify logging system of an arming failure
2019-06-21 11:40:53 +10:00
Michael du Breuil
c70107cabb
AP_Arming: Fix AP_GPS.h include
2019-06-18 10:02:05 +10:00
Peter Barker
bb14ec1a2c
AP_Arming: make proximity sensor checks common
2019-06-04 08:45:34 +09:00
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.
2019-05-30 07:37:30 +09:00
Peter Barker
61a2be1470
AP_Arming: change arm and disarm to account for Copter now using them
2019-05-30 07:37:30 +09:00
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.
2019-05-30 07:37:30 +09:00
Peter Barker
aff6cb424f
AP_Arming: move Log_Write_Arm_Disarm in, make disarm virtual
2019-05-30 07:37:30 +09:00
Peter Barker
d384827291
AP_Arming: add singleton
2019-05-30 07:37:30 +09:00
Peter Barker
776c111d3c
AP_Arming: do not permit arming if any internal errors have occured
2019-04-25 13:05:18 +10:00
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
2019-04-25 13:05:18 +10:00
Andrew Tridgell
9c6c4101c9
AP_Arming: make arm_checks() virtual
...
# Conflicts:
# libraries/AP_Arming/AP_Arming.h
2019-04-22 16:53:35 +10:00
Pierre Kancir
6397cb0c0e
AP_Arming: use get_distance instead of location_diff
2019-04-08 08:00:52 -07:00
Michael du Breuil
63fcd23f7b
AP_Arming: Include AP_Logger directly
2019-04-05 20:12:53 +11:00
Tom Pittenger
4178ef98ba
AP_Arming: rename dataflash to logger
2019-03-28 16:40:57 +11:00
Peter Barker
0dacf78c12
AP_Arming: use enum class for ArmingMethod and ArmingRequired
2019-03-12 19:48:14 +11:00
Peter Barker
7bdd2eb755
AP_Arming: move checking of fence up
2019-03-08 08:57:27 +09:00
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.
2019-03-07 14:44:26 +11:00
Randy Mackay
26fd334882
AP_Arming: provide better feedback on attitude check
2019-03-07 09:34:39 +09:00
Randy Mackay
b805c40bf7
AP_Arming: add ahrs attitude check
2019-02-22 13:00:07 +09:00
Randy Mackay
72fabb5cd3
AP_Arming: always run compass calibration checks
2019-02-22 13:00:07 +09:00
Tom Pittenger
13f0ad8a1c
AP_Arming: unify singleton naming to _singleton and get_singleton()
2019-02-10 19:09:58 -07:00
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.
2019-01-30 19:12:01 +11:00
Michael du Breuil
1b2b7385a2
AP_Arming: Reduce header scope, remove width specifier
2019-01-25 09:47:17 +09:00
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
2019-01-18 18:08:20 +11:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Francisco Ferreira
de1d02d697
AP_Arming: support KDECAN
2019-01-18 00:57:33 +00:00
Michael du Breuil
c4ff1f4307
AP_Arming: Allow disarming to force the safety switch
2019-01-15 08:59:25 +11:00
Pierre Kancir
1bd9b61bf6
AP_Arming: const correctness
2019-01-11 08:38:53 +09:00
Pierre Kancir
dd2798d099
AP_Arming: remove unused parameter and variable
2019-01-11 08:38:53 +09:00
Pierre Kancir
0800f72377
AP_Arming: untangle header inclusion
2019-01-11 08:38:53 +09:00
Michael du Breuil
c3de3cc923
AP_Arming: Add checks that the mission contains expected items
2019-01-08 10:39:50 +11:00
Michael du Breuil
ad01d345d1
AP_Arming: Fix badly formatter airspeed message
2018-12-18 10:11:22 +11:00
Randy Mackay
e702ca7202
AP_Arming: resolve compiler warning
2018-11-14 20:40:46 +09:00
Michael du Breuil
e56f12b68e
AP_Arming: Add servo voltage check, paramertise the Vcc check
2018-11-12 23:29:04 +00:00
Andrew Tridgell
8d5b9521ad
AP_Arming: added IOMCU health check
2018-11-07 07:35:45 +11:00
Peter Barker
21eacc5e31
AP_Arming: account for snprintf now null-terminating strings
2018-10-21 07:54:30 +11:00
Andrew Tridgell
b1928d959b
AP_Arming: fixed build warnings
2018-10-17 12:54:22 +11:00
Michael du Breuil
a8741f62f9
AP_Arming: Use AP_BattMonitor's arming checks for the battery
2018-10-09 00:44:46 +01:00
Randy Mackay
7a7533724a
AP_Arming: rename rudder_arming to get_rudder_arming_type
2018-09-11 19:34:39 +10:00
Randy Mackay
f039c6d5f4
AP_Arming: minor format fix
2018-09-11 19:34:39 +10:00
Randy Mackay
ba2b9f3d47
AP_Arming: add RUDDER parameter
2018-09-11 19:34:39 +10:00
Peter Barker
f258a25138
AP_Arming: remove double PreArm: in battery prearm report
...
Also use check_failed throughout
2018-08-27 11:12:52 +09:00