ardupilot/libraries/AP_HAL_PX4
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
..
examples/simple AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
AP_HAL_PX4.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09: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-19 20:42:41 +09:00
AnalogIn.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
GPIO.cpp HAL_PX4: prevent error on GPIO line on change of pinMode 2015-08-19 20:44:20 +09:00
GPIO.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
HAL_PX4_Class.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
HAL_PX4_Class.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
NSHShellStream.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
RCInput.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
RCInput.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
RCOutput.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
RCOutput.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
Scheduler.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
Scheduler.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
Storage.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
Storage.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
UARTDriver.cpp HAL_PX4: Rework support for FLOW_CONTROL_AUTO. 2015-08-19 20:44:53 +09:00
UARTDriver.h HAL_PX4: Rework support for FLOW_CONTROL_AUTO. 2015-08-19 20:44:53 +09:00
Util.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
Util.h AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00
px4_param.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-19 20:42:41 +09:00