Bill Geyer
2fa54f0df4
Copter: start engine flag not used and style cleanup
3 years ago
Ferruccio1984
84bf3fb74e
Copter: Tradheli support for turbine start
3 years ago
Leonard Hall
23711b7b10
Copter: Add support for Force Flying
3 years ago
Peter Barker
285d752143
ArduCopter: create and use AP_OPTICALFLOW_ENABLED
...
Including a define for each backend.
3 years ago
MidwestAire
fb6db5e564
Copter:Heli - changes for new Heli_RSC control modes
...
move rpm out of case switch so it updates outside of autothrottle_run()
3 years ago
murata
a6af0e87fc
Copter: Change the auto mode judgment to address
3 years ago
Iampete1
07824fc963
Copter: support ARMDISARM_AIRMODE
3 years ago
Iampete1
804efb51e0
Copter: Only run AP_ARMING throttle arming check if PILOT_THR_BHV bit "Feedback from mid stick" is not set
3 years ago
Iampete1
ed83edc2a6
Copter: add SIMPLE_HEADING_RESET RCx_OPTION
3 years ago
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
4 years ago
Iampete1
9f5591be02
Copter: notify buzzer on every flight mode change
4 years ago
Iampete1
cc53db406d
Copter: treat Auto RTL the same as Auto
4 years ago
Iampete1
b63cc809ce
Copter: add AUTO RTL pseudo mode, DO_LAND_START
4 years ago
Peter Barker
cc90eddc82
ArduCopter: log auxillary function invocations
4 years ago
Peter Barker
ce9800e597
ArduCopter: return MAV_RESULT_FAILED from do_aux_function if invalid function
4 years ago
Tatsuya Yamaguchi
2b89ac625f
Copter: add allows_save_trim function to Mode class
4 years ago
Tatsuya Yamaguchi
0cce5699b2
Copter: change from control_mode to flightmode
4 years ago
Hwurzburg
e015956b6e
Copter: move RETRACT_MOUNT option to common for all vehicles
4 years ago
Hwurzburg
8484e8271f
Copter: fix init of RC option 52
5 years ago
Hwurzburg
08e89b0b96
Copter: Add RC option for ACRO mode in Copter
5 years ago
Randy Mackay
09bf76d9a4
RC_Channel: correct winch switch comment
5 years ago
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
5 years ago
Randy Mackay
6ea3c2a091
Copter: compile fix for winch
5 years ago
Andy Piper
54c3d07547
Copter: make make/gimbal configurable on a per-board basis
5 years ago
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
5 years ago
Andy Piper
8d2f2443a2
Copter: add air mode aux function
5 years ago
Peter Barker
0eb03ba7d5
Copter: make SuperSimple type-safe
5 years ago
Peter Barker
a629e91f30
ArduCopter: rename 'enum aux_switch_pos_t' to 'enum class AuxSwitchPos'
5 years ago
Tatsuya Yamaguchi
78fd5fac04
Copter: allow to resume in ZigZag Auto
5 years ago
Tatsuya Yamaguchi
7bc528097d
Copter: support zigzag auto feature
5 years ago
murata
923237ffd3
Copter: Enumerate A and B points of ZigZag
5 years ago
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.
5 years ago
Randy Mackay
c4b5d47e1f
Copter: white space fixes
5 years ago
Michael du Breuil
132fe82ad2
Copter: Report what channel is used for rudder arming
5 years ago
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
5 years ago
bnsgeyer
64f98622c0
Copter: fix tradheli RSC RC passthrough mode
...
Copter: heli get_pilot_desired_rotor_speed converts interlock input to desired rotor speed
5 years ago
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.
5 years ago
Peter Barker
0d04ef19fe
ArduCopter: let RC_Channel indicate AUX_FUNC::ARMDISARM needs no initialisation
...
All users set this.
5 years ago
Randy Mackay
610366e4bd
Copter: init aux function cases in alphabetical order
5 years ago
Henry Wurzburg
4a51de724d
Copter: move support for ADSB Avoidance enable up to RC_Channel
5 years ago
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.
5 years ago
Peter Barker
b6920e14c8
Copter: remove redundant SurfaceTracking enumeration namespacing
...
Also rename State to Surface to be more specific about what is being
set/tracked.
5 years ago
Michael du Breuil
b42b1c08c4
Copter: Support new AP_Vehicle::set_mode
5 years ago
Peter Barker
f7ba79e493
Copter: canonicalize on STANDBY rather than STANDY_BY
5 years ago
Leonard Hall
50a098c359
Copter: Standby functions
5 years ago
Randy Mackay
1c4f47f882
Copter: add upward facing surface tracking
5 years ago
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.
5 years ago
Peter Hall
e1b982c99c
Copter: RC_Channel: remove fence
6 years ago
Peter Barker
4b51239920
Copter: move mission reset aux switch option to RC_Channel
6 years ago
SergeyBokhantsev
300ee173ce
Copter: fix user aux functions
6 years ago