Peter Barker
80c79f1529
AP_Arming: only require AP_RALLY_ENABLED if MIS_ITEM_CHECK_RALLY
...
It's OK to not have AP_RALLY_ENABLED if the user isn't requiring that a rally point be avaiable. i.e. if the user is requesting that there be a landing point that doesn't infer rally must be compiled in!
2023-01-03 11:04:44 +11:00
Peter Barker
ed642df063
AP_Arming: add required AP_Relay.h include
2023-01-03 10:19:54 +11:00
Randy Mackay
624e731ca5
AP_Arming: correct prefix is ahrs is waiting for home
2022-12-15 10:55:47 +09:00
Randy Mackay
76ef43ddf0
AP_Arming: only compare AHRS vs GPS if GPS is enabled
2022-12-15 10:55:47 +09:00
Randy Mackay
6bc3fcd294
AP_Arming: minor format fix
2022-12-15 10:55:47 +09:00
Randy Mackay
014c8a79e6
AP_Arming: add system check of main loop rate
2022-12-06 11:00:51 +11:00
Andrew Tridgell
6a5fb54b04
AP_Arming: update docs for new THR_MIN behaviour on plane
2022-11-14 11:14:09 +11:00
Peter Barker
af511af77f
AP_Arming: change namespace of MultiCopter and FixedWing params
...
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Andy Piper
c1fbdd5972
AP_Arming: allow sketches to use AP_Arming without OpenDroneID
2022-11-09 19:01:14 +11:00
Peter Barker
410a4ccaff
AP_Arming: tidy includes
2022-11-08 09:49:19 +11:00
Peter Barker
c023575ee8
AP_Arming: include required AP_Vehicle_Type header
2022-11-02 18:35:48 +11:00
Henry Wurzburg
8f67e9b69f
AP_Arming: move multiple RC input error to pre-arm failure
2022-10-25 11:34:13 +11:00
Iampete1
623501d0d5
AP_Arming: allow scripting channels to be disabled
2022-10-25 11:02:21 +11:00
Andrew Tridgell
b96677c70d
AP_Arming: use baro arming checks call
2022-10-22 08:15:36 +11:00
Tom Pittenger
a54d785df3
AP_Arming: wrap compass cal function calls with COMPASS_CAL_ENABLED
2022-10-11 11:20:50 +11:00
Peter Barker
0060999e69
AP_Arming: correct compilation with rally disabled
2022-09-27 10:16:47 +10:00
Luiz Georg
f6858c59e8
AP_Arming: add check for RTL
2022-09-19 19:36:42 -04:00
Peter Barker
4fc4e7c532
AP_Arming: add and use AP_RPM_ENABLED
...
... and backend-specific equivalents
2022-09-20 09:28:27 +10:00
Michael du Breuil
98c4f1b323
AP_Arming: Expose ARMING_OPTIONS to all vehicles
2022-09-13 11:18:22 +10:00
Iampete1
c5c09860da
AP_Arming: move scripting checks to scripting
2022-08-31 17:04:24 +10:00
rishabsingh3003
7cd77f266e
AP_Arming: shift pre-arm check to AP_Proximity
2022-08-24 18:26:27 +10:00
Andrew Tridgell
3fdae69413
AP_Arming: allow arming with BRD_IO_ENABLE=0
2022-08-23 10:46:29 +10:00
Peter Barker
a4186f6884
AP_Arming: remove intermediate method check_severity
...
this was using an undeclared dependency on GCS_MAVLINK.h
2022-08-16 09:45:51 +10:00
Peter Barker
6709c6d72d
AP_Arming: rename contains_terrain_relative->contains_terrain_alt_items
...
can we rename "constains_terrain_relative" to "contains_terrain_alt"? No big deal of course but "terrain_alt" is what we use in Copter so it's more likely to show up in searches.
2022-08-10 18:04:22 +10:00
Joshua Henderson
ed47b10e0c
AP_Arming: add OpenDroneID Mandatory Arming Check
2022-08-09 14:37:08 +10:00
Peter Barker
96ef34acac
AP_Arming: move terrain prearm checks to AP_Terrain
2022-08-09 14:31:14 +10:00
Peter Barker
3bcd4fa22a
AP_Arming: make terrain checks common between Copter and Plane
2022-08-09 14:31:14 +10:00
Peter Barker
f5a8561fde
AP_Arming: display 'Arm: ' instead of 'PreArm: ' for arming failures
...
Before this patch we would display PreArm: even if the checks were being performed as part of the arming sequence.
This lets us distinguish betwee checks failing because the user is trying to arm the vehicle and when the prearms are running while disarmed (or triggered via GCS)
2022-08-09 10:18:52 +10:00
Peter Barker
b468c49a39
AP_Arming: use prearm-display-timeout in milliseconds instead of counter
2022-08-03 17:12:51 +10:00
Peter Barker
e89f4ea599
AP_Arming: add prearm check that we are using configured AHRS type
2022-07-28 15:53:13 +10:00
Iampete1
58d244d7a3
AP_Arming: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
b3d0d4f33d
AP_Arming: fix complation without fence
2022-07-27 19:04:56 +10:00
bugobliterator
527f956786
AP_Arming: add support for separate dna_server instances for AP_UAVCAN
2022-07-27 18:18:03 +10:00
Peter Barker
f77d1812b8
AP_Arming: record only aggregate sensor consistency check times
...
All used sensors must be consistent with the primary sensor for 10 seconds, so we don't need to record times individually
2022-07-19 12:27:26 +10:00
Andrew Tridgell
2318c0e505
AP_Arming: added Scripting2 CAN protocol to switch
2022-07-03 08:21:55 +10:00
Randy Mackay
a47ac7430b
AP_Arming: add mount pre-arm check
2022-06-21 13:37:11 +09:00
Andy Piper
24e47ea08d
AP_Arming: make sure FFT gets initialized when arming checks are off
2022-06-14 10:09:18 +10:00
Randy Mackay
d503246be2
AP_Arming: remove ToshibaCAN support
2022-06-10 12:08:05 +09:00
Randy Mackay
86eea9468a
AP_Arming: add DEADRECKON_FAILSAFE disarm reason
2022-05-25 20:05:21 +09:00
Peter Barker
53e8ab6af8
AP_Arming: run prearm checks on all vehicles @1Hz, displaying @0.0333Hz
2022-05-18 12:25:26 +09:00
Tatsuya Yamaguchi
e18d95f704
AP_Arming: mark ARMING_OPTIONS as copter only
2022-05-10 09:35:11 +10:00
Peter Barker
8dcc2e969f
AP_Arming: tidy includes
2022-05-03 09:14:58 +10:00
Tatsuya Yamaguchi
073683cc69
AP_Arming: remove ARMING_CHECK_ALL bit check from disarm_switch_checks
2022-04-27 09:36:36 +09:00
Tatsuya Yamaguchi
02f966a35d
AP_Arming: add ARMING_OPTIONS param
2022-04-27 09:36:36 +09:00
Randy Mackay
902b895aef
AP_Arming: add pre-arm check of disabled servo channels
2022-04-25 15:55:54 +09:00
Andrew Tridgell
ddab3f02ca
AP_Arming: use HarmonicNotch class
2022-04-19 09:39:03 +10:00
Andrew Tridgell
ae1e9e06c1
AP_Arming: added arming check for conflicting notch modes
2022-04-19 09:39:03 +10:00
Peter Barker
c09f56112e
AP_Arming: move logging of RPM into RPM library
2022-04-13 16:22:19 +10:00
Andrew Tridgell
ed8f028359
AP_Arming: setup for terrain adjustment on arming
2022-03-28 16:01:21 +11:00
Andrew Tridgell
92a8964503
AP_Arming: display a warning if arming checks disabled when arming
2022-03-17 06:52:47 +11:00
Andrew Tridgell
bd68dc6a51
AP_Arming: make mission checks virtual
2022-03-14 09:52:41 +11:00
Iampete1
ea442dae1e
AP_Arming: don't arming check servo functions set to GPIO
2022-03-08 11:16:42 +11:00
Peter Barker
7f74714107
AP_Arming: include cleanups
2022-03-01 11:21:33 +11:00
Peter Barker
e7e95f5990
AP_Arming: rename AP_AHRS::get_position to get_location
2022-01-25 10:47:22 +11:00
Josh Henderson
f38c5d9c31
AP_Arming: add define AP_AIRSPEED_ENABLED
2022-01-19 18:21:32 +11:00
Peter Barker
ee7e652367
AP_Arming: fix memory leak logging files at startup
2022-01-11 14:18:14 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
d7c2331664
AP_Arming: fix comment (NFC)
2022-01-06 09:15:54 +11:00
Shiv Tyagi
814e0f9cac
AP_Arming: remove Driver_Type_MPPT_PacketDigital from CAN checks
...
we have removed AP_BattMonitor_MPPT_PacketDigital, hence this should be removed too
2021-12-17 20:24:25 +09:00
Andrew Tridgell
9e86629800
AP_Arming: log @SYS/storage.bin
...
this allows for reproduction of tricky issues involving the exact data
in storage
2021-12-15 08:01:38 +11:00
Andrew Tridgell
a8eed76f61
AP_Arming: log @SYS/crash_dump.bin
2021-12-15 08:01:38 +11:00
Andrew Tridgell
5fe5d3a3d3
AP_Arming: support Benewake CAN
2021-11-30 09:49:20 +11:00
Peter Barker
e1b32d16b7
AP_Arming: rename HAL_AP_FETTEC_ONEWIRE_ENABLED to AP_FETTEC_ONEWIRE_ENABLED
2021-11-24 12:01:22 +11:00
Peter Barker
a729ba165e
AP_Arming: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
c153225ccf
AP_Arming: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Iampete1
f7a788dc44
AP_Arming: add rc_in_calibration_check to manual_transmitter_checks and mandatory_checks
2021-11-02 10:05:07 +11:00
Andrew Tridgell
50f9d2601f
AP_Arming: log key @SYS files on arming
2021-10-30 16:44:00 +11:00
Andy Piper
62825ee44f
AP_Arming: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI
2021-10-26 11:42:12 +11:00
Peter Barker
2bffaef9ca
AP_Arming: log whether disarm was forced
2021-10-20 19:45:58 +11:00
Andy Piper
73b0a212f7
AP_Arming: FFT prearm should not be dependent on INS prearm
2021-10-20 18:16:05 +11:00
Iampete1
55a6b731a8
AP_Arming: add min heater temp check
2021-10-19 11:16:45 +11:00
Gone4Dirt
4421e4a842
AP_Arming: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Peter Barker
d9844cc75a
AP_Arming: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Iampete1
1e5b9e487b
AP_Arming: set force disarmed logging for all the nasty disarm reasons
2021-09-08 18:26:40 +10:00
Iampete1
7ada4a0d5a
AP_Arming: logger: fail check if downloading logs
2021-09-08 17:38:48 +10:00
Iampete1
8d669f7616
AP_Arming: update primary GPS type 0 string
2021-09-01 17:51:31 +10:00
Iampete1
ce56bfe786
AP_Arming: check status and health of all GPS
2021-08-31 09:13:57 +10:00
Peter Barker
4ae3ad555d
AP_Arming: add and use HAL_BUTTON_ENABLE
2021-08-25 19:03:42 +10:00
Peter Barker
5613610641
AP_Arming: remove redundant checks_to_perform check
...
This is identical to the check just above it
2021-08-23 08:51:38 +09:00
Iampete1
60e0f47918
AP_Arming: always check configured on copter and blimp
2021-08-18 18:30:51 +10:00
Peter Barker
2cf22112a2
AP_Arming: call fettec prearm checks
2021-08-13 16:22:37 +10:00
Iampete1
432793a18a
AP_Arming: support scripting CAN driver
2021-07-27 09:04:17 +10:00
Andrew Tridgell
d95f6c8c2f
AP_Arming: added button arming check
2021-07-24 18:18:57 +10:00
Andrew Tridgell
f91e995e98
AP_Arming: check pin arming_checks
2021-07-22 07:48:12 +10:00
Andrew Tridgell
587ce2fd62
AP_Arming: fixed arming checks for no baro
2021-07-08 07:56:51 +10:00
Michelle Rossouw
c7e71874c3
AP_Arming: Add blimp param frame to rudder arming
2021-07-06 14:56:02 +10:00
Siddharth Purohit
8a062ab9a1
AP_Arming: place defines to omit parts that break HerePro build
2021-07-02 08:50:16 +10:00
Peter Barker
d0dbfef2c2
AP_Arming: remove @Values from param metadata where @Bitmask exists
2021-06-23 18:37:34 +10:00
Tatsuya Yamaguchi
fb682a61cb
AP_Arming: add flight mode conflict check
2021-06-23 11:32:40 +10:00
Andy Piper
2e1368d8a7
AP_Arming: remove call to rcout->prepare_for_arming()
2021-06-22 09:55:27 +10:00
Siddharth Purohit
1d29619e51
Revert "AP_Arming: check for only first compass being disabled"
...
This reverts commit d343c569c2
.
2021-06-02 17:10:19 +10:00
vierfuffzig
5e8e68344e
AP_Arming: fix _CHECKS param description
2021-05-06 16:22:18 +10:00
Andy Piper
38ef81e9e9
AP_Arming: call rcout arming checks
2021-05-05 17:41:24 +10:00
Tom Pittenger
fa14fd1cec
AP_Arming: add MPPT PacketDigital driver
2021-04-28 19:22:53 -07:00
Randy Mackay
d343c569c2
AP_Arming: check for only first compass being disabled
...
If only the first compass is disabled, users may expect other enabled compasses to be used but they won't be
2021-03-31 19:16:01 +11:00
Peter Barker
f926c27470
AP_Arming: add LANDING arm/disarm method for Copter
2021-03-30 09:00:26 +09:00
Randy Mackay
d53c8b1dd0
AP_Arming: skip checks if not HAL_PROXIMITY_ENABLED
2021-03-26 16:22:46 +09:00
bugobliterator
67be2ed4ba
AP_Arming: add support for GPS_Backends to spew failure reasons
2021-03-12 16:32:36 +09:00
James O'Shannessy
0e73b7bce1
AP_Arming: Enable and Disable the fence when vehicle is armed/disarmed
...
AP_Arming: Use auto enable flag to arm fence only when armed (as per enum)
AP_Arming: Config defines are not available in AP_Arming
Since config definitions are not available in AP_Arming, we can still rely on singleton access of the AC_Fence object.
AP_Arming: Perform fence checks for all vehicles
2021-03-05 14:52:46 +11:00
Pierre Kancir
68a27e3b41
AP_Arming: use RC_CALIB_MIN_LIMIT_PWM and RC_CALIB_MAX_LIMIT_PWM
2021-02-10 18:48:06 +11:00
Andrew Tridgell
68526262b7
AP_Arming: don't allow arming during IMU temp cal
2021-01-21 13:09:21 +11:00