Commit Graph

199 Commits

Author SHA1 Message Date
muramura 4b2b88945d Copter: Set the message buffer size to twice the message size 2024-09-27 21:33:56 +10:00
Iampete1 62a106bd4c Copter: add and use new `allows_GCS_arming_with_throttle_high` mode method 2024-09-25 08:47:57 +10:00
Peter Barker 784760342d Copter: remove ENABLE/ENABLED/DISABLE/DISABLED defines 2024-09-06 11:53:09 +10:00
Peter Barker e6ccaeb2c9 Copter: rename RTLAltType enumeration entries
removes redundant namespacing as this is enum class
2024-09-06 08:45:18 +10:00
Iampete1 ba976a2b78 Copter: Disarm: move autotune disarm call after setting soft arm false 2024-08-20 09:33:22 +10:00
Iampete1 c0d2c15ac8 Copter: autotune: allow access to autotune object and call through for disarm and aux function 2024-08-13 08:57:44 +09:00
muramura 0e7a5ef520 Copter: Make multiple decisions into a SWITCH statement 2024-07-30 08:16:27 +09:00
muramura ace57047fa Copter: Distinguish preprocessor processing 2024-07-25 10:56:03 +10:00
muramura 05d8b0db8a Copter: Clearly show the preprocessor 2024-07-24 18:04:12 +09:00
Peter Barker f64fcb78d3 ArduCopter: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Peter Barker 180484e0a6 ArduCopter: add Copter flight option for requiring position to arm
this is not quite the same as requiring a good position to arm.
2024-06-25 11:06:10 +10:00
Peter Barker e34c91d1aa Copter: tidy use 'else if' to avoid unnecessary complication in location arm checks 2024-06-19 17:27:37 +10:00
Peter Barker 0c2636c191 ArduCopter: remove far_from_EKF_origin sanity checks
some  flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Peter Barker cb76ce534b ArduCopter: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
bnsgeyer cbb47ed42f Copter: Remove tradheli arming check for inverted flight 2024-03-05 10:24:06 +09:00
Peter Barker d4708e2d52 ArduCopter: use AUX_FUNC instead of typedef aux_func_t 2024-02-15 08:41:30 +11:00
Peter Barker 7377b3f8f2 ArduCopter: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Peter Barker 3691fdadc8 ArduCopter: be more consistent withb our defines around optional features 2024-01-09 10:51:55 +11:00
Michael du Breuil d42a3ee971 Copter: Support not sending a status text on state change 2023-10-25 09:39:51 -07:00
arshPratap 5f17e33b39 AP_Arming: Added DDS Method for Arming/Disarming 2023-08-11 13:35:49 +10:00
Iampete1 d927af03e9 Copter: remove heli motors param checks, moved to motors arming check 2023-08-01 09:12:51 +09:00
Iampete1 40414499fd Copter: AP_Arming: print multiple failures at once. 2023-08-01 09:12:51 +09:00
Andy Piper baae1b7732 Copter: squash bitwise & warnings 2023-07-13 11:02:40 +10:00
Henry Wurzburg 1f94fd69f9 ArduCopter: move estop pre-arm to AP_Arming and add exception 2023-04-11 09:24:06 +10:00
Peter Barker 9c2d68bcd1 Copter: remove enable_motor_output method
this doesn't actually do what it says it does.  I think the functionality to set the motors armed was split out long ago but this little method and its misleading comments remained
2023-03-25 07:57:48 +09:00
Peter Barker ade654b251 Copter: use AP_WINCH_ENABLED in place of WINCH_ENABLED 2023-03-03 20:59:06 +11:00
Stephen Dade b23f5e380c Copter: Allow arming in guided mode from scripting 2023-02-21 22:32:32 +11:00
mihaelsubasic69@gmail.com cfa3370f9f Copter: add comment to check throttle is not too high for guide_nogps and auto 2023-02-02 08:29:01 +09:00
Iampete1 e35b52c0be ArduCopter: use check_enabked hepler to always check if all bit is set 2023-01-24 11:09:51 +11:00
Iampete1 001eb20fc3 ArduCopter: use check_enabled helper 2023-01-23 11:00:13 +09:00
Akshat Upadhyay 928c3557af Copter: skip throttle high arm check when arming in AUTO 2023-01-19 08:26:00 +09:00
rishabsingh3003 b397772ec6 Copter: update terrain db pre-arm checks 2023-01-10 13:22:44 +11:00
Randy Mackay 3ec8094cf6 Copter: skip ap arming check of GPS hdop if GPS is disabled 2022-12-15 10:55:47 +09:00
Peter Barker 15673f2aa7 Copter: remove SPRAYER_ENABLED define in favor of just HAL_SPRAYER_ENABLED 2022-11-15 08:45:42 +09:00
Iampete1 fe539e8bb2 Copter: Arming: rc recever: also check for valid override 2022-10-09 16:02:13 +01:00
Iampete1 783a8960e1 Copter: remove moter pwm params check 2022-09-19 20:57:51 -04:00
murata bd89141c3d Copter: Add message "RC not found" 2022-09-15 17:59:37 +10:00
Iampete1 b59c179079 Copter: use new motors arming check 2022-09-07 17:54:16 +10:00
Peter Barker 7c6ec00e11 Copter: display throttle below failsafe only when display_failure set 2022-08-30 17:29:09 +10:00
Iampete1 353aedb547 Copter: Arming: check EKF height varance 2022-08-29 20:16:02 -04:00
Henry Wurzburg 54d5883f87 ArduCopter: add ARM/MOTOR_EMERGENCY_STOP Aux Switch 2022-08-24 16:03:52 +10:00
murata d519c94b32 Copter: Clarify the mode 2022-08-19 01:05:53 -04:00
Peter Barker cb9f376638 Copter: make rc-in-failsafe checks a prearm check rather than an at-arm check 2022-08-11 20:01:45 -04:00
Peter Barker 1e3f37908c Copter: factor out an rc_throttle_failsafe_checks method
NFC, preparing to call this from elsewhere
2022-08-11 20:01:45 -04:00
Peter Barker 67d8965cad ArduCopter: make terrain checks common between Copter and Plane 2022-08-09 14:31:14 +10:00
Peter Barker a54321ad12 Copter: remove pointless clause in motor_checks
check_failed doesn't make any state changes and we return true in either case
2022-08-08 20:42:26 -04:00
Peter Barker a5dadd2694 Copter: move motors check to be must-run prearm
motors check would be run twice on arm without this.

After this change, even if ARMING_CHECKS is 0 the user will be warned they need to set FRAME_CLASS and FRAME_TYPE, rather than just when they try to arm the vehicle.
2022-08-08 20:42:26 -04:00
Iampete1 1b160205ab ArduCopter: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
RuffaloLavoisier 2172095e3f Copter : correct spelling on comment 2022-07-11 08:51:27 +09:00
murata 1aae0610a6 Copter: Initialize a string array 2022-06-22 17:25:56 +10:00