Randy Mackay
ae87759e6d
TradHeli: add THROTTLE_MANUAL_HELI
...
Move check_dynamic_flight to run as scheduled task
2013-11-15 22:57:53 +09:00
Randy Mackay
f0f6e85b39
Copter: ARMING_CHECK made into bitmask
...
Allows arming checks to be individually enabled or disabled for baro,
compass, GPS, INS, parameters, RC and board voltage
2013-11-15 17:13:56 +09:00
Jason Short
371dc8c616
Copter: Drift Mode
...
Changes Toy mode declarations to Drift mode.
Requires GPS, Mode 2 transmitter
Drift mode mixes Roll, Pitch and Yaw into a single stick on mode two transmitters.
2013-11-14 14:43:15 +09:00
Randy Mackay
06ce98a2f4
Copter: add SINGLE_FRAME definition
2013-11-12 23:40:32 +09:00
Jason Short
520a535c21
Copter: TOY mode updates
2013-11-02 21:34:48 +09:00
Randy Mackay
798c4e2278
Copter: more Ch7/Ch8 event logging
...
Additional event logging for SaveWP, Fence, Acro trainer, Save Trim
2013-11-01 11:53:16 +09:00
Randy Mackay
2326b2e5f5
Copter: crash checker
...
Crash is determined to have happened when the copter is 20deg more than
the ANGLE_MAX parameter continuously for more than 2 seconds
Not activated when in ACRO mode or while flipping
2013-10-29 22:15:12 +09:00
Andrew Tridgell
92bf4b9c89
Copter: added MAVLink SYSTEM_TIME message
2013-10-24 14:22:47 +11:00
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
2013-10-22 13:13:36 +09:00
Randy Mackay
6c0cb5f84d
AutoTune: bug fix and GCS messages
2013-10-19 21:54:18 +09:00
Randy Mackay
0cbedded0d
Copter: autotune to use 2pos switch only
...
method of recording state also changed
other code clean-up
pair programmed withe Leonard
2013-10-18 13:57:50 +09:00
Randy Mackay
2e75d5dec3
Copter: autotune log when limits reached
2013-10-17 11:05:31 +09:00
Randy Mackay
7e657ce856
AutoTune: abandon tuning if rate P hits minimum
...
Fixes from Leonard
2013-10-09 13:35:43 +09:00
Andrew Tridgell
4b68dd48f7
Copter: use ins.wait_for_sample() for main loop
...
this takes advantage of the INS specific method to wait for a sample
2013-10-08 19:20:34 +11:00
Randy Mackay
31cea0140d
Copter: Leonard's AutoTuning for Roll and Pitch
2013-10-04 15:50:47 +09:00
Randy Mackay
dab4f032f9
Copter: integrate BattMonitor
2013-10-03 11:16:28 +09:00
Randy Mackay
c3f7146f03
Copter: improve check of frame type to catch spelling errors
2013-09-27 14:35:16 +09:00
Randy Mackay
a53d28e018
Copter: remove support for dmp ahrs
2013-09-27 10:42:49 +09:00
Randy Mackay
77b5cb5d3f
Copter: correct typo in error #define
2013-09-24 21:45:52 +09:00
Randy Mackay
c596b27719
Copter: add dataflash error for GPS glitch
2013-09-24 21:41:48 +09:00
Andrew Tridgell
3378c7901a
Copter: added support for the flymaple board
2013-09-24 13:51:28 +10:00
Randy Mackay
fd047cc968
Copter: AUTO ch7/ch8 option
2013-08-19 18:09:23 +09:00
Randy Mackay
3a5a15a15f
Copter: allow CH6 tuning of sonar gain
2013-08-18 15:44:54 +09:00
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.
2013-08-15 16:08:33 +09:00
Randy Mackay
e1fe4946fb
Copter: Sprayer enable added to CH7/CH8 switch
2013-08-05 21:12:29 +09:00
Randy Mackay
49dbdce89c
Copter: split ACRO_P into ACRO_RP_P and ACRO_YAW_P
2013-08-05 21:05:00 +09:00
Randy Mackay
786d6824ae
Copter: Acro Trainer added to Ch7/Ch8 switch
2013-08-05 21:04:55 +09:00
Randy Mackay
21e523b9ac
Copter: Acro trainer separated into limited and leveled
2013-08-05 21:04:53 +09:00
Randy Mackay
39ab4f62ef
Copter: add SPORT mode
2013-08-05 21:04:41 +09:00
Randy Mackay
2c48c20088
Copter: generalize 3 pos switch for all ch7/ch8 options
2013-07-29 16:28:04 +09:00
Olivier-ADLER
87d062905e
Copter: 3 positions switch support for CH7 and CH8 - new 3 positions SIMPLE / SUPERSIMPLE mode
...
3 positions modes must use mode number >= 100
pre-arm check correction for CH7 - CH8 check
2013-07-29 15:12:10 +09:00
Randy Mackay
c3daf78340
Copter: reset loiter target when landed
2013-07-28 18:18:41 +09:00
Randy Mackay
c937fe45e1
Revert "Copter: Remove CH7 & CH8 Enable / Disable of GeoFence"
...
This reverts commit e25b8933f3
.
2013-07-20 15:00:08 +09:00
Randy Mackay
7ea971d948
Copter: check set_mode for failure
...
Previously if set_mode failed it would return the copter to stabilize
mode. With this commit set_mode returns a true/false indicating whether
it succeeded or not so the caller can make the decision as to the
appropriate response which could be to stay in the current flight mode
or try another flight mode.
2013-07-20 11:01:10 +09:00
Craig3DR
e25b8933f3
Copter: Remove CH7 & CH8 Enable / Disable of GeoFence
2013-07-18 17:06:53 +09:00
Randy Mackay
b3da8a462f
Copter: CH6 tuning definition clean-up
...
Renamed and reorganised the CH6 #defines and parameter definitions
2013-06-29 23:51:43 -10:00
Randy Mackay
23ce35d292
Copter: remove unused NAV_WP_INAV #define
2013-06-01 18:21:28 +09:00
Randy Mackay
00bd1bf8ea
Copter: RESETTOARMEDYAW order and comments
...
We should keep the order in the case statement the same as the #define
order.
2013-05-21 10:58:34 +09:00
Dr Gareth Owen
e9d640ced8
added ch7 option to reset yaw back to what it was when quad was armed
2013-05-21 10:40:30 +09:00
Randy Mackay
4ad395e7be
Copter: merge WPNAV into NTUN dataflash message
2013-05-19 22:53:35 +09:00
Randy Mackay
38239c652a
Copter: ch8 aux switch
...
Ch8 can be used as an aux switch like ch7. Has all the same options as
ch7 and there is a safety check to ensure both switches aren't set to
the same function so as to avoid interfering with each other
2013-05-17 14:42:28 +09:00
Randy Mackay
566daf883a
Copter: remove unused MODE bit from LOG_BITMASK
...
We always log the mode so no need for this bit
2013-05-17 12:26:42 +09:00
Randy Mackay
33d1129904
Copter: remove unused TB_RATIO parameter
2013-05-14 16:56:55 +09:00
Randy Mackay
e130c8041c
Copter: remove unused event definitions
2013-05-13 18:07:44 +09:00
Randy Mackay
bb7aec2600
Copter: log compass failur to dataflash
2013-05-13 18:01:30 +09:00
Randy Mackay
ad656c7e8a
Copter: allow lat/lon to be specified for land
2013-05-10 22:37:15 +09:00
Andrew Tridgell
95120ed43d
Copter: use library gcs_severity
2013-05-09 09:28:49 +10:00
Randy Mackay
bab9fa25e5
Copter: add GCS failsafe
2013-04-29 21:30:22 +09:00
Randy Mackay
58d1da2d80
Copter: integrate AC_Fence in place of limits
...
Lesser functionality than limits but saves more than 150 bytes and it
works
2013-04-27 11:14:07 +09:00
Randy Mackay
a53e5f747b
Copter: add fourth yaw behaviour, look-at-home
...
Added get_wp_yaw_mode to remove duplication of checks of the
WP_YAW_BEHAVIOR parameter
2013-04-20 15:36:24 +09:00