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
Randy Mackay
ba92c4891a
Copter: make AutoTune a compile-time option
12 years ago
Randy Mackay
31cea0140d
Copter: Leonard's AutoTuning for Roll and Pitch
12 years ago
Randy Mackay
5cac1b3c92
Copter: ignore aux switch during radio failsafe
12 years ago
Randy Mackay
6b97994dcd
Copter: ignore switch changes during transitions in or out of radio failsafe
12 years ago
Randy Mackay
7cc8a9038f
Copter: move failsafe flags into structure
12 years ago
Randy Mackay
a68966e077
Copter: integrate sprayer pump test
12 years ago
Randy Mackay
52ef77393c
Copter: integrate Toshiba_LED_PX4
12 years ago
Randy Mackay
e985253f1a
Copter: integrate notify
12 years ago
Randy Mackay
fd047cc968
Copter: AUTO ch7/ch8 option
12 years ago
Randy Mackay
69da4e99f8
Copter: add ch7/ch8 Auto and Land option
...
CH7/CH8 high initiates AUTO mode, low initiates Land. Ideally high
would be a new take-off flight mode so this may need some rework.
12 years ago