Commit Graph

3469 Commits

Author SHA1 Message Date
Randy Mackay
cce876c2f9 Copter: fail to arm if gyro cal fails 2014-10-29 15:36:29 +09:00
Randy Mackay
0ac3267d52 Copter: reset ahrs gyro drift after gyro calibration 2014-10-28 20:25:36 +09:00
Jonathan Challinger
25a2fa67b6 Copter: don't stop logging on disarm when LOG_WHEN_DISARMED is set 2014-10-28 15:19:01 +09:00
Randy Mackay
07a74bc39f Copter: ReleaseNotes for AC3.2-rc14 2014-10-27 22:37:19 +09:00
Randy Mackay
28b98a170b 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:37:56 +09:00
Andrew Tridgell
4c0351a76a Copter: convert to new AP_InertialSensor API 2014-10-24 12:10:38 +11:00
Randy Mackay
0532a4bbc3 Copter: ReleaseNotes for AC3.2-rc13 2014-10-23 22:22:28 +09:00
Randy Mackay
8fc2ccdc76 Copter: remove debug 2014-10-23 22:21:48 +09:00
Randy Mackay
f6ff1742d5 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:29:14 +09:00
benoit35690
f866bf979e Copter: fix compiler warnings in GCS_Mavlink.pde 2014-10-21 12:00:01 +09:00
benoit35690
b63f701fd3 Copter: minor formatting fix 2014-10-21 11:59:48 +09:00
benoit35690
e22130cbc7 Copter: minor format fix 2014-10-21 11:54:35 +09:00
benoit35690
3c01353dcd Copter: fix compiler warning in control_auto.pde 2014-10-21 11:53:17 +09:00
Jonathan Challinger
5fc02bdbc4 Copter: Reduce prearm alt disparity check back to 1m 2014-10-20 10:55:59 +09:00
Randy Mackay
3296eb24b3 Copter: add comments to auto_loiter 2014-10-20 10:54:57 +09:00
Jonathan Challinger
d7d8330303 Copter: loiter copter without accepting user input at end of auto mission 2014-10-20 10:46:14 +09:00
Jonathan Challinger
ef12ea4d3b Copter: fix indentation mistake in motors.pde 2014-10-20 10:43:53 +09:00
squilter
343a673762 Copter: reset ROI when requested, regardless of current MOUNT_MODE 2014-10-20 10:41:06 +09:00
Randy Mackay
a8c96946eb Copter: log DCM reported roll-pitch and yaw error 2014-10-18 20:09:39 +09:00
Randy Mackay
a559a12ea2 Copter: remove LOG_FROM_STARTUP define
This compile-time method is obsolete now that we have the logging while
disarmed feature
2014-10-17 16:40:18 +09:00
Randy Mackay
ebcf582f66 Copter: add NearlyAll-AC315 LOG_BITMASK description 2014-10-17 16:40:13 +09:00
Randy Mackay
dcf72e9b78 Copter: remove extra in_mavlink_delay from should_log function
Also return false when logging disabled
2014-10-17 16:32:39 +09:00
Andrew Tridgell
c3d839456b Copter: support logging while disarmed 2014-10-17 16:29:59 +09:00
Andrew Tridgell
874efe95a1 Copter: fixed parameter path
fixes build of parameters
2014-10-17 15:54:53 +11:00
Randy Mackay
27b73fa209 Copter: enable Optflow by default for Pixhawk only 2014-10-16 21:17:54 +09:00
Randy Mackay
6becb1a722 Copter: add DCM check of yaw error
Triggers an "ekf" failsafe if the DCM yaw error is > 60deg
2014-10-16 17:22:14 +09:00
Randy Mackay
b0e6931ab0 Copter: add DCM_CHECK_THRESH parameter 2014-10-16 17:22:11 +09:00
Randy Mackay
b96e123480 Copter: remove unused Log_Write_IMU function 2014-10-16 15:25:34 +09:00
Randy Mackay
7bd8d48809 Copter: fence breach causes disarm if landed
Previously it would only disarm if the throttle was also at zero.
Pair programmed with Tridge
2014-10-16 14:09:02 +09:00
Andrew Tridgell
26f7ab49e3 Copter: fixed some build warnings 2014-10-16 14:04:11 +09:00
Randy Mackay
4e06970a1c Copter: disable OptFlow in SITL 2014-10-15 20:46:06 +09:00
Randy Mackay
aa3e34a44a Copter: move update_optflow to sensors.pde
Also slightly shorten function name
2014-10-15 16:36:36 +09:00
Randy Mackay
67b7b2d667 Copter: enable optflow by default for Pixhawk 2014-10-15 16:36:31 +09:00
Randy Mackay
7b07b575cf Copter: pilot override used immediately in OF_Loiter
Replace some hard coded numbers with definitions
2014-10-15 16:36:28 +09:00
Randy Mackay
28876b7ef6 Copter: log ground distance from optflow sensor 2014-10-15 16:35:51 +09:00
Randy Mackay
b2e167f9a5 Copter: Of_Loiter uses sensor velocity instead of integrated position 2014-10-15 16:35:45 +09:00
Randy Mackay
3201a8dbca Copter: integrate optflow_enable param move to optflow class 2014-10-15 16:35:43 +09:00
Randy Mackay
717e63f47a Copter: instantiate optflow on Pixhawk
Run sensor reads from scheduler
2014-10-15 16:35:40 +09:00
Randy Mackay
021485fffc Copter: simpler optflow logging
Removed of_loiter control output from message
add TimeMS to OF dataflash log msg
2014-10-15 16:35:38 +09:00
Randy Mackay
765ce2f6ca Copter: optflow parameters moved to optflow class 2014-10-15 16:35:36 +09:00
Randy Mackay
57229345e0 Copter: minor param description updates 2014-10-14 12:42:14 +09:00
Randy Mackay
6a225865ce Copter: accept velocity requests in Auto-Guided mode 2014-10-14 11:27:34 +09:00
Randy Mackay
c636ea9101 Copter: support SET_POSITION_TARGET messages 2014-10-13 21:55:17 +09:00
Randy Mackay
992ce9b69c Copter: remove nav_guided structure
This has been replaced by guided_limit structure
2014-10-13 21:40:26 +09:00
Randy Mackay
6659473420 Copter: support GUIDED_ENABLE and GUIDED_LIMITS
Split of NAV_GUIDED into these two command necessitated guided mode
store the limits
2014-10-13 21:40:24 +09:00
Randy Mackay
e5c3c306bd Copter: remove unused pilot_yaw_override flag 2014-10-13 21:40:21 +09:00
Randy Mackay
8997c224e2 Copter: enable Guided velocity controller for Pixhawk 2014-10-13 21:40:20 +09:00
Jonathan Challinger
dd38ad6bbf Copter: Start logging on arming attempt, rather than on successful arm 2014-10-11 17:32:27 +09:00
Randy Mackay
9d4107f1fc Copter: allow arming in GUIDED only from GCS
Also changed mode_allows_arming function to accept arming_from_gcs param
Also remove AUTOTUNE from arming list
2014-10-11 16:05:32 +09:00
Jonathan Challinger
2b0cffda29 Copter: move all arm check logic into arm_checks 2014-10-11 15:34:12 +09:00