Commit Graph

251 Commits

Author SHA1 Message Date
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
Peter Barker ae2578e5c9 ArduCopter: move initialisation of serial and gcs to AP_Vehicle 2020-02-25 11:50:55 +11:00
Andy Piper 4c1816a983 Copter: port betaflight in-flight fft analysis to arducopter and expose as a log message
add harmonic notch tracking mode
call AP_GyroFFT::update_freq_hover() from update_throttle_hover()
move gyrofft configuration and control to AP_Vehicle
move fft logging to fft library
2020-02-22 11:15:37 +11:00
Peter Barker 18670d681e Copter: let AP_Vehicle handle loop() 2020-02-06 14:41:06 +11:00
Peter Barker 9e8af48cce ArduCopter: move some common init_ardupilot code up to AP_Vehicle 2020-01-28 11:34:51 +11:00
Peter Barker 9466126fa8 Copter: let AP_Vehicle base class worry about scheduler delay callback 2020-01-21 11:37:28 +11:00
Andrew Tridgell 1fae2009db Copter: update for new SRV_Channels parameter conversion call 2020-01-14 14:23:11 +11:00
Peter Barker 2694560c38 Copter: generally unseen remove report_version
This won't generally be seen or useful to anyone
2020-01-04 10:46:51 +09:00
Andrew Tridgell 630bd7062c Copter: removed init_vehicle from separate vehicles
use common call from AP_BoardConfig
2019-12-30 13:02:04 +11:00
Andy Piper 93abfdb905 Copter: create generic vehicle management and move runcam to it 2019-12-30 13:02:04 +11:00