Andrew Tridgell
5eb8b8d72e
HAL_SITL: support mavcan message forwarding
3 years ago
Andrew Tridgell
9fd25907e2
HAL_SITL: fixed mapping of --serial ports in SITL
...
uart paths are still in uartABCD order
3 years ago
Peter Barker
ee341bc4eb
SITL: add compilation option AP_SIM_CRSF_ENABLED
3 years ago
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
3 years ago
Pierre Kancir
6584fef711
AP_HAL_SITL: catch more signal for correct exit
...
SIGINT is for ctrl-c
SIGHUP and SIGQUIT are use within term. If the term close before SITL, it will trigger one of those and then exit cleanly anyway
3 years ago
Shiv Tyagi
af950e266b
AP_HAL_SITL: add dataflash to spi device table
...
We simulate jedec flash for logging. Hence, we need to add dataflash to device table. Also, we need to remove HAL_LOGGING_SITL_ENABLED since we no longer need it
Co-Authored-By: Divyateja Pasupuleti <divyateja2004@gmail.com>
3 years ago
Andy Piper
fa91e74fde
AP_HAL_SITL: remove redundant harmonics from DSP
3 years ago
Peter Barker
fbe46f400f
AP_HAL_SITL: stop passing home_str to _sitl_setup
...
This is poked into the model now
3 years ago
Peter Barker
2f77fef10e
AP_HAL_SITL: permit float-equal while we do comparison vs INFINITY
3 years ago
Peter Barker
acbe567202
AP_HAL_SITL: consolidate rangefinder range calculations
3 years ago
Peter Barker
6e8c7c6b03
AP_HAL_SITL: remove unused mag-data delay buffer state variables
...
This delay buffer code is now in AP_Compass_SITL
3 years ago
Peter Barker
cce14d8461
AP_HAL_SITL: remove unused _home_str member
3 years ago
Peter Barker
8cc7f51de1
AP_HAL_SITL: tidy set/get of hw RTC
3 years ago
Peter Barker
11cbd68296
AP_HAL_SITL: remove incorrect use of ARRAY_SIZE
...
This was converted to a linked list....
3 years ago
Peter Barker
cdccc67fb8
AP_HAL_SITL: make SITL::ADSB a SITL::SerialDevice
3 years ago
Andrew Tridgell
3b3abdeef0
AP_HAL_SITL: support up to 9 UARTs
3 years ago
Peter Barker
eb6da9512f
AP_HAL_SITL: quieten i2c-device-creation diagnostics
3 years ago
bugobliterator
09096cb355
AP_HAL_SITL: add get_storage_ptr method
3 years ago
Peter Barker
9ebd0cdeed
AP_HAL_SITL: use SITL::SerialDevice in place of pipe for communication
3 years ago
Peter Barker
02dc42275c
AP_HAL_SITL: remove unused/unimplemented methods/vars, tidy namespacing
3 years ago
Andrew Tridgell
8192661042
AP_HAL_SITL: rename uLanding simulation to USD1
3 years ago
Peter Barker
cf9bbb570c
AP_HAL_SITL: correct nullptr check on simulated mavlink rangefinder
...
Obvious copy/paste error
3 years ago
Peter Barker
1ab8a3e3aa
AP_HAL_SITL: make simulated GPS work as a SerialDevice
3 years ago
Peter Barker
99e80549b1
SITL: move sitl_gps.cpp to SIM_GPS.cpp
3 years ago
Stephen Dade
1356beb14d
AP_HAL_SITL: Add instance to ADSB simulation
3 years ago
Peter Barker
21030c4e83
AP_HAL_SITL: remove written-only AP::sitl().update_rate_hz
3 years ago
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
f5d5387358
AP_HAL_SITL: remove unused ext_fifo_fd member variable
3 years ago
Peter Barker
67226433e3
AP_HAL_SITL: add simulated RAMTRON device
3 years ago
Peter Barker
58a7f022fd
AP_HAL_SITL: add simulated SPI devices
3 years ago
Peter Barker
d98cda12c6
AP_HAL_SITL: remove HIL_MODE vestiges
3 years ago
Peter Barker
521918d74c
SITL: remove set-but-not-used _framerate member variable
3 years ago
Iampete1
9f04cded3b
AP_HAL_SITL: AnalogSource: return bool for set_pin
3 years ago
Peter Barker
402669f269
AP_HAL_SITL: add and use HAL_SITL &hal_sitl
...
analogous to our normal "extern hal" stuff but removes need for casting
3 years ago
Peter Barker
3292128531
AP_HAL_SITL: allow for selection of Storage backend type at runtime
3 years ago
Andrew Tridgell
9a29f2558c
HAL_SITL: fixed cygwin build
...
cygwin does not handle panic being weak, it gets a link error
3 years ago
Peter Barker
6bd2bc2179
AP_HAL_SITL: remove mtk GPSs
...
These are ancient and of very poor quality.
3 years ago
Josh Henderson
328cf01436
AP_HAL_SITL: make panic() WEAK
3 years ago
Peter Barker
9c24916115
AP_HAL_SITL: move from HAL_NO_GCS to HAL_GCS_ENABLED
3 years ago
Andrew Tridgell
f77e64ac83
HAL_SITL: Fixed default PWMs for blimp
3 years ago
Peter Barker
ae40531cd7
AP_HAL_SITL: make heli-blade simulation work
4 years ago
Peter Barker
129eb4c184
AP_HAL_SITL: do not overwrite FETTecESC telemetry data w/SITL ESC data
4 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
9b78fa7fb8
HAL_SITL: implement valid_pin()
4 years ago