ardupilot/libraries/AP_HAL_SITL
Peter Barker 3716f5513d AP_HAL_SITL: process inbound data in outqueue-length delay loop
this is the loop which ensures the amount of data sent to the mavlink client (usually Python) is limited - if we don't do this then we lose vast amounts of data when running at large speedups.

By attempting to process inbound data we may realise that the TCP connection has been dropped, and in that case we will start to listen for another connection.

This allows you to terminate the sim_vehicle.py MAVProxy and have it automagically restart (when running under GDB).  This is very useful for testing MAVProxy patches with SITL; it's a different workflow to opening an output and connecting a new version of MAVProxy to that outout.
2024-11-12 13:54:08 +11:00
..
AnalogIn.cpp AP_HAL_SITL: AnalogIn: return false for set pin to ANALOG_INPUT_NONE 2024-07-14 17:11:47 +10:00
AnalogIn.h AP_HAL_SITL: ADC resolution configurable by define, default to 16 bit 2023-05-09 11:42:09 +10:00
AP_HAL_SITL_Namespace.h HAL_SITL: implement BinarySemaphore 2024-01-03 07:37:05 +11:00
AP_HAL_SITL_Private.h
AP_HAL_SITL.h
CAN_Multicast.cpp HAL_SITL: reimplement CAN with BinarySemaphore 2024-01-03 07:37:05 +11:00
CAN_Multicast.h AP_HAL_SITL: use SocketAPM_native 2024-01-03 12:14:47 +11:00
CAN_SocketCAN.cpp HAL_SITL: reimplement CAN with BinarySemaphore 2024-01-03 07:37:05 +11:00
CAN_SocketCAN.h HAL_SITL: support multicast UDP for CAN in SITL 2023-08-29 15:09:48 +10:00
CAN_Transport.h HAL_SITL: reimplement CAN with BinarySemaphore 2024-01-03 07:37:05 +11:00
CANSocketIface.cpp AP_HAL_SITL: If HAL_CAN_WITH_SOCKETCAN is undefined, treat it as NONE 2024-07-23 10:47:16 +10:00
CANSocketIface.h HAL_SITL: avoid use of std::queue 2024-06-04 09:20:21 +10:00
DSP.cpp AP_HAL_SITL: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
DSP.h AP_HAL_SITL: guard against DSP being compiled out of code 2024-01-03 11:45:31 +11:00
GPIO.cpp AP_HAL_SITL: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
GPIO.h HAL_SITL: enable GPIO and RC output in periph 2023-08-24 13:06:40 +10:00
HAL_SITL_Class.cpp AP_HAL_SITL: log number of times sim paused on serial0 buffer 2024-06-11 08:51:25 +10:00
HAL_SITL_Class.h AP_HAL_SITL: log number of times sim paused on serial0 buffer 2024-06-11 08:51:25 +10:00
I2CDevice.cpp AP_HAL_SITL: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
I2CDevice.h HAL_SITL: allow for I2C simulated devices in SITL AP_Periph 2023-10-02 21:45:28 +11:00
RCInput.cpp AP_HAL_SITL: add support for RC input from SITL FDM data 2024-03-25 22:35:04 +11:00
RCInput.h HAL_SITL: enable GPIO and RC output in periph 2023-08-24 13:06:40 +10:00
RCOutput.cpp AP_HAL_SITL: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
RCOutput.h AP_HAL_SITL: initialize rcout safety state 2024-07-30 08:44:31 +10:00
Scheduler.cpp AP_HAL_SITL: support port SITL to OpenBSD 2024-11-06 14:17:31 +11:00
Scheduler.h HAL_SITL: only do the cygwin speedup hack for scripting while armed 2022-11-10 12:12:03 +11:00
Semaphores.cpp HAL_SITL: implement BinarySemaphore 2024-01-03 07:37:05 +11:00
Semaphores.h HAL_SITL: implement BinarySemaphore 2024-01-03 07:37:05 +11:00
sitl_airspeed.cpp HAL_SITL: use baro atmospheric tables 2024-05-07 21:19:06 +10:00
SITL_cmdline.cpp AP_HAL_SITL: split MAVLink and physical gimbal simulations 2024-07-21 17:01:47 +10:00
SITL_Periph_State.cpp AP_HAL_SITL: improve periph simulation efficiency 2024-07-17 09:06:16 +10:00
SITL_Periph_State.h AP_HAL_SITL: use SocketAPM_native 2024-01-03 12:14:47 +11:00
sitl_rangefinder.cpp AP_HAL_SITL: ADC resolution configurable by define, default to 16 bit 2023-05-09 11:42:09 +10:00
SITL_State_common.cpp AP_HAL_SITL: split MAVLink and physical gimbal simulations 2024-07-21 17:01:47 +10:00
SITL_State_common.h AP_HAL_SITL: adjust for renaming of Gimbal to SoloGimbal 2024-07-21 14:22:05 +10:00
SITL_State.cpp AP_HAL_SITL: process inbound data in outqueue-length delay loop 2024-11-12 13:54:08 +11:00
SITL_State.h HAL_SITL: avoid std::vector in command line handling 2024-06-04 09:20:21 +10:00
SPIDevice.cpp AP_HAL_SITL: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
SPIDevice.h
Storage.cpp
Storage.h
Synth.hpp AP_HAL_SITL: fix possible divide by 0 on synth.hpp 2023-08-24 07:46:20 +10:00
system.cpp AP_HAL_SITL: work around bug in dash 2024-08-07 17:03:52 +10:00
ToneAlarm_SF.cpp
ToneAlarm_SF.h
UART_utils.cpp AP_HAL_SITL: support port SITL to OpenBSD 2024-11-06 14:17:31 +11:00
UARTDriver.cpp AP_HAL_SITL: support port SITL to OpenBSD 2024-11-06 14:17:31 +11:00
UARTDriver.h AP_HAL: Add support for parity to Serial passthrough 2024-06-11 09:24:32 +10:00
Util.cpp AP_HAL_SITL: switched ENABLE_HEAP to an #if 2024-07-11 09:28:17 +10:00
Util.h AP_HAL_SITL: switched ENABLE_HEAP to an #if 2024-07-11 09:28:17 +10:00
wscript HAL_SITL: mark all as double precision 2023-08-15 22:39:23 +10:00