Gustavo Jose de Sousa
c1b9ebc0e4
ArduPlane: 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:05 +09:00
Andrew Tridgell
85179edf58
Plane: added HIL_SUPPORT define
...
disable HIL support on APM2 to save flash space
2015-08-19 20:03:29 +09:00
Andrew Tridgell
2f5ade4810
Plane: use 16 bit mask for GCS_PID_MASK
2015-05-27 15:09:47 +10:00
Andrew Tridgell
09476bf9d3
Plane: added GCS_PID_MASK for realtime pid tuning
2015-05-27 14:28:46 +10:00
Randy Mackay
174c55b0af
Plane: add support for 4th mavlink channel
2015-05-15 15:07:28 +09:00
Andrew Tridgell
edec706c12
Plane: added RUDDER_ONLY parameter
...
this gives much easier setup for rudder only aircraft.
2015-04-20 09:09:23 +10:00
Michael du Breuil
78a3ce46b9
Plane: Use tecs to control the throttle during takeoff
2015-04-16 08:56:37 +10:00
Michael du Breuil
4b1d71e390
Plane: rebuild the glide slope if we are above it and already climbing
...
(controlled by GLIDE_SLOPE_THR)
2015-04-13 20:14:51 -07:00
Tom Pittenger
1b0ed277b3
Plane: Disarm On Land
...
After a landing has occur using a LAND waypoint, automatically disarm
after this many seconds have passed. Use 0 to not disarm.
2015-03-17 10:30:41 +11:00
Andrew Tridgell
1c1798fb11
Plane: support much smoother flare transitions
...
provide the height above the ground to TECS so it can make a smarter
pre-flare transition
2015-03-15 13:53:08 +11:00
Andrew Tridgell
b0cdf8952b
Plane: added HIL_MODE parameter
...
this allows for HIL with any firmware
2015-03-13 22:52:56 +11:00
Michael Day
b02098e19e
Plane: Make radio trim optional at ground start.
2015-03-13 13:11:44 +11:00
Tom Pittenger
420e9e0d2e
Plane: added INITIAL_MODE which is the mode we boot up into.
...
This is useful when flying without a RX or if you have a RX that
outputs zeros without a detected Txmtr
2015-03-13 13:04:23 +11:00
Andrew Tridgell
16cdf64d63
Plane: added CLI_ENABLED option
...
this disables using CLI by default, even if compiled in. This is
needed to make standard firmwares work well with companion computers
where the CLI may cause startup issues
2015-03-09 17:58:37 +11:00
Andrew Tridgell
bee703ab2a
Plane: removed incorrect conditional on parameter enum
2015-02-21 20:23:22 +11:00
Randy Mackay
3a1465c9d1
Plane: integrate SerialManager
...
call SerialManager init_console on startup
use SerialManager's set_block_writes_all
2015-01-29 14:05:15 +11:00
Randy Mackay
681d28838f
Plane: integrate mount frontend-backend restructure
...
initialise mount on startup
use mount.has_pan_control method
remove calls to unimplemented mount.configure_cmd
remove call to update_mount_type which is now handled by mount lib
2015-01-29 13:57:18 +11:00
priseborough
2500f7e9c2
Plane : Add data logging for optical flow use with EKF
2014-12-06 18:16:48 +11:00
Andrew Tridgell
135f9b2c54
Plane: added STALL_PREVENTION option
...
this will allow users to disable it if it proves to be a problem with
no airspeed sensor
2014-11-13 14:06:00 +11:00
Andrew Tridgell
913004beb0
Plane: added OVERRIDE_CHAN parameter
...
this allows both for testing PX4IO override on the ground, and for
forced manual override while flying, including re-arming after in-air
reboot
2014-11-07 10:39:07 +11:00
Michael Day
be17bfd972
Plane: Added parameter RTL_AUTOLAND and implementation.
2014-10-20 08:36:20 +11:00
Andrew Tridgell
5af4cefff3
Plane: added FLAP_SLEWRATE parameter
...
makes for smoother transition of flaps
2014-08-29 20:31:03 +10:00
Andrew Tridgell
f66039c9b4
Plane: added TKOFF_FLAP_PCNT and LAND_FLAP_PERCENT
...
easier control of flaps for takeoff and landing
2014-08-29 20:31:03 +10:00
Andrew Tridgell
988662027e
Plane: moved LAND_PITCH_CD into TECS
2014-08-27 20:13:19 +10:00
Andrew Tridgell
50f492a69f
Plane: added RNGFND_LANDING option
...
this allows the use of a rangefinder for landing flare and landing
approach
2014-08-27 17:14:19 +10:00
Andrew Tridgell
f2f730ba9b
Plane: added FBWA_TDRAG_CHAN parameter
...
this allows for testing taildragger takeoffs in FBWA mode
2014-08-24 19:39:51 +10:00
Andrew Tridgell
9184e47f84
Plane: added TERRAIN_LOOKAHD parameter
...
distance to look forward for terrain following
2014-08-07 09:31:03 +10:00
Andrew Tridgell
2a288824c0
Plane: make STAB_PITCH_DOWN in degrees
...
try to avoid new centi-degrees parameters
2014-08-06 17:59:18 +10:00
Andrew Tridgell
8610d9a8ea
Plane: added GLIDE_SLOPE_MIN parameter
...
this is used to prevent slow glide slopes being used for small
altitude changes in missions. This allows more accurate tracking of
altitude with terrain changes
2014-08-04 21:02:13 +10:00
Andrew Tridgell
b64ab07ca4
Plane: added STAB_PITCH_DN_CD parameter
...
this adds some down trim when at throttle levels below the trim
throttle in FBWA mode.
defaults to 200 centi-degrees. I may adjust based on flight tests
2014-08-03 17:17:20 +10:00
Matthias Badaire
57253fc2ee
Rover: 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:20 -07:00
Andrew Tridgell
b158b7e5a9
Plane: replace HAVE_AP_TERRAIN with AP_TERRAIN_AVAILABLE
2014-07-25 07:59:54 +10:00
Andrew Tridgell
3e320d71ab
Plane: added TERRAIN_FOLLOW parameter
...
when enabled RTL, CRUISE and rally points will use terrain altitude
2014-07-24 21:50:19 +10:00
Andrew Tridgell
32bfeed169
Plane: incorporate terrain mavlink calls
2014-07-24 21:45:47 +10:00
Andrew Tridgell
28e1449e8d
Plane: updates for new AP_RangeFinder API
2014-07-08 15:07:50 +10:00
Andrew Tridgell
055d8fe7aa
Plane: added TKOFF_THR_MAX parameter
2014-05-24 22:19:50 +10:00
Andrew Tridgell
d87619c2f1
Plane: added 4 new parameters to control takeoff
...
this gives flexible control for taildragger takeoff
2014-05-23 07:30:58 +10:00
Andrew Tridgell
94d528e548
Plane: changed baudrate parameters to 16 bit
2014-05-21 12:45:25 +10:00
Michael Day
568fc9e6c9
Plane: Now using AP_Rally library.
2014-04-19 09:16:05 +10:00
Andrew Tridgell
d30c4ffe80
Plane: added AUTOTUNE_LEVEL parameter
2014-04-13 22:12:27 +10:00
Emile Castelnuovo
a111d174c1
Plane: added VRBRAIN #defines and #includes
2014-04-08 16:19:20 +10:00
Andrew Tridgell
e19341ca32
Plane: convert to new GPS driver API
2014-04-01 06:38:24 +11:00
Michael Day
f921d4fbac
Plane: FENCE_RET_RALLY param. Plane returns to rally point on breach.
2014-03-27 09:26:20 +11:00
Michael Day
25f23cf16c
Plane: Sends MAV_SYS_STATUS_GEOFENCE and also allows GCS to enable/disable fence.
2014-03-27 09:26:20 +11:00
Andrew Tridgell
ff70c87f0b
Plane: support 14 RC channels on PX4
2014-03-25 14:47:05 +11:00
Randy Mackay
fdaf3fc177
Plane: add AP_Mission object to parameter list
2014-03-19 12:10:54 +09:00
Randy Mackay
a76e2ab02e
Plane: reserve NavEKF slot in param list even when not used
...
Although this wasn't a problem immediatley, if someone had added a
parameter after k_param_NavEKF it's position in eeprom could have moved
as AP_AHRS_NAVEKF_AVAILABLE was enabled/disabled
2014-02-21 13:53:05 +09:00
Paul Riseborough
8c4b0b9be9
Plane : NavEKF Mavlink tunable parameter - first attempt
2014-02-15 05:48:22 +11:00
Andrew Tridgell
c3b7e76c28
Plane: added flaperon support
...
this adds FLAPERON_OUTPUT and FLAP_IN_CHANNEL to allow both manual
and auto flap control for both normal flaps and flaperons
2014-02-06 12:38:59 +11:00
Andrew Tridgell
6cabca690e
Plane: fixed RSSI_RANGE enum
...
many thanks to Valince for spotting this
2014-01-31 12:14:18 +11:00