Randy Mackay
ea5c24b70b
Copter: rename lost_copter to vehicle_lost
10 years ago
Jaime Machuca
3c00b0a0a8
Copter: ch7/ch8 for lost copter sound
10 years ago
Randy Mackay
d9b65cec22
Copter: fix compiler error re ch9, ch12 on some boards
...
channel 9 and 12 are not exist on some builds.
10 years ago
Randy Mackay
3be0a47c02
Copter: minor formatting fix
10 years ago
Robert Lefebvre
fd0cb0beed
Copter: Create check_duplicate_auxsw() method to streamline pre-arm check code
10 years ago
Robert Lefebvre
1afeb05398
Copter: Create check_if_auxsw_mode_used() to check for function usage
10 years ago
Robert Lefebvre
97cd3614eb
Copter: Change Aux Switch function list to enum.
10 years ago
Robert Lefebvre
a5af151a91
Copter: Initial expansion of Aux Switch to Ch7-12
10 years ago
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
10 years ago
Randy Mackay
0476558049
Copter: remove USE_EKF from ch7/ch8 switch
10 years ago
Randy Mackay
06d1a4c59f
Copter: use LandingGear command mode enum
10 years ago
Robert Lefebvre
e10e020062
Copter: Add Landing Gear functionality to main code
10 years ago
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
10 years ago
Randy Mackay
6a15d21704
Copter: minor format change
10 years ago
Jonathan Challinger
f045c75bfe
Copter: play various tones
10 years ago
Brad Bosch
74fedc0897
Copter: allow starting autotune from flightmode switch
...
ch5 switch to AutoTune is equivalent to starting autotune via sw7/8.
10 years ago
Randy Mackay
8a61f5acd2
Copter: add comments to control switch debouncing
10 years ago
Jonathan Challinger
5c8b39562f
Copter: rework control switch debouncing
10 years ago
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
11 years ago
Randy Mackay
14d80910ec
Copter: integrate EPM ver2
11 years ago
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.
11 years ago
Randy Mackay
0518439841
Copter: move relay from ch6 to ch7/ch8
11 years ago
Randy Mackay
77d5b2171e
Copter: rename control_modes.pde to switches.pde
11 years ago
svefro
e892b4cd04
Copter: Ch7/8 option to retract mount
...
-Define AUX_SWITCH_RETRACT_MOUNT in defines.h
-Added 27=Retract Mount to Parameters.pde CH7 and CH8
-added int on CH7/8opt AUX_SWITCH_RETRACT_MOUNT
-Added Case #if Mount == ENABLE to set mount mode
made set_mode public in AP_Mount.h lib
11 years ago
Andrew Tridgell
6416a4d0e6
Copter: fixed apm1-hil build
11 years ago
Andrew Tridgell
a4b9b989b7
Copter: convert to new AP_RangeFinder API
11 years ago
Randy Mackay
810c87969c
Copter: Ch7/8 switch to enable/disable feed forward and accel limiting
11 years ago
Andrew Chapman
3f0a52cb53
Copter: ch7/8 switch for auto pause/continue
...
- added new mode for CH7/CH8 (#24 , auto mission reset)
- changed mission.start() to mission.start_or_resume() in auto_init()
11 years ago
Randy Mackay
47c1cb8b99
Copter: log parachute events
11 years ago
Randy Mackay
56768a8d61
Copter: add min alt check to parachute release
11 years ago
Randy Mackay
340f3a7f9d
Copter: ch7/ch8 parachute release
11 years ago
Randy Mackay
fa96e9355b
Copter: init cmd before saving with Ch7/Ch8
11 years ago
Randy Mackay
c3162f67e8
Copter: integrate move of p1 from Location to mission cmd
11 years ago
Randy Mackay
43c7310540
Copter: ch7 save wp feature to use ap_mission
11 years ago
Andrew Tridgell
a112694a50
Copter: added AUX switch option for enable/disable EKF
11 years ago
Randy Mackay
aec67cd3df
Copter: integrate control_autotune
11 years ago
Randy Mackay
d90d3d8dca
Copter: integrate control_flip
11 years ago
Randy Mackay
bca309eb1e
Copter: replace takeoff_complete with landed_complete
11 years ago
Randy Mackay
8e40cbdd7f
Copter: disable ch7/8 feature to point at armed yaw
11 years ago
Andrew Chapman
b7eab7ea22
Copter: Added GCS feedback for save_trim()
...
Trim save gives no feedback, so I've added a gcs_send_text() call to
print "Trim saved" so the user knows to re-center trims again
11 years ago
ctech4285
2b5d8aa5b7
Copter: integrate EPM library
11 years ago
Randy Mackay
59cea4b88c
Copter: remove CopterLED from main code
11 years ago
Jason Short
2a82d1b0b0
Copter: CH7 SaveWP fix corner case
...
If the user is on the ground and flips CH7, do nothing instead of recording a bad takeoff altitude. Do another check to avoid a land right after a takeoff.
11 years ago
Randy Mackay
798c4e2278
Copter: more Ch7/Ch8 event logging
...
Additional event logging for SaveWP, Fence, Acro trainer, Save Trim
11 years ago
Randy Mackay
babc54ec60
Copter: default Ch7 to DO_NOTHING
...
Ch7/Ch8 Save_WP feature triggers when switch is brought high (instead of
low) to be consistent with other aux features
11 years ago
Randy Mackay
fb49cd82c1
Copter: add LAND to aux switch
...
Fix aux switch AUTO and RTL so they resets flight mode if still in those
modes when switch brought low
11 years ago
Randy Mackay
6c0cb5f84d
AutoTune: bug fix and GCS messages
11 years ago
Randy Mackay
0cbedded0d
Copter: autotune to use 2pos switch only
...
method of recording state also changed
other code clean-up
pair programmed withe Leonard
11 years ago
Randy Mackay
9435eb4a15
Copter: remove unused flags and consolidate ap and ap_system
12 years ago
Randy Mackay
0c0de7c53e
Copter: simple mode speedup
...
super simple and simple mode headings separated
g.super_simple converted into a bitmap by flight mode switch position
12 years ago