Gustavo Jose de Sousa
4d4b856735
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-11 16:28:40 +10: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
Andrew Tridgell
a4b9b989b7
Copter: convert to new AP_RangeFinder API
2014-07-08 15:08:18 +10:00
Jonathan Challinger
5b36e65cb9
Copter: Add parameter LAND_REPOSITION to enable/disable user input during auto-mode landings and descents
2014-07-06 19:20:25 +09:00
Robert Lefebvre
5ee87f7561
Copter: Change TradHeli to use new AC_HELI_PID class.
2014-05-29 17:39:04 +09:00
Andrew Tridgell
cc6fba4cad
Copter: change baudrates parameters to 16 bit
2014-05-21 12:45:25 +10:00
Randy Mackay
a4c675c23e
Copter: add PILOT_ACCEL_Z parameter
...
Allows configurable z-axis acceleration when pilot is controlling
altitude
2014-04-30 21:46:13 +09:00
Randy Mackay
f467d7bc20
Copter: add Hybrid parameters
2014-04-23 14:59:25 +09:00
Andrew Chapman
fa3732ac6d
Copter: integrate AP_Rally
2014-04-19 15:00:23 +09:00
Randy Mackay
037a0b4e5a
Copter: dos2unix Parameters.h
2014-04-08 23:30:15 +09:00
Emile Castelnuovo
9e31f032c2
Copter: added VRBRAIN board #includes and #defines
2014-04-08 16:19:20 +10:00
Randy Mackay
ff32b27272
Copter: integrate parachute lib
2014-04-07 13:36:44 +09:00
Andrew Tridgell
852cdbaa7c
Copter: added GPS parameters
2014-04-01 06:38:25 +11:00
Andrew Tridgell
c0767eebff
Copter: support 14 RC channels on PX4
2014-03-25 14:47:05 +11:00
Randy Mackay
1bad6a4b15
Copter: add AP_Mission object parameter
...
Remove global command_total and command_index parameters
2014-03-19 12:10:01 +09:00
Randy Mackay
d992483bf5
Copter: add EKF params to full param list
2014-02-21 13:51:22 +09:00
Randy Mackay
00913ffe1b
Copter: throttle rate to simple P controller
...
Saves at least 15bytes of RAM
2014-02-16 13:35:40 +11:00
Randy Mackay
aab9b30bf6
Copter: replace APM_PI with AC_P
...
Saves about 90bytes of RAM
2014-02-15 06:09:08 +11:00
Randy Mackay
3e399fd830
Copter: remove unused parameters
2014-02-15 05:27:46 +11:00
Randy Mackay
3b9ae02966
Copter: add Circle parameter
2014-02-15 05:27:40 +11:00
Randy Mackay
784f7385b5
Copter: add attitude and pos control params
2014-02-15 05:27:35 +11:00
Randy Mackay
7b9a48107e
Copter: move angle_max parameter to AP_Vehicle
2014-02-15 05:27:32 +11:00
Randy Mackay
2219f21744
Copter: add RC_FEEL_RP parameter
...
Values from 0 ~ 100 control amount of filtering on roll and pitch input.
100 = no filter so crisp feel, 0 = a lot of filtering so very sluggish
response
2014-02-12 16:28:41 +09:00
Randy Mackay
5d929351ca
Copter: removed unused servo3, servo4 from coax
2014-02-07 12:36:17 +09:00
Dneault
f48e106271
Copter: add coax heli support
...
Motors should be attached to RCOutputs 1 and 2, Flaps should be connected
to RC outputs 3 and 4
2014-02-07 12:36:04 +09:00
Andrew Tridgell
50a90a1043
Copter: enable AP_BoardConfig
2014-01-20 17:06:28 +11:00
Lukasz
cb17a5bdb6
Copter: Add RSSI_RANGE parameter
...
Added ability to rescale rssi input voltage. Useful for receivers like
FrSky which have 3.3V output.
2013-12-17 22:38:39 +09:00
ctech4285
2b5d8aa5b7
Copter: integrate EPM library
2013-12-17 15:36:42 +09:00
Andrew Tridgell
28d98414e7
Copter: fixed some build warnings
2013-12-11 10:21:20 +11:00
Randy Mackay
59cea4b88c
Copter: remove CopterLED from main code
2013-11-30 18:20:55 +09:00
Andrew Tridgell
9c812d5028
Copter: added SERIAL2_BAUD and rename SERIAL3_BAUD to SERIAL1_BAUD
2013-11-26 13:05:32 +11:00
Andrew Tridgell
a49710f20e
Copter: added uartD support
...
this also brings GCS_Mavlink.pde closer to the plane implementation
2013-11-26 13:05:32 +11:00
Randy Mackay
ed9f369492
Copter: shorten g.arming_check_enabled variable
...
g.arming_check_enabled shortened to g.arming_check
2013-11-25 17:23:39 +09:00
Randy Mackay
c9c803ffd4
TradHeli: move STAB_COL_MIN to main parameter list
2013-11-15 22:58:32 +09:00
Randy Mackay
159d6320bf
Copter: move SINGLE parameters to start at 75
2013-11-12 23:40:38 +09:00
ssq870424
07d3f2a3c5
Copter: add support for singlecopter airframe
...
this is the newest singlecopter airframe programme.
This kind of aerial vehicles include Honeywell T-hawk and Goldeneye.
2013-11-12 23:40:27 +09:00
Jason Short
c3aa56459a
Copter: remove unused Toy param
2013-11-02 21:34:50 +09:00
Randy Mackay
97770ae352
Copter: rc10, rc11 available even without MOUNT
2013-10-31 22:55:02 +09:00
Randy Mackay
8386b658e9
Copter: add ANGLE_RATE_MAX param
...
Limits the maximum rotation rate requested by the angle controller which
is used in stabilize, loiter, rtl and auto flight modes
2013-10-29 11:27:05 +09:00
Randy Mackay
8de6c34252
Copter: comments update for GPS_HDOP_GOOD parameter
2013-10-13 13:53:26 +09:00
Randy Mackay
dab4f032f9
Copter: integrate BattMonitor
2013-10-03 11:16:28 +09:00
Randy Mackay
6c5294f89e
Copter: integrate GPS_Glitch parameters
2013-09-24 21:41:45 +09:00
Randy Mackay
d8eb7fb82f
Copter: remove x100 from IMAX definitions
2013-08-19 22:38:34 +09:00
Randy Mackay
d000967a76
Copter: pre-arm check for gps hdop < 2
2013-08-15 13:06:36 +09:00
Randy Mackay
6969ab573d
Copter: configurable max lean angle
...
ANGLE_MAX parameter allows limiting the roll and pitch angles during
manual and auto flight modes to anywhere from 10 to 80 degrees
2013-08-11 12:53:22 +09:00
Randy Mackay
74fb500efe
Copter: integrate AC_Sprayer
2013-08-05 21:12:23 +09:00
Randy Mackay
49dbdce89c
Copter: split ACRO_P into ACRO_RP_P and ACRO_YAW_P
2013-08-05 21:05:00 +09:00
Randy Mackay
82082e044c
Copter: remove ACRO's axis enabled parameter
...
Acro is now body frame (with earth frame leveling) while Sport is earth
frame acro
2013-08-05 21:04:57 +09:00
Randy Mackay
21e523b9ac
Copter: Acro trainer separated into limited and leveled
2013-08-05 21:04:53 +09:00
Randy Mackay
aefb38e486
Copter: remove param to disable accel based throttle controller
2013-07-12 22:57:30 +09:00
Randy Mackay
404cd5f3da
Copter: rename g.pid_throttle to g.pid_throttle_rate
...
Small code clean-up to make throttle rate controller's pid more obvious
2013-06-30 00:04:21 -10:00
Andrew Tridgell
23eade8f74
Copter: enable RELAY_* parameters
2013-06-25 12:46:53 +10:00
Randy Mackay
213eaa8db6
Copter: integrate draft RCMapper
2013-06-03 16:23:47 +10:00
Randy Mackay
5ee68db6f0
TradHeli: add parameter descriptions
...
small formatting changes too
2013-05-21 15:33:41 +09:00
Randy Mackay
bd44c2f73d
Copter: all pre-arm checks to be disabled
...
set ARMING_CHECK parameter to zero to disable
2013-05-20 14:48:04 +09:00
Randy Mackay
9fdab5e8fe
Copter: remove unused AUTO_SLEW_RATE parameter
2013-05-17 16:09:17 +09:00
Randy Mackay
38239c652a
Copter: ch8 aux switch
...
Ch8 can be used as an aux switch like ch7. Has all the same options as
ch7 and there is a safety check to ensure both switches aren't set to
the same function so as to avoid interfering with each other
2013-05-17 14:42:28 +09:00
Randy Mackay
bab9fa25e5
Copter: add GCS failsafe
2013-04-29 21:30:22 +09:00