Commit Graph

271 Commits

Author SHA1 Message Date
Dr.-Ing. Amilcar do Carmo Lucas 4fa548c86c AP_Arming: call fettec prearm checks 2021-11-29 19:02:38 +09: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
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
Andrew Tridgell 943918d511 AP_Arming: added USD1 CAN 2021-01-01 17:29:54 +11:00
Andrew Tridgell fb84baf8a5 AP_Arming: added EFI_NWPMU 2021-01-01 17:29:54 +11:00
Peter Barker 840c386a33 AP_Param: add _FLAG to AP_PARAM_NO_SHIFT
Just for consistency with the other flags
2020-12-16 19:30:29 +11:00
Gone4Dirt 2dc684622e AP_Arming: Add support for AP_Generator frontend 2020-11-24 12:54:52 +11:00
giacomo892 470c00b6b2 AP_Arming: Fix compilation with OSD_PARAM_ENABLED not defined 2020-11-18 18:56:09 +11:00
Iampete1 36eb605de5 AP_Arming: fix aux auth arming check 2020-11-11 18:24:55 +11:00
Tom Pittenger 37c6622b96 AP_Arming: add arming check for ADSB 2020-11-04 16:22:47 +11:00
Andre Kjellstrup e5ffc834e9 AP_Arming: Parameter check is not unused 2020-11-02 13:41:57 +11:00
Andy Piper 2c19152644 AP_Arming: arming check for osd menu 2020-09-09 20:36:42 +10:00
Siddharth Purohit 0fa6e2bbcc AP_Arming: move to using CANManager library 2020-08-19 17:31:09 +10:00
Peter Barker 6ab9089fff AP_Arming: add accessor to retrieve last disarm method 2020-08-05 16:26:19 +09:00
Mark Whitehorn 58463e67c5 AP_Arming: default throttle pre-arm check to enabled 2020-08-04 10:26:45 +10:00
murata dbb19dd402 AP_Arming: Shorten the distinguished name.
AP_Arming: AP_Arming: Shorten the distinguished name.
2020-07-28 09:09:27 +09:00
Mark Whitehorn 285f16e829 AP_Arming: add pre-arm check for VTOL manual forward throttle 2020-07-07 08:37:46 +10:00
Peter Barker fce9046dcf AP_Arming: add generator checks 2020-07-03 08:21:42 +09:00
Henry Wurzburg 9d86a3e2ef AP_Arming: fix parameters appearing in wiki param list erroneously 2020-06-30 16:24:19 +10:00
Michael du Breuil e02145efa0 AP_Arming: Use control_in rather then in_trim_dz() to cope with override only vehicles 2020-06-23 09:33:30 +10:00
Peter Barker 8fd50dd66e AP_Arming: rename 'enum aux_switch_pos_t' to 'enum class AuxSwitchPos' 2020-06-12 08:11:46 +10:00
mmk0102 22d052b711 AP_Arming: check for duplicate auxswitch options 2020-06-02 09:43:31 +10: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
Peter Barker 70a9abfaff AP_InternalError: emit stringification of internal errors 2020-05-06 13:23:15 +10:00
Peter Barker 75514dfdfe AP_Arming: emit stringification of internal errors 2020-05-06 13:23:15 +10:00
Peter Barker b38d2c6194 AP_Arming: regularise CAN pre-arm failure messages
AP_Arming tacks on the sub-system bit.

Remove PiccoloCAN's silly nullptr check

Require the library to supply the failure message (no default message)

Remove default cases so authors know to think about places they should
add things.
2020-05-05 11:27:53 +10:00
Tatsuya Yamaguchi de854a2ffe AP_Arming: pre-arm check for disarm aux switch 2020-05-05 10:09:30 +09:00
Peter Barker 119eef9954 AP_Arming: create and use INTERNAL_ERROR macro so we get line numbers 2020-04-30 13:21:36 +10:00
Tatsuya Yamaguchi c4fe6fce1c AP_Arming: make RC check message clearer 2020-04-24 10:52:33 +09:00
murata 2af70f5e60 AP_Arming: Display mag field value 2020-04-21 10:51:48 +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
Siddharth Purohit 575ac9224e AP_Arming: fix error unannotated fall-through between switch labels 2020-04-01 17:10:36 +11: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