Commit Graph

162 Commits

Author SHA1 Message Date
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
Peter Barker cdbf6d216e ArduCopter: remove HIL support 2021-06-15 09:47:31 +10:00
Peter Barker d387ad9921 Copter: have allows_arming take a AP_Arming::Method rather than bool from_gcs
This API predates us having the arming methods being passed around.

This makes the calls look like Plane
2021-03-30 09:00:26 +09:00
Randy Mackay 91fa40aea6 Copter: HAL_PROXIMITY_ENABLED replaces PROXIMITY_ENABLED 2021-03-26 16:22:46 +09:00
Tatsuya Yamaguchi 0cce5699b2 Copter: change from control_mode to flightmode 2021-03-23 22:48:20 +11:00
Randy Mackay e0a8baccfd Copter: pre-arm check of EKF pos and vel variances 2021-03-16 13:02:46 +09:00
Siddharth Purohit da7d34224d Copter: do common gps arming checks first before moving on 2021-03-12 16:32:36 +09:00
James O'Shannessy 8ab1cf869d ArduCopter: Remove fence_checks in AP_Arming because they are common across all vehicles now 2021-03-05 14:52:46 +11:00
Arsh 3609a1b5fd Copter:PreArm Battery low voltage failsafe message repeated two times fix 2021-02-08 09:12:51 +09:00
Peter Barker 7bbc699165 Copter: make terrain failure strings human-readable 2021-02-03 15:08:29 +11:00
Randy Mackay dc515b87df Copter: ahrs only checks position in modes that require it 2021-01-26 10:46:49 +11:00
Peter Barker 65adf5b4a9 ArduCopter: 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
Randy Mackay e1aaea0834 Copter: pre-arm check of FS_GCS_ENABLE=2 2020-12-09 19:30:48 +09:00
Randy Mackay 248d80eb37 Copter: integrate ahrs::get_variances change
offset is no longer returned
2020-10-21 08:58:45 +09:00
Randy Mackay 49e1e8cc16 Copter: integrate ahrs.pre_arm_check 2020-10-07 11:53:07 +11:00
Randy Mackay eeaf135cca AP_Arming: integrate ahrs.pre_arm_check 2020-10-07 11:53:07 +11:00
Randy Mackay 1858fbe951 AP_Arming: correct proximity pre-arm check msg 2020-10-06 20:52:29 +11:00
Peter Barker af53f9ce64 Copter: correct compilation when AUTO/RTL are disabled 2020-10-06 11:25:09 +11:00
Andy Piper b8f613c965 Copter: rename ADSB_ENABLED to HAL_ADSB_ENABLED and remove from config 2020-09-22 09:33:51 +10:00