Commit Graph

180 Commits

Author SHA1 Message Date
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
Randy Mackay cedac30a62 Copter: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
murata 5096fe5fd2 Copter: Supports 32 servos 2022-05-23 10:08:38 +10:00
Andrew Tridgell 424c3b953a Copter: 32 servo conversion 2022-05-22 12:07:37 +10:00
Peter Barker efe1dfe0f4 ArduCopter: run prearm checks on all vehicles @1Hz, displaying @0.0333Hz 2022-05-18 12:25:26 +09:00
Tatsuya Yamaguchi a4d3607de1 Copter: move Disarm/EStop/Interlock check from arm_checks to run_pre_arm_checks 2022-04-27 09:36:36 +09:00
Tatsuya Yamaguchi b636abfde0 Copter: add disable prearm display option 2022-04-27 09:36:36 +09:00
Iampete1 4014ec055f Copter: don't disable e-stop if there is no swtich 2022-02-10 07:43:40 +09:00
Joshua Henderson b917a71431 ArduCopter: add Airspeed support 2022-01-19 18:21:32 +11:00
Shiv Tyagi 8b526526c2 Copter: remove pilot_throttle_checks()
This method is redundant as throttle below FS_THR_THROTTLE value is already checked in set_throttle_and_failsafe() method.
2021-12-15 12:02:51 +09:00
Josh Henderson 3107c42fca Copter: INAV rename for neu & cm/cms 2021-11-30 10:08:07 +11:00
Iampete1 7e2604ef1a Copter: run parent mandatory_checks 2021-11-02 10:05:07 +11:00
Iampete1 456d57c28f Copter: rename armed_with_switch to armed_with_airmode_switch 2021-09-21 09:36:24 +10:00
Randy Mackay b4e073d6f7 Copter: AP_Arming integrates rename to using_noncompass_for_yaw 2021-08-31 09:20:17 +10:00
Iampete1 1301372bfd Copter: remove override compass check 2021-08-18 18:30:51 +10:00
Iampete1 aa290795c6 Copter: always check GPS in super simple mode 2021-08-18 17:13:51 +09:00
Peter Barker 000b410daa ArduCopter: DCM handles centrifugal correction application internally now 2021-08-17 10:36:46 +10:00
Peter Barker e74a8e28af ArduCopter: rename for AHRS restructuring 2021-07-21 21:01:39 +10:00
Peter Barker 3684741517 ArduCopter: remove AC_TERRAIN compilation option
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Andrew Tridgell 5eb1d4a5a9 Copter: improve check of far_from_EKF_origin
- increases the maximum distance from EKF origin to 250km horizontally
- adds arming check that the vehicle is within 250km of the EKF origin
- fixes a bug in the far-from-EKF-origin related to height (was 500m, now 50km)
2021-06-30 11:52:55 +09:00