Commit Graph

139 Commits

Author SHA1 Message Date
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
Randy Mackay 315d9da138 Copter: add ekf alt pre-arm and mode init checks 2020-08-20 12:41:40 +09:00
Siddharth Purohit 9b9954aa46 Copter: move to using CANManager library 2020-08-19 17:31:09 +10:00
Randy Mackay 9e06b78fda Copter: minor formatting fix 2020-08-10 09:34:28 +09:00
Josh Welsh de9e9b90e5 Copter: Tradheli servo_test fix 2020-08-10 09:16:44 +09:00
Randy Mackay f607ff28b3 Copter: integrate winch arming checks 2020-08-07 21:55:07 +09:00
murata c9990cdecc Copter: Change Need 3D Fix message. 2020-07-11 08:33:55 +09:00
mmk0102 c0d7739929 Copter: move check for duplicate auxswitch options up 2020-06-02 09:43:31 +10:00
chobits 8ce27afba0 Copter: fix mode and fence gps check fail message 2020-05-11 10:41:06 +09:00
Tatsuya Yamaguchi 875fa36018 Copter: remove an unnecessary condition 2020-05-05 11:03:38 +10:00
Tatsuya Yamaguchi 9c3a0b863f Copter: use check_failed function for ESTOP arming check 2020-05-05 11:03:38 +10:00
murata 04b0a8a62a Copter: Add expected value to message 2020-04-14 10:09:05 +09:00
murata f70ab73a1f Copter: Change arming messages 2020-04-08 08:55:17 +09:00
Peter Barker ce5f23810b ArduCopter: log disarm method 2020-02-22 12:16:29 +11:00
Siddharth Purohit defc1b5fcb ArduCopter: add arming message for compass not detected but assigned 2020-02-19 13:59:53 +09:00
Randy Mackay 74e3ca75a7 Copter: check_mot_pwm_params arming check returns true on success 2020-01-30 10:13:21 +09:00
ashvath aecc10fdc3 Copter: Pre-arm check for mot_pwm 2020-01-30 08:29:56 +09:00
Matt Lawrence d1feb93152 Copter: Add GCS failsafe pre-arm check 2020-01-21 13:48:54 +09:00
Peter Barker e1b3bd2e42 ArduCopter: move logging of armed/disarm events into AP_Arming base class 2020-01-14 11:39:36 +11:00
Randy Mackay ea22e888c7 Copter: improve RTL terrain following
RTL_ALT_TYPE replaces TERRAIN_FOLLOW param
return path built using rangefinder or terrain database
pre-arm checks for RTL_ALT_TYPE parameter
pre-arm checks of terrain data only run if RTL might use it
2019-12-17 20:02:01 +09:00
bnsgeyer 74d81e6d50 Copter: Change STAB_COL params to percent 2019-12-14 09:00:31 +09:00
Randy Mackay 2c3beb0f91 Copter: add mandatory gps checks 2019-12-03 08:06:39 +08:00
Randy Mackay 2cfdfb38e7 Copter: pre-arm check for Toshiba ESCs disabled with parameter flag 2019-11-26 11:56:33 +11:00
Peter Barker e6c6189fe5 Copter: cope with change in namespace of LogEvent enum
Also move Acro Trainer types into an enum class as the global defines
interfere with the Event names.

Also eliminate the Log_Write_Event wrappers.
2019-11-05 08:19:26 +08:00