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
8159c4b747
AP_Arming: add comments on parameters only currently used by plane
8 years ago
Peter Barker
362c6e1b9e
AP_Arming: use callback in place of variable reference for home state
8 years ago
murata
86e495f415
AP_Arming: Do not set check results each time.
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
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
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
Matthew Brener
06388b0417
Global: Fix typos
9 years ago
Andrew Tridgell
bb65f4df76
AP_Arming: use HAL defined compass offset max if available
9 years ago
Andrew Tridgell
9df58e1e0a
AP_Arming: don't show the GPS arming error in SITL
...
it just makes users think something is wrong
9 years ago
Tom Pittenger
8939c5308f
AP_Arming: check actual battery instances then max possible instances
9 years ago
Tom Pittenger
ae91804aaa
AP_Arming: updated comment for z-axis accel threshold
9 years ago
Tom Pittenger
ebd993dabb
AP_Arming: updated z-axis accel threshold comment
9 years ago
Jonathan Challinger
0281b948df
AP_Arming: loosen accelerometer consistency check on Z axis
...
Original author @jschall via 88f5d9f858
9 years ago
Ricardo de Almeida Gonzaga
f6ad89103c
AP_Arming: Fix typos
9 years ago
Michael du Breuil
bd6aa982e7
AP_Arming: Fetch GPS configuration failure reason
9 years ago
Andrew Tridgell
692e042eac
AP_Arming: set AP_PARAM_NO_SHIFT
9 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
Tom Pittenger
5872512d85
AP_Arming: added more info to battery arming failure
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
Andrew Tridgell
b76aff2dcb
AP_Arming: allow unconfigured GPS in SITL arming checks
...
the SITL GPS does not implement the needed protocol negotiation
9 years ago
Michael du Breuil
18f55eccea
AP_Arming: Add GPS configuration checks to arming
9 years ago
Andrew Tridgell
bc5210d6f2
AP_Arming: don't reporting IMU inconsistencies if IMU not enabled
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
Jonathan Challinger
1482614a7d
AP_Arming: add accel cal requires reboot
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
Luis Vale Gonçalves
e9ba768bae
AP_Arming: libraries_Text_revision
...
text revision of messages
9 years ago
Caio Marcelo de Oliveira Filho
b8f0beab83
AP_Arming: use millis/micros/panic functions
9 years ago
lvale
b601ef2f9e
AP_Arming: status text severity to INFO
9 years ago
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
Lucas De Marchi
3114a988f8
AP_Arming: remove check for max INS instances
...
For all supported boards the maximum number of instances is 3.
9 years ago
Randy Mackay
09aef3a3b8
AP_Arming: remove ahrs check from ins
9 years ago
Randy Mackay
53b39b201b
AP_Arming: make ins check virtual
9 years ago
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