Commit Graph

237 Commits

Author SHA1 Message Date
Andrew Tridgell 6e93f111c9 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

Originally committed by Tridge, merged to AC3.3 with conflict.
2015-11-03 17:01:17 +09:00
Robert Lefebvre bdbfd8fd5e Copter: Helicopter: to use new Stab_Col and Acro_Col functions. 2015-11-03 17:01:01 +09:00
Robert Lefebvre 3385d83177 Copter: Utilize Input Manager Class 2015-11-03 17:01:00 +09:00
Robert Lefebvre a0fd75c76a Copter: Create new heli RSC RC Channel object. 2015-10-10 15:11:47 +09:00
Randy Mackay 247e11ab81 Copter: AUTOTUNE_MIN_D param to allow controlling minimum D 2015-08-28 12:04:17 +09:00
Andrew Tridgell 2cf93e828d Copter: added RPM sensor support
send result via MAVLink
2015-08-19 20:43:46 +09:00
Gustavo Jose de Sousa f91ef9382d ArduCopter: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:42:04 +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 f93a259b04 Copter: add comment to Solo section in Parameters.h 2015-06-14 14:47:02 +09:00
Jonathan Challinger fd37a48f8e Copter: clean up Parameters.h comments a bit 2015-06-14 14:44:15 +09:00
Jonathan Challinger 035c0b567e Copter: reserve param indices that exist in Solo repo 2015-06-14 14:44:13 +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
Andrew Tridgell 1792710f41 Copter: added a bit in LOG_BITMASK for PID logging 2015-05-27 15:09:47 +10:00
Andrew Tridgell 22524daf5f Copter: added GCS_PID_MASK for mavlink rate tuning 2015-05-27 14:28:46 +10:00
Robert Lefebvre 575a5ad619 Copter: Set better default Rate PIDs for TradHeli 2015-05-22 09:38:26 +09:00
Randy Mackay d8b7e4a199 Copter: add support for 4th mavlink channel 2015-05-15 15:07:27 +09:00
Jonathan Challinger 73d961cebc Copter: mavlink initiated takeoff in alt-hold modes
adds PILOT_TKOFF_ALT for target altitude above home in cm for pilot initiated takeoff
2015-05-01 12:56:18 +09:00
Jonathan Challinger b10cf0f38a Copter: pre-takeoff throttle for sprung throttle sticks
Adds PILOT_THR_BHV, PILOT_TKOFF_DZ parameters
2015-05-01 12:56:16 +09:00
Jonathan Challinger 91a03ae0e7 Copter: add PILOT_THR_FILT and call set_throttle_out functions with that value 2015-04-16 21:00:11 +09:00
Randy Mackay 74b98b89d0 Copter: remove dcm check 2015-03-27 00:04:37 -07: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
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
Randy Mackay 6f6847c025 Copter: use only InertialNav_EKF
remove calls to unsupported functions including ignore_next_error,
set_altitude, etc.
2015-03-13 16:40:37 +09:00
Randy Mackay d7f624be39 Copter: remove baro_glitch protection 2015-03-13 16:40:27 +09:00
Andrew Tridgell 3f906f6bd1 Copter: added CLI_ENABLED option 2015-03-09 17:58:37 +11: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 a9a6e8856b Copter: add AUTOTUNE_AGGR parameter 2015-03-06 14:02:02 +09:00
Leonard Hall 864168e5ea Copter: add AUTOTUNE_AXES bitmask parameter
This is used to allow tuning just some axis
2015-03-06 14:02:01 +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 d26fa6d827 Copter: minor format fix
no functional change
2015-01-07 11:58:23 +09:00
Robert Lefebvre e10e020062 Copter: Add Landing Gear functionality to main code 2015-01-07 11:58:16 +09:00
Randy Mackay b6bcf841e1 Copter: remove second camera mount 2014-12-16 21:26:20 +09:00
Randy Mackay 67fdfffc2a Copter: remove OF_Loiter PIDs and tuning 2014-12-08 14:58:18 +09:00
Andrew Tridgell c3d839456b Copter: support logging while disarmed 2014-10-17 16:29:59 +09:00
Randy Mackay b0e6931ab0 Copter: add DCM_CHECK_THRESH parameter 2014-10-16 17:22:11 +09:00
Randy Mackay 765ce2f6ca Copter: optflow parameters moved to optflow class 2014-10-15 16:35:36 +09:00
Randy Mackay cf98cc29b5 Copter: throttle deadzone parameter
Allows increasing or decreasing the deadband size in AltHold, Loiter,
PosHold flight modes
2014-08-29 15:54:34 +09:00
Randy Mackay f3fd79597f Copter: add ACRO_EXPO parameter 2014-08-14 11:47:37 +09:00
Randy Mackay b52f8351e8 Copter: rename EKFCHECK_COMPASS to EKFCHECK_THRESH
Renamed because this threshold is now used for both compass and velocity
variance.
Also minor reorganisation of ekfcheck but no functional change.
2014-07-31 22:58:43 +09:00
Andrew Tridgell 3ccac6736d Copter: rename TELEM2_PROTOCOL to SERIAL2_PROTOCOL
this matches SERIAL2_BAUD
2014-07-30 14:49:10 +10: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 0562907d9f Copter: added AP_Terrain library 2014-07-24 21:46:06 +10:00
Randy Mackay a4a4334b13 Copter: add EKFCHECK_COMPASS parameter 2014-07-22 23:13:22 +09:00
Randy Mackay 65e5367619 Copter: rename hybrid to poshold 2014-07-11 14:09:01 +09:00