Commit Graph

2550 Commits

Author SHA1 Message Date
Randy Mackay
917d9226b2 Copter: formatting fix to config.h 2013-11-23 17:03:58 +09:00
Robert Lefebvre
7e49f630ad TradHeli: Change default Auto-Yaw to Yaw Look Ahead
This leads to smoother flight in Auto modes, particularly with fast waypoints.
2013-11-23 17:03:55 +09:00
Jason Short
558dd6db04 Copter: updated toy gains 2013-11-23 17:03:53 +09:00
Jason Short
945b9260b5 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.
2013-11-23 17:03:46 +09:00
Randy Mackay
bb0f18e2d4 Copter: remove unused get_acro_yaw 2013-11-23 17:03:44 +09:00
Jason Short
cbbd3ae50e Copter: remove unused Toy param 2013-11-23 17:03:42 +09:00
Jason Short
60775e94b9 Copter: TOY mode updates 2013-11-23 17:03:41 +09:00
Andrew Tridgell
4194b2fdd7 Copter: int gyros on arm, not on first boot
this makes first boot much faster
2013-11-23 17:03:25 +09:00
Randy Mackay
d06d999903 Copter: arming check that throttle is above failsafe 2013-11-23 17:03:23 +09:00
Randy Mackay
a692790342 Copter: disable autotune if pilot moves yaw stick 2013-11-23 17:03:22 +09:00
Randy Mackay
81ac548e2c Copter: recalc distance to home during arming
fixes an rare edge case in which the fence could trigger immediately
after arming
2013-11-23 17:03:20 +09:00
Randy Mackay
c824ccfb38 Copter: more Ch7/Ch8 event logging
Additional event logging for SaveWP, Fence, Acro trainer, Save Trim
2013-11-23 17:03:18 +09:00
Randy Mackay
249c757b94 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
2013-11-23 17:03:17 +09:00
Randy Mackay
12093f4dd6 Copter: rc10, rc11 available even without MOUNT 2013-11-23 17:03:15 +09:00
Randy Mackay
1a8feee298 Copter: disable some aux channels on hexa and octas
Resolves issue #324
2013-11-23 17:03:12 +09:00
Randy Mackay
7f8e9ea27f Copter: remove some commented out send_text code 2013-11-23 17:03:09 +09:00
Randy Mackay
3e139adf08 Copter: add alt and throttle checks to crash detector 2013-11-23 17:03:07 +09:00
Randy Mackay
30d908e2fa 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-11-23 17:03:05 +09:00
Randy Mackay
b4c8dd5a41 Copter: add ANGLE_RATE_MAX param
Limits the maximum rotation rate requested by the angle controller which
is used in stabilize, loiter, rtl and auto flight modes
2013-11-23 17:03:02 +09:00
Randy Mackay
05cf1015fc Copter: add @Increment to battery failsafe descriptions 2013-11-23 17:03:00 +09:00
Andrew Tridgell
c700f61ffa Copter: fixed HIL build 2013-11-23 17:02:54 +09:00
Andrew Tridgell
f1ebd036b0 Copter: fixed baro-only preflight cal
this was causing a full level, which mucked up the INS calibration
2013-11-23 17:02:46 +09:00
Randy Mackay
eee7a1de22 Copter: remove unused #defines from config.h 2013-11-23 17:02:43 +09:00
Randy Mackay
9a6c61d42f Copter: add features that can be disabled to APM_Config.h 2013-11-23 17:02:41 +09:00
Randy Mackay
8b293f10a4 Copter: remove ins from InertialNav object instantiation 2013-11-23 17:02:32 +09:00
Tobias
aac51eb670 Copter/position_vector: remove const specifiers on objects returned by
value
2013-11-23 17:02:29 +09:00
Tobias
3b718e8dd5 Copter: use const refs instead of unneeded copies 2013-11-23 17:02:12 +09:00
Tobias
e313647aa0 Copter: Log.pde: replace unused copy with ref (saves again some bytes) 2013-11-23 17:02:06 +09:00
Tobias
ac463652f4 Copter: add comment (unit of G_Dt) 2013-11-23 17:02:00 +09:00
Randy Mackay
c7d16d2c3b Copter: remove unnecessary check of flight mode from fence response 2013-11-23 17:01:51 +09:00
Randy Mackay
fcc1b8e190 Copter: report RC receiver health to GCS 2013-11-23 17:01:50 +09:00
Andrew Tridgell
0fd28e3e99 Copter: set system time on GPS lock 2013-11-23 17:01:42 +09:00
Andrew Tridgell
b68b624b30 Copter: added MAVLink SYSTEM_TIME message 2013-11-23 17:01:31 +09:00
Randy Mackay
ae89c028e5 Copter: remove unnecessary Log_Write_Optflow 2013-11-23 17:01:21 +09:00
Randy Mackay
d39de52e2f Copter: reenable optical flow by default
correct optflow test compile error
2013-10-23 20:43:14 +09:00
Randy Mackay
8ea3e68620 Copter: bug fix for loading missions while armed 2013-10-23 14:12:03 +09:00
Randy Mackay
030f479ac1 Copter: firmware update to AC3.1-rc5 2013-10-22 16:04:13 +09: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
c98d375e49 Copter: update @Units to pwm on throttle params 2013-10-21 20:33:56 +09:00
Randy Mackay
bbc4cb263f Copter: only allow autotuning when flying 2013-10-21 17:58:10 +09:00
Randy Mackay
6b9b5c5617 Copter: pre-arm check speed is less than 50cm/s 2013-10-20 21:56:00 +09:00
Randy Mackay
5499c6ea6d Copter: autotune bug fix for starting autotune
log completion to dataflash
2013-10-20 13:54:36 +09:00
Randy Mackay
6d76652e48 Copter: autotune set original gains on reset
Update from Leonard
2013-10-20 11:47:59 +09:00
Michael Oborne
78c4e03fd5 sensor hil fix 2013-10-19 23:04:22 +09:00
Randy Mackay
4036f50fc2 Copter: bug fix to convert old batt params to BATT_ lib 2013-10-19 22:55:47 +09:00
Randy Mackay
6c0cb5f84d AutoTune: bug fix and GCS messages 2013-10-19 21:54:18 +09:00
Randy Mackay
390a8c02a5 Copter: enable AUTOTUNE by default 2013-10-18 13:58:08 +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
c59dee045c Copter: autotune restore orig pids if user changes flight mode 2013-10-17 10:56:53 +09:00