Brad Bosch
4af7e454df
HAL_VRBrain: Rework of support for FLOW_CONTROL_AUTO from PX4 HAL
2015-08-19 20:44:54 +09:00
Brad Bosch
d4c370ce6e
HAL_PX4: Rework support for FLOW_CONTROL_AUTO.
...
Now instead of requiring the buffer to fill completely before we can
detect it is not draining, we use a time based mechanism to detect
when none of the first few bytes are transmitted after sitting in our
buffer a half second or more after flow control is enabled. This
huristic is reliable only for the first several chracters because we
believe that the radio must still have plenty of room in it's own
buffers at that time even if it is not able to transmit them to the
other radio yet. Note that the original algorithm made the same
assumption.
The new algorithm is especially helpful for cases where only keepalive
messages are transmitted before other packets can be requested by the
GCS. In this situation, the original code required almost 2 minutes
to disable flow control and allow communication with the GCS.
2015-08-19 20:44:53 +09:00
Brad Bosch
7bae269931
GCS_MAVLink: Pause to allow serial port to drain.
...
This avoids a race between the UART and the auto flow control code.
2015-08-19 20:44:52 +09:00
Tom Pittenger
61ae42db40
Plane: post "Distance from LAND point" on every land
...
- waits until disarm after a land
2015-08-19 20:44:51 +09:00
Lucas De Marchi
eedc631eca
AP_Param: add missing header StorageManager.h
2015-08-19 20:44:50 +09:00
Stewart Loving-Gibbard
52a019c33a
Plane: Fixing unambiguous spelling errors in Parameters.cpp file.
...
These are user-visible in Mission Planner and the like.
2015-08-19 20:44:49 +09:00
Lucas De Marchi
eef41b88ed
Tools: allow script to fixup a single file
...
Instead of always trying to fix the entire tree, accept paths in the
command line so it only fixes that paths. This allows to easily rebase a
branch after the header changes, without touching the rest of the tree.
2015-08-19 20:44:48 +09:00
Lucas De Marchi
ef1ed5fcfe
AP_HAL_AVR: standardize inclusion of libaries headers
...
It was not only standardized, but actually fixed since ".." would not
move to the libraries/ directory (and hence the include location was
actually wrong).
2015-08-19 20:44:47 +09:00
Lucas De Marchi
72391fddbe
GCS_MAVLink: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:46 +09:00
Lucas De Marchi
b6d69d9767
DataFlash: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:45 +09:00
Lucas De Marchi
2a213e7c42
AP_HAL_Notify: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:43 +09:00
Lucas De Marchi
d67e775d76
AP_HAL_Mount: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:42 +09:00
Lucas De Marchi
bc730149c7
AP_HAL_InertialSensor: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:41 +09:00
Lucas De Marchi
319220c6ba
AP_HAL_InertialNav: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:40 +09:00
Lucas De Marchi
197cedca00
AP_HAL_VRBRAIN: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:39 +09:00
Lucas De Marchi
fc7a6632a9
AP_HAL_SITL: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:38 +09:00
Lucas De Marchi
f8cf5a63dc
AP_HAL_PX4: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:37 +09:00
Lucas De Marchi
77c236a6b7
AP_HAL_Linux: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:36 +09:00
Lucas De Marchi
d2adc99d3a
AP_HAL: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:35 +09:00
Lucas De Marchi
4479b0aff1
AP_GPS: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:34 +09:00
Lucas De Marchi
f5ec94df02
AP_Compass: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:33 +09:00
Lucas De Marchi
8062a5c2f5
AP_AHRS: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:31 +09:00
Andrew Tridgell
12ae3c5031
SITL: added ignition control for gas heli
2015-08-19 20:44:30 +09:00
Stewart Loving-Gibbard
b5d7c900d7
Rover: fix spelling errors in Parameters.cpp
2015-08-19 20:44:29 +09:00
Stewart Loving-Gibbard
efa021543c
Copter: fix spelling errors in Parameters.cpp
2015-08-19 20:44:28 +09:00
squilter
262393c614
Copter: update flighttermination capability
2015-08-19 20:44:27 +09:00
squilter
e90d228138
GCS_MAVLink: version update after generate
2015-08-19 20:44:26 +09:00
squilter
cf5005b95f
GCS_MAVLink: generate after flight_termination change
2015-08-19 20:44:25 +09:00
squilter
487896c2c4
GCS_MAVLink: rename flighttermination capability enum
2015-08-19 20:44:24 +09:00
dgrat
5e9f9e2a82
Tracker: add handle_guided_request to allow cmake to work
...
merge
2015-08-19 20:44:23 +09:00
Andrew Tridgell
10c78ba844
PX4Firmware: submodule update
2015-08-19 20:44:22 +09:00
Andrew Tridgell
3990332745
HAL_PX4: prevent error on GPIO line on change of pinMode
...
thanks to Michael for noticing this
2015-08-19 20:44:20 +09:00
Andrew Tridgell
f7b5c770ac
PX4Firmware: submodule update
2015-08-19 20:44:19 +09:00
Andrew Tridgell
a341403bff
AP_InertialSensor: setup for MPU9250 support on PX4
2015-08-19 20:44:18 +09:00
Andrew Tridgell
935360e1fb
PX4: enable probe of MPU9250 if available
2015-08-19 20:44:17 +09:00
Andrew Tridgell
71835b03ca
PX4Firmware: submodule update
2015-08-19 20:44:16 +09:00
Andrew Tridgell
2ba3bdde27
Plane: disable TRIM_RC_AT_START by default
2015-08-19 20:44:15 +09:00
Paul Riseborough
e16ab6bf86
Copter: shorten disarm counter to 10 seconds
2015-08-19 20:44:14 +09:00
Jonathan Challinger
49126e83e2
Copter: adapt auto disarm for sprung throttle stick copters
2015-08-19 20:44:13 +09:00
Andrew Tridgell
51ff905ba8
Plane: make TRAINING mode obey stall prevention roll limits
...
Fixes issue#2014
2015-08-19 20:44:12 +09:00
Andrew Tridgell
5101e263fa
Plane: don't do battery failsafe when disarmed
2015-08-19 20:44:11 +09:00
Randy Mackay
abdd37ea2c
Copter: fix PILOT_TKOFF_DZ param description
2015-08-19 20:44:10 +09:00
Randy Mackay
ab1d9886da
Copter: fix ANGLE_MAX param description
...
Thanks to Hamish for finding this
2015-08-19 20:44:09 +09:00
Andrew Tridgell
7711195fae
autotest: added basic helicopter parameters
2015-08-19 20:44:08 +09:00
Andrew Tridgell
e50aab180b
SITL: tidy up frame handling a bit
2015-08-19 20:44:07 +09:00
Fredrik Hedberg
3ea31099d7
SITL: Add HELI_DUAL_FRAME and HELI_COMPOUND_FRAME.
2015-08-19 20:44:06 +09:00
Michael du Breuil
f10f4a82ba
AP_GPS: Fix a bound error when calculating GNSS minimum channels.
...
This is really just calculating the hamming weight of the GNSS_MODE bitmask, but I don't know if the APM compiler could handle the GCC intrinsic that could calculate it faster, and this is done so rarely there isn't a significant penalty to using the for loop.
2015-08-19 20:44:05 +09:00
Andrew Tridgell
dd04326693
autotest: cope with symlinks in vehicle path
2015-08-19 20:44:04 +09:00
Andrew Tridgell
b14e0b65b6
autotest: removed the need for run_cmd.sh
2015-08-19 20:44:02 +09:00
Randy Mackay
f6965fffdc
NavEKF: check baro health before consuming
2015-08-19 20:44:01 +09:00