Commit Graph

958 Commits

Author SHA1 Message Date
Robert Lefebvre 20fce5c9ff Copter: Move landing gear code into new file 2015-01-07 11:58:20 +09:00
Robert Lefebvre fd61c3179a Copter: Remove relay pointer from LandingGear object 2015-01-07 11:58:18 +09:00
Robert Lefebvre e10e020062 Copter: Add Landing Gear functionality to main code 2015-01-07 11:58:16 +09:00
Staroselskii Georgii 84a15304a1 Copter: added AK8963 support 2015-01-07 08:41:13 +11:00
Andrew Tridgell c784ee717b Copter: update for new OptFlow API 2015-01-03 14:16:33 +11:00
Randy Mackay b6bcf841e1 Copter: remove second camera mount 2014-12-16 21:26:20 +09:00
Randy Mackay aba829678a Copter: optflow instantiation format change
No functional change
2014-12-08 14:58:26 +09:00
Randy Mackay c93c7af20c Copter: move update_optflow to sensors.pde
No functional change
2014-12-08 14:58:25 +09:00
Randy Mackay 67fdfffc2a Copter: remove OF_Loiter PIDs and tuning 2014-12-08 14:58:18 +09:00
priseborough 9e7709fa09 Copter: Expand EKF speed limit public method to handle control limits 2014-12-06 18:16:50 +11:00
priseborough 9844dacf40 Copter: Add EKF ground speed limit to loiter speed control
This is required to prevent the speed controller saturating the optical flow sensor during low altitude flying.
2014-12-06 18:16:50 +11:00
priseborough 715d64dce9 Copter: Check for new optical flow updates at 200Hz
Supports use of higher flow read rates if required.
2014-12-06 18:16:48 +11:00
priseborough 468c83c074 Copter : Check for new optical flow readings every 10ms
The driver polls the sensor asynchronously every 100 msec, so we need to continually check for new data.
2014-12-06 18:16:48 +11:00
priseborough 45c007d216 Copter : Correct comment on required optical flow update rate 2014-12-06 18:16:47 +11:00
priseborough a72b6b179b Copter : Modify EKF optical flow data interface 2014-12-06 18:16:46 +11:00
priseborough 311206017c Copter : Update EKF optical flow data interface
Makes it compatible with the new PX4Flow interface
2014-12-06 18:16:46 +11:00
priseborough 27f9289391 Copter : Add range finder measurements to EKF optical flow data 2014-12-06 18:16:44 +11:00
priseborough 635e593d55 Copter : temporary mods to test use of flow sensor internal gyro data 2014-12-06 18:16:44 +11:00
priseborough 34249ffa42 Copter : EKF optical flow fusion support preliminary changes
Assumes optflow sensor has been modified to push data at a low rate, eg 10Hz
and velocity data is angular velocity, not linear velocity
2014-12-06 18:16:44 +11:00
priseborough 20e715aa13 Copter : Remove ADNS3080 flow sensor support 2014-12-06 18:16:43 +11:00
priseborough 5ef2208017 Copter: Change flow sensor read sample rate to 10Hz 2014-12-06 18:16:43 +11:00
Randy Mackay 7be78621f4 Copter: run_nav_updates at 50hz on Pixhawk, 25hz on APM2
Based on work by Jon Challinger (see earlier commit)
2014-12-05 14:01:16 +09:00
Jonathan Challinger 203b713f0d Copter: run_nav_updates at 100hz on pixhawk 2014-12-05 14:01:14 +09:00
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