Commit Graph

3406 Commits

Author SHA1 Message Date
Randy Mackay
ddb8796d2c Copter: return false when arming fails 2014-10-29 15:59:54 +09:00
Randy Mackay
683f3a55c4 Copter: re-enable CPU failsafe if arming fails 2014-10-29 15:59:22 +09:00
Randy Mackay
dc3509ef55 Copter: fail to arm if gyro cal fails 2014-10-29 15:45:56 +09:00
Randy Mackay
7b4cd9ee37 Copter: reset ahrs gyro drift after gyro calibration 2014-10-29 15:42:22 +09:00
Jonathan Challinger
ef0b934b10 Copter: don't stop logging on disarm when LOG_WHEN_DISARMED is set 2014-10-29 15:42:16 +09:00
Randy Mackay
a9e6c06f1a Copter: update version to AC3.2-rc14 2014-10-27 22:27:27 +09:00
Randy Mackay
1921e22265 Copter: ReleaseNotes for AC3.2-rc14 2014-10-27 22:27:14 +09:00
Randy Mackay
3a8d4cdcda Copter: fix to dcm-check to be continuous
dcm-check was triggering after 10 bad headings but these did not need to
be continuous meaning if the vehicle was flown long enough it would
almost certainly trigger a dcm-check failure and land
2014-10-27 12:39:24 +09:00
Randy Mackay
83a5102ec5 Copter: version to AC3.2-rc13 2014-10-23 22:20:10 +09:00
Randy Mackay
4bd3f593ef Copter: ReleaseNotes for AC3.2-rc13 2014-10-23 22:20:07 +09:00
Randy Mackay
fdf6aa5492 Copter: shorten ESC calibration message 2014-10-23 22:19:58 +09:00
Randy Mackay
8b87a407ed Copter: remove debug 2014-10-23 22:19:55 +09:00
Randy Mackay
00f9882241 Copter: remove DO_MOUNT_CONFIGURE support
The functions in the mount lib didn't work anyway
2014-10-23 22:19:48 +09:00
Randy Mackay
43c5a70424 Copter: completely disable vel controller 2014-10-23 22:19:44 +09:00
Randy Mackay
0d2954b5a4 Copter: landing detector checks baro climb rate
Barometer climb rate must be -150cm/s ~ +150cm/s
This threshold is generous because we already use the inertial
navigation climb rate so this is just to catch cases where inertial nav
is very incorrect in it's climbrate estimates
2014-10-22 17:40:53 +09:00
Jonathan Challinger
0335138683 Copter: print frame type in log headers 2014-10-22 14:57:31 +09:00
Randy Mackay
8da15cb409 Copter: check target of set-mode request from GCS
Issue discovered and fix contributed by Deadolous
2014-10-20 13:57:21 +09:00
Randy Mackay
9d76d3b423 Copter: log DCM reported roll-pitch and yaw error 2014-10-18 20:14:32 +09:00
Randy Mackay
92225dc5db Copter: add NearlyAll-AC315 LOG_BITMASK description 2014-10-17 21:34:02 +09:00
Randy Mackay
d58f7ada62 Copter: remove extra in_mavlink_delay from should_log function
Also return false when logging disabled
2014-10-17 21:33:58 +09:00
Andrew Tridgell
c093160ea9 Copter: support logging while disarmed 2014-10-17 21:33:52 +09:00
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