Michael du Breuil
7830dab0a8
AP_Arming: Add a servo check that (<= min trim max) for all channels
7 years ago
Peter Barker
cc5af90d1a
AP_Arming: home state has moved to AP_AHRS
7 years ago
Peter Barker
8d8f2208c0
AP_Arming: use baro singleton
7 years ago
Peter Barker
25a0e6378e
AP_Arming: manual transmitter checks call rc calibration checks
7 years ago
Peter Barker
49dd5f4f80
Copter: prearm board voltage checks are called in parent class
7 years ago
Peter Barker
30c1a040d7
Copter: prearm baro checks are called in parent class
7 years ago
Lucas De Marchi
39aee74b29
AP_Arming: make constructor protected
7 years ago
Jacob Walser
b8e7d23cc4
AP_Arming: Add bool check_min_max parameter for Copter/Sub RC checks
8 years ago
Peter Barker
b2459c67d5
AP_Arming: move Copter RC checking code into library
8 years ago
Randy Mackay
e398bb5c68
AP_Arming: make gps-checks virtual
...
Copter's GPS checks will override this
8 years ago
Randy Mackay
d35a208dae
AP_Arming: remove unused set_enabled_checks
8 years ago
Randy Mackay
34a850e1a5
AP_Arming: formatting and comment fixes
...
No functional change
8 years ago
Randy Mackay
593f035c53
AP_Arming: remove required, min-volt, min-volt2 params from Copter
8 years ago
Randy Mackay
5be3d14648
AP_Arming: rudder_arming moved to AP_Arming_Plane
8 years ago
Peter Barker
1f37366c5b
AP_Arming: make expected magnetic field strength available to subclasses
8 years ago
Peter Barker
362c6e1b9e
AP_Arming: use callback in place of variable reference for home state
8 years ago
Peter Barker
fff2068a5a
AP_Arming: add arming check for logging actually started
8 years ago
Peter Barker
5776b3fddb
AP_Arming: check CardInserted in AP_Arming
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Lucas De Marchi
39f39afa7b
AP_Arming: replace header guard with pragma once
9 years ago
Tom Pittenger
425c9bcd0b
AP_Arming: use AP_BATT_MONITOR_MAX_INSTANCES instead of fixed array size
9 years ago
Michael du Breuil
21bdf32d33
AP_Arming: Add minimum voltage to arm
9 years ago
Tom Pittenger
7e4ae39b8e
AP_Arming: fixed GPS_CFG mask bug
9 years ago
Michael du Breuil
18f55eccea
AP_Arming: Add GPS configuration checks to arming
9 years ago
Tom Pittenger
841f34effa
AP_Arming: add param for accel error threshold
...
This is the threshold error to determine inconsistent accelerometers.
9 years ago
Michael du Breuil
52666232ed
AP_Arming: Allow arming without the hardware safety switch having been pressed
...
Added an enum to the check type that allows for arming without the hardware switch having been enabled
9 years ago
Randy Mackay
53b39b201b
AP_Arming: make ins check virtual
9 years ago
Randy Mackay
342651cc9b
AP_Arming: add board voltage checks
9 years ago
Randy Mackay
6b91beb3ff
AP_Arming: formatting changes
9 years ago
Randy Mackay
73e7e64bb8
AP_Arming: remove unused set_skip_gyro_cal
10 years ago
Andrew Tridgell
c48bef1552
AP_Arming: removed the need for the GCS print function
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
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
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
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
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
a37f3680e4
AP_Arming: support skip_gyro_cal
...
also break up arming INS reports, to be clearer for users
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
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
Andrew Tridgell
aae0e3c0e5
AP_Arming: allow checking of pre-arm without reporting
...
useful for updating AP_Notify LEDs
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
Michael Day
ebf1d9c136
AP_Arming: First commit of AP_Arming library.
...
Intended to prevent unintentional motor startups.
11 years ago