Randy Mackay
304a23923a
AP_Arming: add Bitmask parameter description
...
Also moved ARMING_CHECK to standard category
9 years ago
Randy Mackay
0cc4b6977e
AP_Arming: add compass consistency check
...
Also moved the offsets and mag field limits into definitions at top of
.cpp file
9 years ago
Randy Mackay
342651cc9b
AP_Arming: add board voltage checks
9 years ago
Randy Mackay
f5f31e4b31
AP_Arming: move ahrs health check after Accel/Gyro checks
...
If the AHRS is unhealthy because of accel or gyro problems we want those underlying problem reported first
9 years ago
Randy Mackay
0a21fe65e9
AP_Arming: do not report prearm_failure_reason when ahrs unhealthy
...
The EKF's prearm failiure message is more related to the position estimate rather than the ahrs's health
9 years ago
Randy Mackay
78c6287f95
AP_Arming: check health of all barometers
9 years ago
Randy Mackay
c716bfce88
AP_Arming: remove most exclamation marks
9 years ago
Randy Mackay
6b91beb3ff
AP_Arming: formatting changes
9 years ago
Gustavo Jose de Sousa
9a2808a593
AP_Arming: use compass get_{field,offsets}() functions
...
Both functions are equivalent, so we're going to simply use
get_{field,offsets}() instead of get_{field,offsets}_milligauss().
9 years ago
Grant Morphett
4f01aaf5e3
AP_Arming: fixing up some ARMING_CHECK param doco
9 years ago
Randy Mackay
73e7e64bb8
AP_Arming: remove unused set_skip_gyro_cal
10 years ago
Staroselskii Georgii
375724b319
Arming: use milligauss as compass units
10 years ago
Andrew Tridgell
7e13edd4c7
AP_Arming: use prearm_failure_reason()
10 years ago
Andrew Tridgell
b65739a8cc
AP_Arming: added severities to send_statustext_all
10 years ago
Andrew Tridgell
c48bef1552
AP_Arming: removed the need for the GCS print function
10 years ago
Grant Morphett
3b1844d5c9
AP_Arming: Moved the plane centric arming code into plane
...
Needed to move the plane centric arming code out of the AP_Arming
library and into the plane vehicle code.
10 years ago
Siddharth Bharat Purohit
6a603eb594
Compass_cal: implement the concept of auto and mandatory user reboot after cal
10 years ago
squilter
ddda407ff3
AP_Arming: update severities
10 years ago
Gustavo Jose de Sousa
597562c69c
AP_Arming: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Andrew Tridgell
54254c89d7
AP_Arming: control rudder arming with ARMING_RUDDER parameter
...
allow for 3 states:
0: no rudder arming
1: arm only
2: arm and disarm
10 years ago
Andrew Tridgell
69cfe11455
AP_Arming: raise accel arming threshold to 0.75
...
arming issues due to accel inconsistency are too common
10 years ago
Andrew Tridgell
2de8c26c06
AP_Arming: allow pre_arm_checks() to be subclassed
...
this allows for vehicle specific arming checks
10 years ago
Lucas De Marchi
ca7db5cdc1
AP_Arming: use functor macros
...
Functor is not yet being used but let's make is macro fallback to the
previous Delegate implementation for easy of transition between the two.
10 years ago
Andrew Tridgell
c3aa8d67fa
AP_Arming: convert to delegates
10 years ago
Randy Mackay
e080b2acce
AP_Arming: use accel_calibrated_ok_all
10 years ago
Andrew Tridgell
2552acbf12
AP_Arming: fixed accel cal test in arming
...
use a per-imu time of last cal pass, and triple accel threshold for
IMU3. Raise threshold to 0.5 for IMU1/IMU2
10 years ago
Tom Pittenger
8f11507594
Arming: fix compile warnings re float constants
10 years ago
Andrew Tridgell
5acc4c333b
AP_Arming: accept accel/gyro if OK in last 10 seconds
...
this should prevent short periods of movement from triggering arming
status change alarms
10 years ago
Randy Mackay
0344ec5d89
Arming: remove GPS glitch checks
10 years ago
Andrew Tridgell
e0a0c3afcf
AP_Arming: default to arming required
10 years ago
Andrew Tridgell
4deb136bb0
AP_Arming: require 3D accel cal always
10 years ago
Andrew Tridgell
3a51bac0d0
AP_Arming: use new enum for home_is_set
10 years ago
Andrew Tridgell
4ecd99eb76
AP_Arming: added check for logging available
...
this is used for refusing to fly without microSD inserted
10 years ago
Andrew Tridgell
cabf21194a
AP_Arming: improved docs
10 years ago
Andrew Tridgell
a2adb9b1b0
AP_Arming: check for AHRS health and calibration for arming
10 years ago
Andrew Tridgell
a37f3680e4
AP_Arming: support skip_gyro_cal
...
also break up arming INS reports, to be clearer for users
10 years ago
Andrew Tridgell
765d833efa
AP_Arming: check compass.use_for_yaw()
10 years ago
Andrew Tridgell
850b3b89ea
AP_Arming: added INS checks and airspeed checks
...
this also displays all failing arming checks, not just the first
one. That is more useful for the user
10 years ago
squilter
cab2010a8f
AP_Arming: remove abbreviations from GCS messages
10 years ago
Randy Mackay
280db8725a
Arming: use baro healthy() function
11 years ago
Randy Mackay
fa2f5d9c68
Arming: accept non-const compass in constructor
...
The compass.configured() method checks the eeprom and cannot be const
meaning the Arming object requires a non-const reference to the compass.
Removed check for null compass because the compass object is always
created although this could lead to unnecessary pre-arn check failures
even though compass-use is set to false.
11 years ago
Randy Mackay
76369d153f
Arming: use compass.configured method
...
This checks that when compass offset learning is off, that the offsets
are non-zero and that the detected device id matches the device id
stored to eeprom when the offsets were last saved.
11 years ago
Andrew Tridgell
b7a2db716b
AP_Arming: convert to new GPS API
11 years ago
Andrew Tridgell
8f3071b1b8
AP_Arming: more detail in ARMING_CHECK docs
11 years ago
Andrew Tridgell
aae0e3c0e5
AP_Arming: allow checking of pre-arm without reporting
...
useful for updating AP_Notify LEDs
11 years ago
Don Gagne
1db3c6e688
AP_Arming: param doc fixes
...
These were confusing the parser, or just incorrect
11 years ago
Andrew Tridgell
f12dd85e1b
AP_Arming: make enum values clearer
11 years ago
Andrew Tridgell
4a77a944fa
AP_Arming: make it possible to change ARMING_REQUIRED without a reboot
11 years ago
Andrew Tridgell
89bbf5de3a
AP_Arming: fixed public/private split
11 years ago
Andrew Tridgell
24658197ff
AP_Arming: fixed build
11 years ago