Commit Graph

935 Commits

Author SHA1 Message Date
Randy Mackay 8a61f5acd2 Copter: add comments to control switch debouncing 2014-10-31 15:48:28 +09:00
Jonathan Challinger 5c8b39562f Copter: rework control switch debouncing 2014-10-31 15:30:27 +09:00
Jonathan Challinger b0594e8d56 Copter: supply wp_nav with attitude_control 2014-10-31 15:23:54 +09:00
Andrew Tridgell 4c0351a76a Copter: convert to new AP_InertialSensor API 2014-10-24 12:10:38 +11: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
Andrew Tridgell c3d839456b Copter: support logging while disarmed 2014-10-17 16:29:59 +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 aa3e34a44a Copter: move update_optflow to sensors.pde
Also slightly shorten function name
2014-10-15 16:36:36 +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 992ce9b69c Copter: remove nav_guided structure
This has been replaced by guided_limit structure
2014-10-13 21:40:26 +09:00
Jonathan Challinger 96f50b7cd7 Copter: add throttle_zero state 2014-10-08 20:54:19 +09:00
Jonathan Challinger fa9d10e59b Copter: log CURR message at 10hz 2014-10-08 20:49:36 +09:00
Randy Mackay b9977a1115 Copter: add land_complete_maybe flag 2014-09-19 16:43:15 +09:00
Randy Mackay 14d80910ec Copter: integrate EPM ver2 2014-09-17 21:13:35 +09:00
Jonathan Challinger 8ca4795ffb Copter: Log NTUN while in LAND mode with GPS 2014-09-16 10:19:33 +09:00
Randy Mackay bf18fb896a Copter: send extended status to GCS only after initialisation 2014-09-09 22:17:46 +09:00
Randy Mackay 7d350735df TradHeli: update AttControlHeli constructor
reference to rc_1, rc2 are replaced with constant updates during
acro_run
2014-08-22 16:29:02 +09:00
Robert Lefebvre 82061bc65d TradHeli: Add pointer for pilot roll/pitch inputs to attitude_control constructor. To be used for flybar passthrough. 2014-08-22 16:28:40 +09:00
Randy Mackay fcc5c7c12e Copter: update master firmware ver to AC3.3-dev
Further AC3.2 fixes will appear in the ArduCopter-3.2 branch
2014-08-18 11:45:54 +09:00
Randy Mackay 7202aa00da Copter: remove compass learn of offsets
This saves 1k of flash and the interference on most copters makes this
option unusable anyway.
2014-08-16 10:45:11 +09:00
Randy Mackay 515cb7c671 Copter: AC3.2-rc5 version and release notes 2014-08-14 21:38:56 +09:00
Andrew Tridgell e260f1c569 Copter: convert to using StorageManager 2014-08-13 18:46:44 +10:00
Randy Mackay 0518439841 Copter: move relay from ch6 to ch7/ch8 2014-08-09 13:37:12 +09:00
Andrew Tridgell 4d284a695d Copter: fix for changed AP_Terrain API 2014-08-06 17:59:19 +10:00
Randy Mackay 8a07701d07 Copter: remove ch6 tuning of INAV_TC
Users normally never change these parameters and if by chance they do want
to, they can set them before flying
2014-08-01 15:14:42 +09:00
Randy Mackay 3e6e776360 Copter: of-loiter unavailable if OPTFLOW not enabled
of-loiter was small but still present even when optflow was disabled
2014-08-01 15:14:32 +09:00
Randy Mackay 7a2288523e Copter: version and release notes for AC3.2-rc4 2014-08-01 13:56:09 +09:00
Matthias Badaire 147e91877e Copter: Add SERIAL2_PROTOCOL for GCS and FRsky telemtry
this allows selection of protocol type on telem2. The default is
MAVLink, but can be selected as FrSky protocol
2014-07-29 17:08:19 -07:00
Randy Mackay 7cc1501dc6 Copter: integrate baro glitch protection 2014-07-28 22:16:20 +09:00
Andrew Tridgell 8e65e5bff0 Copter: replace HAVE_AP_TERRAIN with AP_TERRAIN_AVAILABLE 2014-07-25 07:59:54 +10:00
Andrew Tridgell 0562907d9f Copter: added AP_Terrain library 2014-07-24 21:46:06 +10:00
Randy Mackay 7bda6cbadf Copter: integrate EKF check
Check runs at 10hz
Log ekf check failures and ekd failsafes
2014-07-22 23:13:25 +09:00
Jonathan Challinger fc34a2fed1 Copter: updated AttitudeControl ctor call to reflect changes 2014-07-16 14:40:58 +09:00
Randy Mackay b6ef3dc5d7 Copter: add parenthesis around ntun log bitmask
Resolves one compiler warning
2014-07-16 14:40:45 +09:00
Andrew Tridgell 49954a3a61 Copter: use sensors from board subtypes 2014-07-14 09:44:35 +10:00
Andrew Tridgell fa4abdb0ae Copter: added support for MPU9250 2014-07-14 09:44:34 +10:00
Randy Mackay 34bc136a6c Copter: AC3.2-rc3 version and release notes 2014-07-11 14:18:48 +09:00
Randy Mackay 65e5367619 Copter: rename hybrid to poshold 2014-07-11 14:09:01 +09:00
Robert Lefebvre 8eb557d1e0 TradHeli: Add Heli.h file 2014-07-08 20:18:10 +09:00
Robert Lefebvre 1f422c86c1 Arducopter: Add independent rate roll and pitch P, I, D tuning options. Add rate feedforward tuning options for tradheli. 2014-07-08 20:18:08 +09:00
Robert Lefebvre ff71b0fa35 TradHeli: Create new function to move data between AP_MotorsHeli and AP_AttitudeControl. 2014-07-08 20:17:57 +09:00
Robert Lefebvre 1aa3961151 Arducopter: Improve comments for scheduler. Add timing table for AVR processors. 2014-07-08 20:17:54 +09:00
Andrew Tridgell a4b9b989b7 Copter: convert to new AP_RangeFinder API 2014-07-08 15:08:18 +10:00
Randy Mackay f5640dadbf Copter: guided mode velocity controller 2014-07-06 17:01:08 +09:00
Randy Mackay fdc0ec837b Copter: add nav_guided suport to Auto mode 2014-07-06 17:00:31 +09:00
Niels Joubert 4abbda616f ArduCopter: GPS Callback for calculating base position 2014-06-30 10:29:56 +10:00
Randy Mackay d0194b7a9d Copter: remove home variable
home has moved to ahrs
saves 15 bytes of RAM
2014-06-11 11:05:15 +09:00
Randy Mackay 4221833028 Copter: flip records starting attitude
Previously flip relied on the attitude controller not updating the earth
frame target during the flip which can't be guaranteed.  Safer for flip
to maintain it's own copy of the original attitude .
2014-06-10 20:02:32 +09:00
Robert Lefebvre 5ee87f7561 Copter: Change TradHeli to use new AC_HELI_PID class. 2014-05-29 17:39:04 +09:00
Randy Mackay d4a892c650 Copter: AC3.2-rc2 release notes and version 2014-05-27 14:44:15 +09:00