Samuel Tabor
49fb4f37c5
SITL: Send VCAS in Flightgear packet.
2023-02-20 05:37:21 -08:00
Peter Barker
ffa43c1b71
AP_HAL_SITL: avoid using struct Location
...
clang reports this could be a problem when compiling under some EABIs. Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
2023-02-04 22:51:54 +11:00
Andrew Tridgell
1c554ccc24
HAL_SITL: only do the cygwin speedup hack for scripting while armed
...
this stops us chewing lots of CPU while disarmed, and also stops the
logging thread from chewing a lot of CPU
2022-11-10 12:12:03 +11:00
Andrew Tridgell
1488edb1d8
HAL_SITL: fixed sleep time with speedup
...
and removed sleep in threads for cygwin, as granulatity of sleep is
too high, resuling in very poor lua performance
2022-11-07 21:22:43 +11:00
Andrew Tridgell
1871c6bef7
HAL_SITL: use motor mask for noise checking for motors
2022-10-16 20:38:19 +11:00
Andrew Tridgell
53997a284b
AP_HAL_SITL: fixes from --ubsan autotest
2022-09-06 10:49:50 +10:00
Jeffrey Laut
3133aff352
SITL: fix simulated RC failure while receiving RC overrides
2022-09-02 12:08:34 +10:00
Peter Barker
1c7e2f5094
AP_HAL_SITL: correct bind-value SIM_RC_FAIL handling
...
If SITL is not receiving any sitl rc input (so _sitl_rc_in.recv(...) is allways returns -1 then the bind-values code would never be crossed so the RC input values would remain at their initialisation values rather than honouring the SIM_RC_FAIL setting which says they should go to bind values (notably throttle-to-950)
2022-08-10 17:14:21 +10:00
Henry Wurzburg
e682296b58
AP_HAL_SITL: add TeraRange Neo Rangefinder
2022-08-09 09:01:34 +10:00
Clyde McQueen
25fd69b947
AP_HAL_SITL: init ArduSub pwm_output to [1500, ...]
...
Signed-off-by: Clyde McQueen <clyde@mcqueen.net>
2022-05-19 07:53:52 +10:00
Andrew Tridgell
f8aa4623ef
HAL_SITL: don't use terrain adjustment
2022-03-28 16:01:21 +11:00
Andrew Tridgell
535d7f0d85
AP_HAL_SITL: removed terrain home correction
2022-03-10 07:34:20 +11:00
Peter Barker
ee341bc4eb
SITL: add compilation option AP_SIM_CRSF_ENABLED
2022-01-15 21:56:33 +11:00
Peter Barker
08b8d3ad34
AP_HAL_SITL: correct compilation when SIM options disabled
...
AP_HAL_SITL: use AP_ASIM_GIMBAL_ENABLED
AP_HAL_SITL: use AP_SIM_ADSB_ENABLED
AP_HAL_SITL: use AP_SIM_RPLIDARA2_ENABLED
AP_HAL_SITL: use AP_SIM_PS_LIGHTWARE_SF45B_ENABLED
AP_HAL_SITL: use AP_SIM_PS_TERRARANGERTOWER_ENABLED
AP_HAL_SITL: use AP_SIM_AIS_ENABLED
AP_HAL_SITL: use AP_SIM_JSON_MASTER_ENABLED
2022-01-15 17:37:24 +11:00
Peter Barker
fbe46f400f
AP_HAL_SITL: stop passing home_str to _sitl_setup
...
This is poked into the model now
2021-12-13 09:30:33 +11:00
Peter Barker
acbe567202
AP_HAL_SITL: consolidate rangefinder range calculations
2021-12-11 20:10:10 +11:00
Peter Barker
cce14d8461
AP_HAL_SITL: remove unused _home_str member
2021-12-07 09:36:22 +11:00
Peter Barker
cdccc67fb8
AP_HAL_SITL: make SITL::ADSB a SITL::SerialDevice
2021-11-23 11:09:29 +11:00
Peter Barker
9ebd0cdeed
AP_HAL_SITL: use SITL::SerialDevice in place of pipe for communication
2021-11-06 16:54:07 +11:00
Peter Barker
02dc42275c
AP_HAL_SITL: remove unused/unimplemented methods/vars, tidy namespacing
2021-10-28 09:09:44 +11:00
Andrew Tridgell
8192661042
AP_HAL_SITL: rename uLanding simulation to USD1
2021-10-26 15:31:12 +11:00
Peter Barker
cf9bbb570c
AP_HAL_SITL: correct nullptr check on simulated mavlink rangefinder
...
Obvious copy/paste error
2021-10-22 21:46:01 +11:00
Peter Barker
1ab8a3e3aa
AP_HAL_SITL: make simulated GPS work as a SerialDevice
2021-10-21 12:09:21 +11:00
Stephen Dade
1356beb14d
AP_HAL_SITL: Add instance to ADSB simulation
2021-10-20 20:21:33 +11:00
Peter Barker
21030c4e83
AP_HAL_SITL: remove written-only AP::sitl().update_rate_hz
2021-10-20 19:07:17 +11:00
Peter Barker
8c9ade3f7f
AP_HAL_SITL: move simulated megasquirt to SerialDevice framework
2021-10-17 10:00:08 +11:00
Asa Davis
85fbbe0704
SITL: add simulator for LORD Microstrain serial EAHRS
2021-10-17 08:55:03 +11:00
Peter Barker
d98cda12c6
AP_HAL_SITL: remove HIL_MODE vestiges
2021-10-12 08:57:05 +11:00
Pierre Kancir
aebe2beba5
AP_HAL_SITL: check that _sitl is not nullptr before using it
2021-08-14 10:20:33 +10:00
Pierre Kancir
c91c570814
AP_HAL_SITL: don't use timer_event() that is static from the _scheduler instance
2021-08-14 10:20:33 +10:00
Peter Barker
26f2393014
AP_HAL_SITL: add simulated FETtec ESC
2021-08-13 16:22:37 +10:00
Iampete1
6deacda180
AP_HAL_SITL: load SIM_AIS
2021-08-10 08:11:18 +09:00
bugobliterator
26e2a4a3cb
AP_HAL_SITL: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
Iampete1
5ff0f42372
AP_HAL_SITL: add slave JSON instances
2021-08-03 09:22:19 +10:00
Andrew Tridgell
7550368fc7
HAL_SITL: update for changed SITL API
2021-07-14 17:34:40 +10:00
Peter Barker
67ebdc300b
AP_HAL_SITL: reduce scope of loop variable
2021-06-27 10:57:07 +10:00
Peter Barker
933aba66f8
AP_HAL_SITL: avoid nullptr dereference in Replay
2021-01-19 15:15:35 +11:00
Andrew Tridgell
7cc71dc573
HAL_SITL: support VectorNav simulation
2021-01-05 21:13:12 +11:00
Andrew Tridgell
cf187ff837
AP_HAL_SITL: convert to using hal.serial() instead of hal.uartX
2020-12-15 10:32:46 +11:00
Peter Barker
c1202e4878
AP_HAL_SITL: add simulated SF45B
2020-12-09 21:32:36 +11:00
Peter Barker
5e2bd6d9ec
AP_HAL_SITL: add terarangertower simulator
2020-12-08 09:21:06 +11:00
Peter Barker
c52298352a
AP_HAL_SITL: add simulator for IntelligentEnergy 2.4kWh
2020-11-24 12:54:52 +11:00
bugobliterator
09a0d8d0c0
HAL_SITL: add support for AP_Periph SITL build
2020-11-04 19:59:40 +11:00
Peter Barker
602a9592ce
SITL: add Maxell SMBus battery support
2020-10-26 20:34:05 +11:00
Peter Barker
2319638dd2
AP_HAL_SITL: simulated i2c support
2020-08-04 21:40:21 +10:00
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
2020-08-04 21:40:21 +10:00
Peter Barker
38e3d63fac
AP_HAL_SITL: correct AP_Terrain cast-align compilation failure on SITL_arm_linux_gnueabihf
2020-07-23 18:10:06 +10:00
Andrew Tridgell
ac604cac54
HAL_SITL: update for GPS param changes
2020-07-10 13:28:38 +10:00
Andy Piper
a9ded9d870
AP_HAL_SITL: add CRSF simulation driver
2020-07-07 18:48:06 +10:00
Peter Barker
0b431f3ecd
AP_HAL_SITL: add simulated GY-US42-v2 rangefinder
2020-07-04 13:40:10 +10:00