Commit Graph

260 Commits

Author SHA1 Message Date
Joshua Henderson b917a71431 ArduCopter: add Airspeed support 2022-01-19 18:21:32 +11:00
Peter Barker 6bfcf2fb53 Copter: remove pointless wrapper around proximity init 2022-01-04 09:02:54 +09: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
Andy Piper e1c75b2c15 Copter: use calculated number of notches for dynamic harmonic 2021-12-22 18:13:38 +11:00
Peter Barker 238a6e4016 ArduCopter: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED 2021-11-15 20:27:40 +11:00
Peter Barker ee9aef25fc ArduCopter: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Shiv Tyagi 477f2824b9 Copter : initialise surface to be tracked
This sets the surface to be tracked in SurfaceTracking with the value of SURFTRAK_MODE parameter.

Co-Authored-By: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2021-11-13 11:52:38 +09:00
Peter Barker dcc9237c64 ArduCopter: factor substring from allocation_error parameter 2021-10-18 12:49:44 +11:00
Iampete1 1f163453fc Copter: don't check PWM type directly use helpers 2021-10-06 18:59:57 +11:00
bugobliterator 2751afaa75 Copter: replace config_error with allocation_error 2021-09-30 08:51:26 +10:00
Iampete1 85638cf4fa Copter: fix RC init order to avoid error message 2021-09-21 17:49:47 +10:00
Iampete1 5002abcea6 Copter: convert to new ARMDISARM_AIRMODE 2021-09-21 09:36:24 +10:00
bnsgeyer ca007ee6f6 Copter: Allow Tradheli to spoolup in guided or auto mode 2021-08-23 12:26:00 +09:00
Peter Barker 6f5e3bf4ff ArduCopter: move VehicleClass handling to AHRS frontend
.... and renaming the enumeration while we're at it
2021-08-17 10:34:07 +10:00
Iampete1 9f5591be02 Copter: notify buzzer on every flight mode change 2021-08-05 14:42:42 +10:00
Iampete1 cbf93c7dad Copter: add new dynamic mixer frame class 2021-07-20 09:19:28 +10:00
Peter Barker 52f6c0e5ca ArduCopter: use singleton to access AP_Terrain data 2021-07-12 17:34:44 +10:00
Peter Barker 3684741517 ArduCopter: remove AC_TERRAIN compilation option
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Peter Barker cdbf6d216e ArduCopter: remove HIL support 2021-06-15 09:47:31 +10:00
Peter Barker 61f41803b9 ArduCopter: remove optical flow pointer from AP_AHRS
Nothing was ever using it.
2021-05-30 10:44:42 +10:00
Peter Barker b9c1633358 ArduCopter: remove pointless init_optflow wrapper
Hiding a one-line call in a wrapper just adds size to the build
2021-05-28 13:41:50 +09:00
Leonard Hall 4bae8f03a4 Copter: Use PosControl fixes 2021-05-24 20:13:37 +10:00
Andy Piper e19bf8149b Copter: generalise ESC telemetry to allow harmonic notch handling with other ESCs 2021-05-12 17:01:11 +10:00
Tatsuya Yamaguchi 0cce5699b2 Copter: change from control_mode to flightmode 2021-03-23 22:48:20 +11:00
Tatsuya Yamaguchi ed8384b45a Copter: add option to disable LANDING_GEAR 2021-03-17 10:41:11 +09:00
Iampete1 a572820dbc Copter: system: use config_error loop don't panic 2021-02-09 12:43:54 +09:00
Iampete1 d6fa4d97e3 Copter: add 6DoF support 2021-02-09 12:43:54 +09:00
Mark Whitehorn f405454aba Copter: add nullptr checks for get_frame_string
fix rebase errors
2021-02-09 12:43:53 +11:00
Mark Whitehorn cb687a6fff Copter: move get_frame_string to Motors class 2021-02-09 12:43:53 +11:00
Patrick José Pereira ad82e01270 ArduCopter: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Iampete1 643966fb3e Copter: add SCRIPTING_MATRIX frame class 2021-01-26 11:07:36 +09:00
Iampete1 0a23084d43 Copter: move get_frame_mav_type to motors 2021-01-26 11:07:36 +09:00
Pierre Kancir f53892a1fa Copter: don't report initial mode switch as failsafe mode change 2021-01-09 08:28:29 +09:00
Pierre Kancir 1e5d9fb299 Copter: set initial mode on startup 2020-12-16 17:27:07 +09:00
murata dcda0c48ca Copter: Support for decacopters 2020-12-08 11:59:10 +11:00
Andrew Tridgell 0329a46b4a ArduCopter: moved init_safety to AP_Vehicle 2020-12-08 11:14:24 +11:00
Gone4Dirt 434af4a4d4 Copter: Move AP_Generator to AP_Vehicle 2020-11-24 12:54:52 +11:00
Paul Riseborough 379506b718 ArduCopter: Don't request EKF yaw reset unless innovations are large
This prevents unwanted resets if GPS fails.
2020-10-30 14:45:40 +09:00
Tatsuya Yamaguchi 813bc2e08a Copter: replace message indicating that initialisation has completed 2020-09-22 09:52:52 +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 48d27e1016 Copter: fixup winch comment 2020-08-07 21:55:07 +09:00
Randy Mackay 925f76c048 Copter: integrate winch changes
includes the following changes
winch_update called at 50hz
removed ability to set winch rate from ch6 tuning
remove wheel encoder
call winch library to log at 10hz
fix winch param prefix
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
Peter Barker a679cd9b92 Copter: add support for AP_Generator 2020-07-03 08:21:42 +09:00
Andy Piper 25dcc1a623 Copter: add support for individually tracking fft peaks and motor rpms with harmonic notches
log harmonic notch even if FFT is disabled. Fallback to throttle notch for BLHeli
move harmonic notch update to AP_Vehicle
2020-06-21 19:09:35 +10:00
Andrew Tridgell 265b9a42fb ArduCopter: invalidate param count when changing param tree structure 2020-04-29 07:36:55 +10:00
Randy Mackay 04c3f040a8 Copter: visual odometry moved to AP_Vehicle 2020-04-09 19:41:08 +09:00
Andrew Tridgell 375c08f39c Copter: convert to new get_rpm() API 2020-03-12 08:36:40 +11:00
Peter Barker 3802ca217e ArduCopter: move AP_PARM_KEY_DUMP function up to AP_Vehicle base class
Common to all vehicles now, including Tracker
2020-03-10 11:00:14 +11:00