Commit Graph

130 Commits

Author SHA1 Message Date
Peter Barker 11cdc1d26f AP_Arming: force user to ack crashdump or get prearm failure 2024-04-30 20:29:20 +09:00
Peter Barker 709656c49d AP_Arming: remove entire airspeed_checks if AP_AIRSPEED_ENABLED is off
saves bytes and removes some redundant code which is obscured when the ifdefs are inside the body
2024-01-10 18:33:41 +11:00
Peter Barker 35f1fdf0d8 AP_Arming: be more consistent withb our defines around optional features 2024-01-09 10:51:55 +11:00
olliw42 8f9df5a62e AP_Arming: Reduce response time when checks go from true to false 2023-11-25 14:59:04 -08:00
Henry Wurzburg fffe3afb28 AP_Arming: add arm/disarm controlled GPIO for module power control 2023-11-18 14:27:05 +11:00
Michael du Breuil 45786a33e6 AP_Arming: Do not send a status text on state change 2023-10-25 09:39:51 -07:00
Randy Mackay 943630e53a AP_Arming: mag field check vs world magnetic model 2023-08-30 11:17:42 +09:00
arshPratap 5f17e33b39 AP_Arming: Added DDS Method for Arming/Disarming 2023-08-11 13:35:49 +10:00
yaapu 3923dcb63e AP_Arming: added OSD_TYPE2 param to enable dual OSDs backend support
Co-authored-by:HWurzburg(hurzburg@yahoo.com)

up to 2 OSD instances can run at the same time sharing a single OSD thread
2023-07-13 12:39:19 +10:00
Tom Pittenger 5cbb776951 AP_Arming: wrap things in P_INERTIALSENSOR_ENABLED 2023-07-05 13:51:00 -07:00
Andrew Tridgell 7dc9f418a5 AP_Arming: added BLACKBOX arming method 2023-05-18 12:59:09 +10:00
Tom Pittenger 2fcae3c520 AP_Arming: remove AP_KDECAN prearm checks 2023-04-17 11:52:52 +10:00
Henry Wurzburg c36c042e71 AP_Arming: move estop pre-arm to AP_Arming and add exception 2023-04-11 09:24:06 +10:00
Peter Barker 9ec6b69433 AP_Arming: add and use a define for AP_ARMING_AUX_AUTH_ENABLED
only the LUA bindings can actually activate this...
2023-03-25 15:56:22 +11:00
Andrew Tridgell bddd716cf9 AP_Arming: added is_armed_and_safety_off() 2023-02-21 07:44:09 +11:00
Andrew Tridgell 7d12095deb AP_Arming: added last_arm_method() 2023-02-09 07:02:32 +11:00
Peter Barker 410a4ccaff AP_Arming: tidy includes 2022-11-08 09:49:19 +11:00
Henry Wurzburg 8f67e9b69f AP_Arming: move multiple RC input error to pre-arm failure 2022-10-25 11:34:13 +11:00
Luiz Georg f6858c59e8 AP_Arming: add check for RTL 2022-09-19 19:36:42 -04: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
Joshua Henderson ed47b10e0c AP_Arming: add OpenDroneID Mandatory Arming Check 2022-08-09 14:37:08 +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 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
Randy Mackay a47ac7430b AP_Arming: add mount pre-arm check 2022-06-21 13:37:11 +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
Peter Barker 8dcc2e969f AP_Arming: tidy includes 2022-05-03 09:14:58 +10:00
Tatsuya Yamaguchi 02f966a35d AP_Arming: add ARMING_OPTIONS param 2022-04-27 09:36:36 +09:00
Andrew Tridgell bd68dc6a51 AP_Arming: make mission checks virtual 2022-03-14 09:52:41 +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
Peter Barker 2bffaef9ca AP_Arming: log whether disarm was forced 2021-10-20 19:45:58 +11:00
Iampete1 55a6b731a8 AP_Arming: add min heater temp check 2021-10-19 11:16:45 +11:00
Iampete1 1e5b9e487b AP_Arming: set force disarmed logging for all the nasty disarm reasons 2021-09-08 18:26:40 +10: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
Peter Barker f926c27470 AP_Arming: add LANDING arm/disarm method for Copter 2021-03-30 09:00:26 +09:00
Peter Barker b229c552e6 AP_Arming: add do_disarm_checks boolean to disarm call
this creates symmetry between arming and disarming, at least as far as
the top-level arm() and disarm() calls are concerned.
2021-01-12 08:48:44 +09:00
Andy Piper 2c19152644 AP_Arming: arming check for osd menu 2020-09-09 20:36:42 +10:00
Peter Barker 6ab9089fff AP_Arming: add accessor to retrieve last disarm method 2020-08-05 16:26:19 +09:00
Peter Barker fce9046dcf AP_Arming: add generator checks 2020-07-03 08:21:42 +09:00
Andy Piper fab8168f5c AP_Arming: allow FFT to report failure reason. allow FFT check to be disabled.
document FFT arming check and make sure the appropriate side effect happens regardless
2020-05-24 07:43:34 +10:00
Tatsuya Yamaguchi de854a2ffe AP_Arming: pre-arm check for disarm aux switch 2020-05-05 10:09:30 +09:00
Randy Mackay 1b1687f43d AP_Arming: integrate visual odometry pre_arm_check 2020-04-09 19:41:08 +09:00
Michael du Breuil 73c5c2e1bb AP_Arming: Check that sticks are neutral 2020-04-07 14:01:12 -07:00
Peter Barker a32e54ea17 AP_Arming: correct toymode compilation for recent disarm-reason changes 2020-03-03 21:56:33 +09:00
Randy Mackay 05a8e34d5c AP_Arming: support auxiliary authorisation 2020-02-25 19:55:54 +09:00
Randy Mackay df8bf27a7f AP_Arming: get_enabled_checks returns uint32_t 2020-02-25 19:55:54 +09:00
Peter Barker 4d0c61970d ArduSub: log disarm method 2020-02-22 12:16:29 +11:00