Commit Graph

12 Commits

Author SHA1 Message Date
Ryan Friedman 35b52a4604 SITL: Implement DCOL parser and bidirectional comms
* Implement DCOL command support for GSOF simulator
* Only send GSOF when enabled
* Publish only at the configured rate
* Only build GSOF packets when needed
  * This saves CPU
* Make physics and read loop run at full rate
  * The logic to rate-limit writes is now pushed to the backend
* Indent errors were fixed too

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-28 15:50:02 +11:00
Peter Barker bd05fad850 SITL: add code to add, remove or corrupt bytes in SITL::SerialDevice xfrs 2023-11-17 10:56:25 +11:00
Andrew Tridgell 78dac16520 SITL: make serial buffer size configurable
we need a larger buffer size for NMEA GPS modules
2022-12-20 10:23:58 +11:00
murata 272e719a14 SITL: Make the same process into a method 2022-10-06 08:42:13 +11:00
Peter Barker 0717c3409b SITL: SITL SerialDevice optionally checks baudrates match 2022-09-28 20:53:34 +10:00
Peter Barker 13bd2379cf SITL: use SITL::SerialDevice in place of pipe for communication 2021-11-06 16:54:07 +11:00
Peter Barker 6c16da21c5 SITL: make simulated GPS work as a SerialDevice 2021-10-21 12:09:21 +11:00
bugobliterator 3033589fca SITL: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
Patrick José Pereira 07c3435f9d SITL: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Peter Barker 88c8dd8465 SITL: add RichenPower generator simulator 2020-07-03 08:21:42 +09:00
Peter Barker 270831d70d SITL: add bidirectional communication for simulated serial devices 2019-11-08 20:12:28 +11:00
Peter Barker a08443ff19 SITL: break out a SIM_SerialDevice base class, use it for SIM_Vicon 2019-10-29 18:41:13 +11:00