Commit Graph

3385 Commits

Author SHA1 Message Date
Randy Mackay
7e1c975c54 Copter: add DCM check of yaw error
Triggers an "ekf" failsafe if the DCM yaw error is > 60deg
2014-10-16 17:28:42 +09:00
Randy Mackay
470fcc2077 Copter: add DCM_CHECK_THRESH parameter 2014-10-16 17:27:15 +09:00
Jonathan Challinger
71722d2e49 Copter: remove DRIFT and SPORT from manual_flight_mode function 2014-10-11 15:28:28 +09:00
Randy Mackay
6537432b50 Copter: auto-trim start delays auto-disarm by 15sec
Fixes issue in which user only had 5 seconds after starting auto-trim to
raise the throttle before the auto-disarm would kick-in.
2014-10-09 22:42:47 +09:00
Randy Mackay
74e86a3cd7 Copter: version to AC3.2-rc12 2014-10-09 20:18:06 +09:00
Randy Mackay
01a4ad24af Copter: AC3.2-rc12 release notes 2014-10-09 20:17:55 +09:00
Randy Mackay
7f8a68d44a Copter: support pre-flight calibration of gyro 2014-10-09 10:26:05 +09:00
Randy Mackay
661755e05a Copter: report gyro unhealthy if failed calibration 2014-10-09 10:25:52 +09:00
Randy Mackay
eb594775b7 Copter: pre-arm check that gyro cal succeeded 2014-10-09 10:25:47 +09:00
Randy Mackay
a95b8f1b0e Copter: Rate Pitch IMAX default to 1000
Spotted by Jonathan Challinger, thanks!
2014-10-07 21:07:40 +09:00
Randy Mackay
5891cd3078 Copter: disable sonar on APM1 and TradHeli on APM2 2014-10-07 14:13:35 +09:00
Randy Mackay
a1e707b7f9 Copter: cleanup enabling of cli and frsky telem for APM 2014-10-07 12:57:09 +09:00
Randy Mackay
26b5321130 Copter: version to AC3.2-rc11 2014-10-06 11:48:13 +09:00
Randy Mackay
95b2b45a7b Copter: ReleaseNotes for AC3.2-rc11 2014-10-06 11:48:00 +09:00
lthall
e836832595 Copter: increase autotune limits
Rate D max to 0.020 (was 0.015)
Rate P max to 0.35 (was 0.25)
Stab P max to 20 (was 15)
2014-10-03 12:37:40 +09:00
Randy Mackay
400dd94ec5 TradHeli: remove overall throttle level from landing check 2014-10-02 16:14:08 +09:00
Randy Mackay
3b0a308ed2 Copter: only report ahrs unhealthy after initialisation 2014-10-02 15:02:55 +09:00
Randy Mackay
da2a463f18 Copter: shift pos targets to current location before takeoff 2014-09-29 15:28:16 +09:00
Randy Mackay
20d35b4bd1 Copter: bugfix to condition-yaw for relative angles
Thanks to roque-canales for raising the issue and paradisephil for finding
the specific piece of code that went wrong and suggesting the fix.
2014-09-26 12:26:05 +09:00
Randy Mackay
eb89b53714 Copter: version to AC3.2-rc10 2014-09-24 14:29:15 +09:00
Randy Mackay
56242176da Copter: update AC3.2-rc10 release notes 2014-09-24 14:29:14 +09:00
Randy Mackay
a0cb4301a1 Copter: allow passthru for ch 9 ~ 14
Based on work by Emile Castelnuovo
2014-09-24 10:28:41 +09:00
Randy Mackay
d66ffd5b07 Copter: use disparity threshold define for pre-arm checks
There are two duplicate checks, one in the pre-arm checks (i.e. checks
run every 15 seconds or so before the vehicle is armed) and one in the
arming checks (run immediately before arming).  The definition in the
pre-arm checks was still using the old hardcoded value.
2014-09-23 19:33:53 +09:00
Randy Mackay
1cf7f7eaa9 Copter: increase Alt Disparity check to 2m 2014-09-20 12:27:40 +09:00
Randy Mackay
93dbfd009e Copter: rename land_maybe_complete function 2014-09-19 22:41:41 +09:00
Randy Mackay
5f909f1a73 Copter: add land_complete_maybe flag 2014-09-19 22:41:38 +09:00
Randy Mackay
7f9709300c Copter: soften loiter target when maybe landed
Applies to auto's land, land, loiter, pos hold and rtl flight modes
2014-09-19 22:41:35 +09:00
Randy Mackay
a1ea43461a Copter: typo fix for baro vs inav alt disparity definition 2014-09-19 22:41:28 +09:00
Randy Mackay
b8c74b7363 Copter: define limit for baro vs inav alt disparity 2014-09-19 22:41:25 +09:00
Andre Kjellstrup
be2f308802 Copter: reset battery_fs after dis/rearming 2014-09-19 22:41:20 +09:00
Jonathan Challinger
3993927cb7 Copter: Log NTUN while in LAND mode with GPS 2014-09-16 10:35:43 +09:00
Randy Mackay
b212c02057 Copter: version to AC3.2-Iris
Interim release 3DRobotics's use with IRIS+ frames
2014-09-12 15:06:57 +09:00
Randy Mackay
0a3ec84e86 Copter: THR_ACCEL_IMAX default to 800 2014-09-12 15:04:29 +09:00
Randy Mackay
5fd39ce436 Copter: reduce throttle to min once landed in RTL
This catches the case where the vehicle lands but the user doesn't
immediately put the throttle to zero.  Before this check it would
continue to attempt to hold it's
2014-09-12 14:55:36 +09:00
Randy Mackay
64cc4986bd Copter: THR_ACCEL_IMAX param range increased 2014-09-12 14:55:33 +09:00
Randy Mackay
75a1e46d82 Copter: version to AC3.2-rc9 2014-09-11 20:28:43 +09:00
Randy Mackay
a7233c48be Copter: AC3.2-rc9 release notes 2014-09-11 20:28:35 +09:00
Randy Mackay
12f3e96cc1 Copter: version to AC3.2-rc8 2014-09-11 16:36:43 +09:00
Randy Mackay
1ed11c7c37 Copter: AC3.2-rc8 release notes 2014-09-11 16:35:29 +09:00
Randy Mackay
cac10a3041 Copter: never send unhealthy terrain status
Copter does not yet rely on the terrain data (it's for informational
purposes only) so we will temporarily disable the failure flags to the
GCS to avoid support calls
2014-09-09 22:20:33 +09:00
Randy Mackay
e706c24542 Copter: send extended status to GCS only after initialisation 2014-09-09 22:20:31 +09:00
Randy Mackay
4b47a618a4 Copter: reduce alt hold defaults
Throttle Rate P to 5.0 (was 6.0)
Throttle Accel P to 0.5 (was 0.75)
Throttle Accel I to 1.0 (was 1.5)
2014-09-09 16:45:11 +09:00
Randy Mackay
62a4e66481 Copter: increase EKF_CHECK_THRESH default to 0.8
Also remove unused #define related to inertial nav check (now removed)
2014-09-09 15:18:15 +09:00
Randy Mackay
faf124771a Copter: version to AC3.2-rc7 2014-09-04 15:44:10 +09:00
Randy Mackay
fe07df5562 Cotper: AC3.2-rc7 release notes 2014-09-04 15:43:36 +09:00
Randy Mackay
cdc4038f27 Copter: pre-arm consistency check of gyros 2014-09-04 15:23:56 +09:00
Randy Mackay
dbb0283dba Copter: land check gets overall throttle and rotation rate check
add check that overall throttle level is below the non-takeoff throttle
instead of just checking that it's motors have hit their lower limits
because low limits can also be caused by high yaw rotation requests.
Absolute climb rate requirement reduced to 30cm/s
2014-09-04 15:23:53 +09:00
Randy Mackay
b214b8ba15 Copter: add short delay to arming to allow RC input
The short delay gives time for the RC inputs to be processed which
removes the chance of a false-positive on the "late frame" radio check.
A false positive could lead to an immediate disarm right after arming.
2014-09-04 15:23:51 +09:00
Randy Mackay
8e7b93d1b7 Copter: pre-arm consistency check of accels 2014-09-03 13:52:58 +09:00
Randy Mackay
8b91900b74 Copter: individual accel and gyro status to GCS 2014-09-03 11:38:47 +09:00