Commit Graph

33 Commits

Author SHA1 Message Date
Robert Lefebvre
41a6cc64ff Copter: Log Emergency Stop and Motor Interlock status 2015-05-01 14:30:43 +09:00
Robert Lefebvre
4e51ce6d75 Copter: rename "estop" to "emergency stop".
No functional change
2015-05-01 14:30:41 +09:00
Robert Lefebvre
32b4e70cb7 Copter: Deprecate Aux Switch Multi-Mode 2015-05-01 14:30:38 +09:00
Robert Lefebvre
167507e28b Copter: non-functional format fixes in switches.pde 2015-05-01 14:30:35 +09:00
Robert Lefebvre
a357ef43a4 Copter: Move Aux Switch flags into new Enum 2015-05-01 14:30:34 +09:00
Robert Lefebvre
a035d5ad1b Copter: Fix initialization of Motor Interlock Aux Sw function. 2015-05-01 14:30:31 +09:00
Robert Lefebvre
16cf9471ae Copter: Remove ap.motors_interlock, use only flag in AP_Motors 2015-05-01 14:30:31 +09:00
Robert Lefebvre
7349827eb1 Copter: Add Aux Switch E-Stop Function 2015-05-01 14:30:26 +09:00
Robert Lefebvre
e4c5915330 Copter: initial creation of motor_interlock 2015-05-01 14:30:21 +09:00
Andrew Tridgell
cb2427ef9e Copter: removed special cases for DCM gain changes on arm/disarm
copter no longer uses DCM, so it doesn't need these special cases
2015-04-28 14:07:39 +10:00
Randy Mackay
ea5c24b70b Copter: rename lost_copter to vehicle_lost 2015-04-13 17:44:44 +09:00
Jaime Machuca
3c00b0a0a8 Copter: ch7/ch8 for lost copter sound 2015-04-13 17:44:39 +09:00
Randy Mackay
d9b65cec22 Copter: fix compiler error re ch9, ch12 on some boards
channel 9 and 12 are not exist on some builds.
2015-03-17 22:16:48 +09:00
Randy Mackay
3be0a47c02 Copter: minor formatting fix 2015-03-17 21:18:51 +09:00
Robert Lefebvre
fd0cb0beed Copter: Create check_duplicate_auxsw() method to streamline pre-arm check code 2015-03-17 21:18:48 +09:00
Robert Lefebvre
1afeb05398 Copter: Create check_if_auxsw_mode_used() to check for function usage 2015-03-17 21:18:47 +09:00
Robert Lefebvre
97cd3614eb Copter: Change Aux Switch function list to enum. 2015-03-17 21:18:46 +09:00
Robert Lefebvre
a5af151a91 Copter: Initial expansion of Aux Switch to Ch7-12 2015-03-17 21:18:41 +09:00
Randy Mackay
2a47337dc1 Copter: fix multiple flight-mode fail log messages
When the vehicle failed to enter a flight mode it was logging the
failure repeatedly in the dataflash
2015-03-13 22:15:27 +09:00
Randy Mackay
0476558049 Copter: remove USE_EKF from ch7/ch8 switch 2015-03-13 16:40:20 +09:00
Randy Mackay
06d1a4c59f Copter: use LandingGear command mode enum 2015-01-07 11:58:23 +09:00
Robert Lefebvre
e10e020062 Copter: Add Landing Gear functionality to main code 2015-01-07 11:58:16 +09:00
Randy Mackay
79e40b4f6a Copter: do not send mode_change event before init complete
This avoids a beep as the flight mode is set during start-up
2014-12-15 14:10:23 +09:00
Randy Mackay
6a15d21704 Copter: minor format change 2014-12-15 14:10:13 +09:00
Jonathan Challinger
f045c75bfe Copter: play various tones 2014-12-15 14:09:12 +09:00
Brad Bosch
74fedc0897 Copter: allow starting autotune from flightmode switch
ch5 switch to AutoTune is equivalent to starting autotune via sw7/8.
2014-11-05 21:08:36 +09:00
Randy Mackay
8a61f5acd2 Copter: add comments to control switch debouncing 2014-10-31 15:48:28 +09:00
Jonathan Challinger
5c8b39562f Copter: rework control switch debouncing 2014-10-31 15:30:27 +09:00
Randy Mackay
3fa3cb6d65 Copter: remove EPM neutral from ch7/ch8 switch
The EPM library returns the pwm output sent to the EPM to the neutral
position automatically meaning an explicit ch7/ch8 setting is not
required
2014-09-17 21:13:45 +09:00
Randy Mackay
14d80910ec Copter: integrate EPM ver2 2014-09-17 21:13:35 +09:00
Jason Short
882edaf787 Copter: add pitch axis flipping
Added Pitch axis flipping. You must be pushing forward or back 3° to make it flip in Pitch axis or it will flip in the default roll axis.
Added some extra throttle control to maintain altitude
removed the CH7 ability to exit Flip mode. It will exit only if completing flip or user aborts with control sticks.
2014-08-23 23:40:07 +09:00
Randy Mackay
0518439841 Copter: move relay from ch6 to ch7/ch8 2014-08-09 13:37:12 +09:00
Randy Mackay
77d5b2171e Copter: rename control_modes.pde to switches.pde 2014-07-31 15:00:04 +09:00