Commit Graph

81 Commits

Author SHA1 Message Date
tzarjakob 97b7e8d1d0 ArduCopter: configuration of Precision Landing for custom build server 2023-03-27 09:04:07 +11:00
Peter Barker ade654b251 Copter: use AP_WINCH_ENABLED in place of WINCH_ENABLED 2023-03-03 20:59:06 +11:00
Iampete1 3fedd0d8b2 Copter: RC_Channel: add weathervane enable/disable switch 2022-12-14 16:08:20 -05:00
Peter Barker d04f4d8178 Copter: correct defines gating flowhold mode
We have an explicit define for this mode now
2022-10-19 21:56:14 +11:00
esaldiran cbadf77652 ArduCopter: support custom controller 2022-08-30 13:10:09 +10:00
Iampete1 ac94ba33ff ArduCopter: params always use set method 2022-08-03 13:43:48 +01:00
Peter Barker 6201fd3cf0 Copter: remove duplicate logging of RC parachute enable/disable 2022-05-10 08:47:11 +09:00
Bill Geyer 2fa54f0df4 Copter: start engine flag not used and style cleanup 2022-02-23 14:22:47 +09:00
Ferruccio1984 84bf3fb74e Copter: Tradheli support for turbine start 2022-02-23 14:22:47 +09:00
Leonard Hall 23711b7b10 Copter: Add support for Force Flying 2022-02-04 09:10:57 +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
MidwestAire fb6db5e564 Copter:Heli - changes for new Heli_RSC control modes
move rpm out of case switch so it updates outside of autothrottle_run()
2021-12-14 22:50:05 -05:00
murata a6af0e87fc Copter: Change the auto mode judgment to address 2021-10-18 20:11:39 -04:00
Iampete1 07824fc963 Copter: support ARMDISARM_AIRMODE 2021-09-21 09:36:24 +10:00
Iampete1 804efb51e0 Copter: Only run AP_ARMING throttle arming check if PILOT_THR_BHV bit "Feedback from mid stick" is not set 2021-09-18 15:52:38 +01:00
Iampete1 ed83edc2a6 Copter: add SIMPLE_HEADING_RESET RCx_OPTION 2021-09-08 16:49:33 +09: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
Iampete1 9f5591be02 Copter: notify buzzer on every flight mode change 2021-08-05 14:42:42 +10:00
Iampete1 cc53db406d Copter: treat Auto RTL the same as Auto 2021-07-27 09:00:11 +09:00
Iampete1 b63cc809ce Copter: add AUTO RTL pseudo mode, DO_LAND_START 2021-07-27 09:00:11 +09:00
Peter Barker cc90eddc82 ArduCopter: log auxillary function invocations 2021-04-29 13:00:40 +10:00
Peter Barker ce9800e597 ArduCopter: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
Tatsuya Yamaguchi 2b89ac625f Copter: add allows_save_trim function to Mode class 2021-03-23 22:48:20 +11:00
Tatsuya Yamaguchi 0cce5699b2 Copter: change from control_mode to flightmode 2021-03-23 22:48:20 +11:00
Hwurzburg e015956b6e Copter: move RETRACT_MOUNT option to common for all vehicles 2020-11-24 20:22:02 +11:00
Hwurzburg 8484e8271f Copter: fix init of RC option 52 2020-08-18 18:55:29 +10:00
Hwurzburg 08e89b0b96 Copter: Add RC option for ACRO mode in Copter 2020-08-18 12:22:46 +09:00
Randy Mackay 09bf76d9a4 RC_Channel: correct winch switch 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
Randy Mackay 6ea3c2a091 Copter: compile fix for winch 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
Andy Piper 12c9578a66 Copter: add in additional acro options
Air-mode for multicopters
Rate only for multicopters and trad-heli
if air-mode aux switch is toggled in acro do not reset air-mode on exit
2020-07-14 15:54:24 +09:00
Andy Piper 8d2f2443a2 Copter: add air mode aux function 2020-06-16 20:30:26 +10:00
Peter Barker 0eb03ba7d5 Copter: make SuperSimple type-safe 2020-06-16 19:39:42 +10:00
Peter Barker a629e91f30 ArduCopter: rename 'enum aux_switch_pos_t' to 'enum class AuxSwitchPos' 2020-06-12 08:11:46 +10:00
Tatsuya Yamaguchi 78fd5fac04 Copter: allow to resume in ZigZag Auto 2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi 7bc528097d Copter: support zigzag auto feature 2020-06-03 15:21:21 +09:00
murata 923237ffd3 Copter: Enumerate A and B points of ZigZag 2020-06-03 15:21:21 +09:00
Peter Barker 9b64ca040d Copter: do not adjust trims while landed
Closes #1282

Also cancels autotrim if you change modes, disarm the vehicle or land
again.
2020-06-03 16:19:01 +10:00
Randy Mackay c4b5d47e1f Copter: white space fixes 2020-04-23 13:17:11 +09:00
Michael du Breuil 132fe82ad2 Copter: Report what channel is used for rudder arming 2020-04-07 14:01:12 -07: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
bnsgeyer 64f98622c0 Copter: fix tradheli RSC RC passthrough mode
Copter: heli get_pilot_desired_rotor_speed converts interlock input to desired rotor speed
2020-01-09 19:55:02 +09:00
Peter Barker eb452478ac Copter: override do_aux_function_armdisarm method to set armed_with_switch
As well as removing the code duplication, this only sets the flag if
arming was actually successful.  armed-with-switch is used when setting
various state, and it isn't entirely clear that we only use it when
armed.  This would seem to be a safer option.
2020-01-08 18:36:02 +11:00
Peter Barker 0d04ef19fe ArduCopter: let RC_Channel indicate AUX_FUNC::ARMDISARM needs no initialisation
All users set this.
2020-01-08 18:36:02 +11:00
Randy Mackay 610366e4bd Copter: init aux function cases in alphabetical order 2019-11-12 18:56:13 +11:00
Henry Wurzburg 4a51de724d Copter: move support for ADSB Avoidance enable up to RC_Channel 2019-11-12 13:48:09 +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
Peter Barker b6920e14c8 Copter: remove redundant SurfaceTracking enumeration namespacing
Also rename State to Surface to be more specific about what is being
set/tracked.
2019-10-26 08:08:22 +08:00
Michael du Breuil b42b1c08c4 Copter: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00