Commit Graph

378 Commits

Author SHA1 Message Date
muramura edabfb8a2e AP_Arming: Remove unnecessary empty sentences 2023-04-20 09:24:46 +10:00
Peter Barker c88b7586da AP_Arming: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker 81f3c6a4c4 AP_Arming: correct prearm check for mission storage file 2023-04-19 18:05:20 +10:00
Peter Barker a4721b4ff8 AP_Arming: remove CANTester 2023-04-18 11:43:58 +10:00
Tom Pittenger 2fcae3c520 AP_Arming: remove AP_KDECAN prearm checks 2023-04-17 11:52:52 +10:00
Peter Barker e0d1a5c8d2 AP_Arming: AP_Arming ensures mission items present when in auto mode
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2023-04-14 07:49:54 +10:00
Andrew Tridgell 4e161bab5e AP_Arming: text messages and more defines 2023-04-11 10:31:31 +10:00
Andrew Tridgell 116e456d35 AP_Arming: rename more variables, types and defines 2023-04-11 10:31:31 +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
Andrew Tridgell 85ce16deb6 AP_Arming: rename AP_UAVCAN to AP_DroneCAN 2023-04-08 07:11:23 +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
Peter Barker 575d803904 AP_Arming: remove redundant trim checks in Copter/Sub
The main rc_calibration_checks method checks all channels, not just the subset being tested explicitly on Copter/Sub.

The code making this redundant was added in 1b18a78d1d with a comment "Add a RC check that (<=min trim max) for all channels.
2023-03-25 11:04:36 +11:00
Iampete1 88f645afc2 AP_Arming: call hal GPIO check 2023-03-22 09:27:35 +11:00
Henry Wurzburg ed7a622928 AP_Arming:correct RUDDER_ARMING description 2023-03-20 10:03:39 -07:00
Andrew Tridgell ced130839c AP_Arming: check for failure to load mission.stg 2023-03-10 14:13:55 +11:00
Iampete1 89e5a7a300 AP_Arming: INS: add batchsampler init check 2023-03-07 10:56:16 +11:00
Peter Barker c3e79c9865 AP_Arming: correct IMU gyro consistency check 2023-02-24 09:21:42 +11:00
Peter Barker d80449ac13 AP_Arming: correct IMU accel consistency check 2023-02-24 09:21:42 +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
Iampete1 fc7804f03a AP_Arming: use check_enabked hepler to always check if all bit is set 2023-01-24 11:09:51 +11:00
Iampete1 6c8064da96 AP_Arming: use check_enabled helper 2023-01-23 11:00:13 +09:00
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