Commit Graph

577 Commits

Author SHA1 Message Date
Andrew Tridgell
06154fc4ab Copter: use rangefinder to prevent auto-disarm in the air
only consider the vehicle to be landed if either no rangefinder or
rangefinder shows an altitude below 2m
2016-08-16 15:14:10 +10:00
Randy Mackay
9842840346 Copter: GND_EFFECT_COMP parameter to enable ground effect compensation 2016-08-09 13:31:36 +09:00
Randy Mackay
ac4f36a992 Copter: remove LAND_REQUIRE_MIN_THROTTLE_TO_DISARM feature
This definition has been false for over a year and we have not heard of any users wanting to delay the disarming until the pilot's throttle goes to zero.  Removing this feature removes a small bit of complexity from the code.
2016-08-05 12:40:37 +09:00
Jonathan Challinger
80f3541933 Copter: add configurable arming delay 2016-08-04 15:19:22 +09:00
Randy Mackay
8e58ea9277 Copter: add throw mode defines for required speed
No functional change
2016-08-02 20:25:52 +09:00
Leonard Hall
48eb4cf674 Copter: remove THR_MID 2016-06-18 11:55:49 +09:00
Leonard Hall
dec9323127 Copter: remove THR_MIN
Equivalent is AP_Motors SPIN_MIN
2016-06-18 11:55:49 +09:00
Randy Mackay
6a1bdebf25 Copter: remove THR_MAX definition for changing throttle input range
We do not support changing the throttle input range from it's expected 0 ~ 1000
2016-06-18 11:55:49 +09:00
Randy Mackay
2815af81ad Copter: rename RTL_CONE_SLOPE_DEFAULT definition
Also tiny formatting fix
2016-05-31 12:20:21 +09:00
Lucas De Marchi
33f5fc5f38 ArduCopter: remove support for flymaple 2016-05-23 21:49:45 -03:00
Randy Mackay
59070653cc Copter: provide filtered range finder altitude to AC_WPNav 2016-05-21 10:36:53 +09:00
Randy Mackay
e18bf3af56 Copter: remove unused definitions 2016-05-21 10:36:53 +09:00
Randy Mackay
c7f80324fa Copter: tilt correct rangefinder 2016-05-21 10:36:53 +09:00
Randy Mackay
7689315ba2 Copter: rename sonar to rangefinder 2016-05-21 10:36:53 +09:00
Randy Mackay
028946ae9e Copter: rename CONFIG_SONAR to RANGEFINDER_ENABLE 2016-05-21 10:36:53 +09:00
Ricardo de Almeida Gonzaga
ce241dd97a ArduCopter: Fix typos 2016-05-13 19:20:07 -03:00
Lucas De Marchi
352e103f1a ArduCopter: use separate header for version macro
Having the version macro in the config.h and consequently in the main
vehicle header means that whenever the version changes we need to
compiler the whole vehicle again. This would not be so bad if we weren't
also appending the git hash in the version. In this case, whenever we
commit to the repository we would need to recompile everything.

Move to a separate header that is include only by its users. Then
instead of compiling everything we will compile just a few files.
2016-05-06 13:11:28 -03:00
Randy Mackay
47658fe964 Copter: add terrain failsafe 2016-04-30 10:33:01 +09:00
Randy Mackay
762c9ed4b0 Copter: remove unused FS_CLOSE_TO_HOME definition 2016-04-22 21:30:44 +09:00
Jonathan Challinger
6b5ba86f21 Copter: simplify GCS failsafe 2016-04-14 12:24:04 +09:00
Randy Mackay
bde498375c Copter: remove attitude PIDs
These are now part of AC_AttitudeControl
2016-04-01 11:59:30 +09:00
Lucas De Marchi
e88ba38595 ArduCopter: replace header guard with pragma once 2016-03-16 18:40:44 +11:00
Randy Mackay
e428abde42 Copter: enable precision landing by default 2016-02-29 19:17:20 +09:00
Lucas De Marchi
09e7cbe005 ArduCopter: remove unused CMAKE define
This is a leftover from previos cmake build system.
2016-02-19 19:15:39 -02:00
Randy Mackay
a1b0a53e17 Copter: remove AP_Limits from comments 2016-02-04 09:55:07 +09:00
Randy Mackay
2c5f9422d4 Copter: log event if pilot cancels land
Also add definition for throttle value that cancels land
2016-01-14 15:21:57 +09:00
Randy Mackay
e16cccf218 Copter: RTL config formatting fix
No functional change
2016-01-07 17:29:54 +09:00
Jonathan Challinger
3800c66f07 Copter: add RTL_CONE_SLOPE 2016-01-07 17:22:33 +09:00
Jonathan Challinger
750cacc875 Copter: barometer ground effect compensation 2015-12-28 13:51:27 +09:00
Jonathan Challinger
933ffb2b10 Copter: move prearm logic to arming_checks.cpp 2015-12-24 14:10:23 +09:00
Randy Mackay
d9baf334c4 Copter: remove unused definitions 2015-12-02 14:56:24 +09:00
Randy Mackay
4ef53427f2 Copter: allow ADSB to be disabled 2015-11-27 15:02:17 +09:00
Randy Mackay
731c44d053 Copter: allow terrain to be excluded from build 2015-11-14 12:38:47 +09:00
Robert Lefebvre
5cc4f41d85 Copter: Helicopter: to use new Stab_Col and Acro_Col functions. 2015-11-12 19:37:23 +09:00
Lucas De Marchi
3e889b005f ArduCopter: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1 2015-11-04 12:14:13 +11:00
Randy Mackay
0f55b2a0eb Copter: replace vehicle compass consistency check 2015-09-16 15:13:38 +09:00
Leonard Hall
61d6c44e3b Copter: tricopter yaw rate filter to 100hz 2015-09-07 12:30:39 +09:00
Randy Mackay
26ded641db Copter: integrate Precision Landing lib 2015-08-31 18:00:28 +09:00
Andrew Tridgell
90909f2b4a Copter: added DISARM_DELAY parameter
this allows automatic disarming to be disabled, or set to a shorter or
longer time as appropriate for the user
2015-08-31 11:44:08 +10:00
Randy Mackay
1608cffe95 Copter: increase failsafe close-to-home to 5m
This distance is used when a failsafe is initiated to decide whether to RTL or LAND
2015-08-28 09:24:37 +09:00
Randy Mackay
6a4f4c5f8d Copter: failsafe RTL vs LAND decision always based on 2m
Previously this decision was based on the WPNAV_RADIUS parameter which is unexpected (and undocumented) behaviour.  Better just to hard-code it to 2m and remove the dependency on this parameter.
2015-08-23 11:03:35 +09:00
Andy Piper
425e26c258 Copter: reduce GPS_HDOP_GOOD params default to 140
This is required as part of the ublox change from pdop to hdop
2015-07-14 15:02:06 +09:00
Randy Mackay
063faa0383 Copter: add RTL_CLIMB_MIN
Vehicle climbs at least this many cm when entering RTL
2015-07-13 20:38:52 +09:00
Randy Mackay
8cdfac8fcd Copter: remove baro and pilot thr from crash checks
Add acceleration < 3m/s/s check
Run crash and parachute checks at 400hz
2015-06-19 15:46:10 +09:00
Randy Mackay
e9829e0d82 Copter: remove unused landing detector definitions
Also separate from land mode definitions
2015-06-19 15:46:09 +09:00
Randy Mackay
ce1031a5bd Copter: remove AP_AHRS_NAVEKF_AVAILABLE checks
Copter requires an EKF
2015-06-10 12:18:38 +09:00
Randy Mackay
aa05325b54 Copter: add althold as ekf failsafe action 2015-06-10 12:06:08 +09:00
Randy Mackay
4408f01f39 Copter: rename ekf_check_thresh to fs_ekf_thresh 2015-06-10 12:06:06 +09:00
Randy Mackay
ee3ba48097 Copter: set Brake speed to 250 2015-06-05 15:29:00 +09:00
Randy Mackay
0b4d7fbb22 Copter: shorten rc-override timeout to 1sec 2015-05-22 13:40:58 +09:00