Commit Graph

536 Commits

Author SHA1 Message Date
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
Robert Lefebvre 575a5ad619 Copter: Set better default Rate PIDs for TradHeli 2015-05-22 09:38:26 +09:00
Randy Mackay 7acdcd8905 Copter: rename stop to brake 2015-05-17 14:44:34 +09:00
Tom Pittenger c8bc44fc6e Copter: compile warnings: float to double. print statements require doubles 2015-05-05 13:27:00 +10:00
Randy Mackay e0ef57fdb5 Copter: add PILOT_TKOFF_ALT_DEFAULT definition
No functional change
2015-05-01 12:56:35 +09:00
David Dewey 0545185218 Copter: RTL at no less than 2m above home alt 2015-04-28 17:19:56 +09:00
Robert Lefebvre 1aa696bc10 Copter: Implement Stop Mode 2015-04-26 16:11:47 +09:00
Jonathan Challinger 9a025024b5 Copter: use LowPassFilterVector3f for land detector accel filter 2015-04-17 10:46:56 +09:00
Jonathan Challinger eafbd94d51 Copter: run land detector at 400hz 2015-04-17 10:46:53 +09:00
Leonard Hall 2bf8f21b7a Copter: roll, pitch rate IMAX to 2000 2015-04-09 20:19:56 +09:00
Randy Mackay e1900f646f Copter: remove PREARM_MAX_VELOCITY definition 2015-03-30 18:08:34 -07:00
Randy Mackay 74b98b89d0 Copter: remove dcm check 2015-03-27 00:04:37 -07:00
Andrew Tridgell a4be1fede8 Copter: run all boards at 400Hz
SITL and Linux can now run at 400Hz
2015-03-22 18:57:43 -07:00
Randy Mackay 522ef8f91f Copter: rename MOT df msg to MOTB
This will slightly reduce confusion with the MOT message from AC3.1.5
that eventually became RCOUT
2015-03-18 21:25:45 +09:00
Randy Mackay b679fd0be0 Copter: log RATE with ATT 2015-03-18 21:25:42 +09:00
Randy Mackay 20311c3ba2 Copter: remove CH7_OPTION definition
We can replace the unused definitions and just set the aux switch
defaults to do-nothing directly in the parameter table
2015-03-17 21:18:50 +09:00
Robert Lefebvre 97cd3614eb Copter: Change Aux Switch function list to enum. 2015-03-17 21:18:46 +09:00
Robert Lefebvre a5af151a91 Copter: Initial expansion of Aux Switch to Ch7-12 2015-03-17 21:18:41 +09:00
Randy Mackay b10730f35c Copter: remove THR_MAX parameter 2015-03-16 14:49:34 +09:00
Víctor Mayoral Vilches 79e152cd93 Copter: Update compass to the new interface 2015-03-13 18:46:16 +11:00
Randy Mackay 088a49abbf Copter: remove APM1, APM2 support 2015-03-13 16:41:03 +09:00
Randy Mackay fbfc94cf69 Copter: remove GPS glitch and failsafe
The EKF failsafe now captures all failures that could lead to a bad
position including GPS glitches and a bad compass meaning we do not need
this protection in the main flight code.
2015-03-13 16:40:46 +09:00
Leonard Hall 778edfda72 Copter: default yaw rate filter to 5hz 2015-03-06 16:08:32 +09:00
Leonard Hall d5bbe6de03 Copter: remove TRIM_THROTTLE
throttle_trim is replaced by throttle_average which is initialised to
the throttle_mid parameter value at startup
2015-03-06 14:02:19 +09:00
Leonard Hall c78480e14f Copter: rename loiter_pos to pos_xy
Also renamed throttle_rate to vel_z, throttle_accel to accel_z
2015-03-06 14:02:17 +09:00
Leonard Hall e232867661 Copter: move LOITER_RATE to 2-axis PI controller
Also rename LOITER_RATE to VEL_XY for parameters, definitions, variables
2015-03-06 14:02:15 +09:00
Leonard Hall 2b0fb45fe8 Copter: integrate PID input filter 2015-03-06 14:02:11 +09:00
Leonard Hall 8ba195a3a2 Copter: add Mot and Rate dataflash logging 2015-03-06 14:02:07 +09:00
Randy Mackay e081b9d1c7 Copter: home is set becomes three state 2015-02-12 15:00:50 +09:00
Randy Mackay 3aac281c5a Copter: land detector requires desired climb rate be < -20cm/s 2015-01-31 17:23:43 +09:00
Randy Mackay 34503de18e Copter: integrate SerialManager
Remove serial0, serial1 baud and protocol parameters
Pass serial_manager to GCS, GPS, mount, FrSky_telem objects during init
call SerialManager init_console on startup
use SerialManager's set_block_writes_all
2015-01-29 14:05:14 +11:00
Randy Mackay 18f8ffab6f Copter: remove land detector bar climb rate definition 2015-01-28 10:59:15 +09:00
Randy Mackay 0065b3b224 Copter: tighten accel and gyro pre-arm consistency check
Accel diff threshold to 0.7m/s/s (was 1.0 m/s/s)
Gyro diff threshold to 5deg/sec (was 20deg/sec)
2015-01-20 12:44:02 +09:00
Andrew Tridgell ab62105afe Copter: use common send_opticalflow() 2015-01-03 15:53:49 +11:00
Andrew Tridgell c784ee717b Copter: update for new OptFlow API 2015-01-03 14:16:33 +11:00
Randy Mackay 2e7435df52 Copter: remove unused OF_LOITER pid defines 2014-12-31 13:16:18 +09:00
Randy Mackay f2b0fc3566 Copter: disarm on landing regardless of pilot input 2014-12-27 13:33:06 +09:00
Randy Mackay b6bcf841e1 Copter: remove second camera mount 2014-12-16 21:26:20 +09:00
Randy Mackay fd55a2d9c4 Copter: increase GPS_HDOP_GOOD default to 2.3 2014-12-15 10:45:50 +09:00
Randy Mackay 3127dd94c1 Copter: add OPTFLOW to default logging 2014-12-08 14:58:27 +09:00
priseborough 267ef48026 Copter : disable tilt correction of range finder data for use by EKF
This is a temporary fix. We need to make separate range and altitude measurements available.
2014-12-06 18:16:45 +11:00
Andrew Tridgell 4c0351a76a Copter: convert to new AP_InertialSensor API 2014-10-24 12:10:38 +11:00