ardupilot/libraries/AP_HAL_PX4
Brad Bosch 6e9756ff79 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 15:21:10 +10:00
..
examples/simple AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_HAL_PX4.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_HAL_PX4_Main.h HAL_PX4: make APM sketches into daemons 2013-01-04 11:14:35 +11:00
AP_HAL_PX4_Namespace.h HAL_PX4: added implementation of NSH shell stream 2015-06-17 20:30:09 +10:00
AnalogIn.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AnalogIn.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
GPIO.cpp HAL_PX4: prevent error on GPIO line on change of pinMode 2015-08-17 12:02:03 +10:00
GPIO.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
HAL_PX4_Class.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
HAL_PX4_Class.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
NSHShellStream.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
RCInput.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
RCInput.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
RCOutput.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
RCOutput.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
Scheduler.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
Scheduler.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
Storage.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
Storage.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
UARTDriver.cpp HAL_PX4: Rework support for FLOW_CONTROL_AUTO. 2015-08-19 15:21:10 +10:00
UARTDriver.h HAL_PX4: Rework support for FLOW_CONTROL_AUTO. 2015-08-19 15:21:10 +10:00
Util.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
Util.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
px4_param.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00