Commit Graph

690 Commits

Author SHA1 Message Date
Randy Mackay 0941c741c8 Copter: disable sport mode 2022-02-11 16:11:39 +09:00
Peter Barker 3989ed76cd ArduCopter: stop passing mission in Terrain constructor
Terrain can use the mission singleton

This means Copter can have terrain while compiling mission out
2022-02-08 11:20:20 +11:00
Bill Geyer cd64216558 Copter: remove AUTOTUNE Enable definition 2022-02-01 23:06:51 -05:00
bnsgeyer a9450ac9b6 Copter: making autotune work for heli too 2022-02-01 23:06:51 -05:00
Peter Barker 285d752143 ArduCopter: create and use AP_OPTICALFLOW_ENABLED
Including a define for each backend.
2021-12-29 18:12:03 +11:00
Leonard Hall 5d5ccc8c78 Copter: Update ACRO to use rate parameters and update expo function 2021-09-23 20:03:53 +09:00
Randy Mackay 1d7d5d23f7 Copter: add acro and pilot yaw rate and expo 2021-09-23 20:03:53 +09:00
Tatsuya Yamaguchi 84845584c8 Copter: remove unused config 2021-09-08 19:34:33 +09:00
Leonard Hall 97decc4c21 Copter: Remove parameter RNGFND_GAIN 2021-09-06 16:00:19 +09:00
Peter Barker 3a3433cad2 ArduCopter: add and use HAL_BUTTON_ENABLE 2021-08-25 19:03:42 +10:00
Andy Piper 1b5ed1caff Copter: add turtle mode
add turtle mode as an RC function
add turtle mode arming checks
re-use motortest arming checks for turtle mode
2021-08-12 19:00:51 +09:00
Andrew Tridgell bd84ed126e Copter: removed max home distance
after discussion with Randy we agreed to just remove this check now we
are numerically stable at long distances
2021-07-14 17:34:40 +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
Randy Mackay 290124720d Copter: RNGFND_FILT param default increased from 0.25 to 0.5 2021-06-25 15:36:31 +10:00
Randy Mackay 1cafbe1e65 Copter: add configurable rangefinder filter 2021-06-16 18:54:13 +10:00
Peter Barker cdbf6d216e ArduCopter: remove HIL support 2021-06-15 09:47:31 +10:00
Randy Mackay 91fa40aea6 Copter: HAL_PROXIMITY_ENABLED replaces PROXIMITY_ENABLED 2021-03-26 16:22:46 +09:00
Randy Mackay ef33ed5e36 Copter: landing gear enabled on all boards
Co-authored-by: Tatsuya Yamaguchi <susumu-336@hotmail.co.jp>
2021-03-17 10:41:11 +09:00
Tatsuya Yamaguchi ed8384b45a Copter: add option to disable LANDING_GEAR 2021-03-17 10:41:11 +09:00
Tatsuya Yamaguchi 52cd042d69 Copter: update filtered range finder altitude to AC_WPNav 2021-03-17 09:30:38 +09:00
Randy Mackay 64289d436a Copter: reduce ANGLE_MAX default to 30deg 2021-03-03 08:03:39 +09:00
Michael du Breuil 5e2093b105 Copter: Allow the user to specify the GCS failsafe timeout 2020-11-17 09:24:07 +09:00
Peter Barker b03b3041e0 Copter: remove stale MAGNETOMETER config option from config files
This isn't used in the code any more
2020-09-29 11:17:08 +10: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 a2224f066a Copter: winch enabled with hal-minimize-features 2020-08-07 21:55:07 +09:00
Andy Piper 54c3d07547 Copter: make make/gimbal configurable on a per-board basis 2020-08-04 09:18:14 +10:00
Tatsuya Yamaguchi cde7ae246e Copter: add ZIGZ_AUTO_ENABLE parameter 2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi 60fb275501 Copter: rename zigzag_auto_pump to zigzag_sprayer 2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi 63002111eb Copter: add ZIGZAG_WP_DELAY parameter 2020-06-03 15:21:21 +09:00
Randy Mackay 944939fde3 Copter: remove unused heli definitions 2020-05-02 11:32:09 +09:00
Randy Mackay c4b5d47e1f Copter: white space fixes 2020-04-23 13:17:11 +09:00
Randy Mackay 04c3f040a8 Copter: visual odometry moved to AP_Vehicle 2020-04-09 19:41:08 +09:00
Tatsuya Yamaguchi 6b192de389 Copter: add ZIGZAG_AUTO_PUMP parameter 2020-02-19 19:56:56 +09:00
Andrew Tridgell 1350f6e338 Copter: use HAL_PARACHUTE_ENABLED and HAL_SPRAYER_ENABLED 2020-01-18 13:48:48 +11:00
Gone4Dirt 180d4e713c Copter: Added autorotation flight mode and support 2019-11-29 08:06:10 +08:00
Leonard Hall c11f2247eb Copter: System ID mode 2019-10-16 08:17:09 +09:00
murata abb91fc33a Copter: Change external button specification to option
Copter: Change the definition name from BUTTON to BUTTON_ENABLED.
2019-10-08 08:09:19 +09:00
Peter Barker b4537bebd8 Copter: move control_mode_t into being Mode::Number enum class
Fixes this compiler error:

In file included from ../../ArduCopter/sensors.cpp:1:
In file included from ../../ArduCopter/Copter.h:195:
../../ArduCopter/mode.h:1291:9: fatal error: declaration shadows a variable in the global namespace [-Wshadow]
        AUTO,           // after A and B defined, pilot toggle the switch from one side to the other, vehicle flies autonomously
        ^
../../ArduCopter/defines.h:38:5: note: previous declaration is here
    AUTO =          3,  // fully automatic waypoint control using mission commands
    ^
1 error generated.
2019-09-13 13:12:08 +09:00
Peter Barker e497b13b4a Copter: remove ineffective DEVO_TELEM_ENABLED 2019-09-04 17:47:33 +10:00
Peter Barker 87a1efeb45 Copter: add assertion that guided is enabled if guided-nogps is enabled 2019-08-22 17:47:45 +01:00
Randy Mackay 709c874d8b Copter: integrate AP_OAPathPlanner 2019-08-17 09:42:43 +09:00
Randy Mackay 41f538e039 Copter: simplify DEVO_TELEM_ENABLED definition 2019-08-09 23:07:06 +09:00
Randy Mackay 89eb876faf Copter: move surface tracking variables into structure 2019-04-19 07:45:52 +09:00
Tom Pittenger 7824b64ad6 Copter: rename dataflash to logger 2019-03-28 16:40:57 +11:00
Patrick José Pereira 33764d6c3b Copter: Fix typo
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-26 15:39:23 +11:00
murata 8644f4d76e Copter: Disable option code
Copter: Revert change

Copter: Change mistakes
2019-02-26 10:00:00 +09:00
Andrew Tridgell 3f58461839 Copter: allow override of default frame type 2019-02-06 11:17:35 +11:00
murata b252eae404 Copter: Flip mode is an option.
Copter: Flip mode is an option.
2018-11-26 09:29:47 +09:00
Randy Mackay e1ded6e0dc Copter: winch disabled by default 2018-10-30 13:25:22 +09:00