Peter Barker
8c9ade3f7f
AP_HAL_SITL: move simulated megasquirt to SerialDevice framework
3 years ago
Asa Davis
85fbbe0704
SITL: add simulator for LORD Microstrain serial EAHRS
3 years ago
Peter Barker
d98cda12c6
AP_HAL_SITL: remove HIL_MODE vestiges
3 years ago
Pierre Kancir
aebe2beba5
AP_HAL_SITL: check that _sitl is not nullptr before using it
4 years ago
Pierre Kancir
c91c570814
AP_HAL_SITL: don't use timer_event() that is static from the _scheduler instance
4 years ago
Peter Barker
26f2393014
AP_HAL_SITL: add simulated FETtec ESC
4 years ago
Iampete1
6deacda180
AP_HAL_SITL: load SIM_AIS
4 years ago
bugobliterator
26e2a4a3cb
AP_HAL_SITL: change class name from SITL::SITL to SITL::SIM
4 years ago
Iampete1
5ff0f42372
AP_HAL_SITL: add slave JSON instances
4 years ago
Andrew Tridgell
7550368fc7
HAL_SITL: update for changed SITL API
4 years ago
Peter Barker
67ebdc300b
AP_HAL_SITL: reduce scope of loop variable
4 years ago
Peter Barker
933aba66f8
AP_HAL_SITL: avoid nullptr dereference in Replay
4 years ago
Andrew Tridgell
7cc71dc573
HAL_SITL: support VectorNav simulation
4 years ago
Andrew Tridgell
cf187ff837
AP_HAL_SITL: convert to using hal.serial() instead of hal.uartX
4 years ago
Peter Barker
c1202e4878
AP_HAL_SITL: add simulated SF45B
4 years ago
Peter Barker
5e2bd6d9ec
AP_HAL_SITL: add terarangertower simulator
4 years ago
Peter Barker
c52298352a
AP_HAL_SITL: add simulator for IntelligentEnergy 2.4kWh
4 years ago
bugobliterator
09a0d8d0c0
HAL_SITL: add support for AP_Periph SITL build
4 years ago
Peter Barker
602a9592ce
SITL: add Maxell SMBus battery support
4 years ago
Peter Barker
2319638dd2
AP_HAL_SITL: simulated i2c support
5 years ago
Peter Barker
2b69b7ba6a
AP_HAL_SITL: move calculation of simulated rangefinder range to inside SIM_Aircraft
...
this will allow us to use the for non-serial rangefinder backends
5 years ago
Peter Barker
38e3d63fac
AP_HAL_SITL: correct AP_Terrain cast-align compilation failure on SITL_arm_linux_gnueabihf
5 years ago
Andrew Tridgell
ac604cac54
HAL_SITL: update for GPS param changes
5 years ago
Andy Piper
a9ded9d870
AP_HAL_SITL: add CRSF simulation driver
5 years ago
Peter Barker
0b431f3ecd
AP_HAL_SITL: add simulated GY-US42-v2 rangefinder
5 years ago
Peter Barker
6056cc9d54
AP_HAL_SITL: add support for simulated RichenPower generator
5 years ago
Peter Barker
c3246d61f4
AP_HAL_SITL: add simulated LightWare serial lidar talking new binary protocol
5 years ago
Randy Mackay
630bc01101
AP_HAL_SITL: send vehicle velocity to sitl vicon class
5 years ago
Peter Barker
be9fc57e8f
AP_HAL_SITL: add support for simulated RPLidarA2
5 years ago
Peter Barker
185bc68476
AP_HAL_SITL: add simulated mavlink-attached rangefinder
5 years ago
Peter Barker
e67347f011
AP_HAL_SITL: rename APMrover2 to Rover
5 years ago
Peter Barker
78e432af0c
AP_HAL_SITL: do not let outbound queue length to grow too far
...
This basically limits our loop rate to whatever is listening on uartA
can handle in terms of mavlink traffic.
5 years ago
Andy Piper
dcdd1707f7
AP_HAL_SITL: make throttle comply with quadplane dynamics
5 years ago
Peter Barker
0c8e6f212d
AP_HAL_SITL: add simulated frsky support
5 years ago
Andy Piper
8b0fc1207d
AP_HAL_SITL: record throttle value instead of motors on/off
5 years ago
Andrew Tridgell
b6d1170c2e
HAL_SITL: update EFI simulation
5 years ago
Peter Barker
fdb9fb2f62
AP_HAL_SITL: add support for simulated serial rangefinders
...
AP_HAL_SITL: add Benewake rangefinder simulator
AP_HAL_SITL: add support for simulated LightWareSerial rangefinder
AP_HAL_SITL: add support for simulated Lanbao rangefinder
AP_HAL_SITL: add support for simulated BLping rangefinder
AP_HAL_SITL: add support for simulated LeddarOne rangefinder
AP_HAL_SITL: add support for simulated uLanding rangefinders
AP_HAL_SITL: add support for simulated MaxsonarSerialLV rangefinders
AP_HAL_SITL: add support for simulated Wasp rangefinders
AP_HAL_SITL: add support for simulated NMEA rangefinders
5 years ago
Peter Barker
9da0e480f2
AP_HAL_SITL: add support for bi-directional simulated serial devices
5 years ago
Peter Hall
58d2c9669e
AP_HAL_SITL: pass ADSB home location not string
5 years ago
Peter Barker
b0f3c89939
AP_HAL_SITL: correct format string
5 years ago
Peter Barker
111c17d0b4
AP_HAL_SITL: add a simulated buzzer
5 years ago
Andrew Tridgell
f86a7d347d
Revert "AP_HAL_SITL: set initial PWM values to a flag value"
...
This reverts commit 1735563bb7
.
This commit broke RC input on high channels with sim_vehicle.py, plane
getc RC failsafe immediately
5 years ago
Peter Barker
1735563bb7
AP_HAL_SITL: set initial PWM values to a flag value
...
These should never be used. Setting them to a flag value may give a
hint to someone trying to debug a problem in the future.
6 years ago
Peter Barker
15308af230
AP_HAL_SITL: avoid lockstep scheduling issue with semaphores
...
If there is another thread holding a lock that the main thread wants to
take while pretending to be the IO thread, we will wait forever as we do
not move SITL time forward while pretending to be the IO thread.
This patch simply allows time to move forward if we've failed to take a
semaphore immediately and need to wait.
6 years ago
Peter Barker
94d2ce13d2
AP_HAL_SITL: allow starting location to come from parameters
6 years ago
Grant Morphett
fdcdbddecc
AP_HAL_SITL: Send NMEA GPHDT sentence if enabled.
...
and add VTG message
6 years ago
Peter Barker
be5478902c
AP_HAL_SITL: add precland object
6 years ago
Peter Barker
80e8f9cdd8
AP_HAL_SITL: read all available SITL RC input packets
...
MAVProxy runs on its own clock. While our clock is stopped for whatever
reason MAVProxy will continue to send RC input. This patch always gives
us the most recent RC input from MAVProxy.
Also add sanity check on packet received
6 years ago
Peter Barker
17589ae3b9
AP_HAL_SITL: allow testing of throttle-goes-to-low-fixed-value rc failsafes
6 years ago
Tom Pittenger
81df9aaeb4
AP_HAL_SITL: unify singleton naming to _singleton and get_singleton()
6 years ago