Commit Graph

485 Commits

Author SHA1 Message Date
Andrew Tridgell 2168633372 HAL_SITL: account for attitude rate in moving baseline data 2021-04-20 17:43:01 +10:00
Philippe Hamelin 187549b431 SITL: Add NMEA THS message. 2021-04-14 17:20:28 +10:00
Andrew Tridgell 266b425115 HAL_SITL: use common nmea_printf() 2021-04-13 09:36:52 +10:00
Peter Barker 5ebe505f2c AP_HAL_SITL: ensure reboot command ACK is written out in SITL 2021-04-06 10:21:59 +10:00
Michelle Rossouw d06161e8ee AP_HAL_SITL: Added support for blimp simulator 2021-03-31 12:27:07 +11:00
Andrew Tridgell b9df270df6 AP_HAL_SITL: removed assert calls
these waste flash space and do not do us any good
2021-03-25 14:03:40 +11:00
Andrew Tridgell 4f1c43862e HAL_SITL: support arrays of CAN interfaces
allows for multi-bus in AP_Periph
2021-03-23 12:01:20 +11:00
bugobliterator 49d934eb42 AP_HAL_SITL: add support for multiple periph instances 2021-03-12 16:32:36 +09:00
Patrick José Pereira 1038581bcb AP_HAL_SITL: Simplify boolean expression
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
Peter Barker c20c4a6308 AP_HAL_SITL: set bus in read-size of rdwr transaction 2021-02-17 14:23:07 +11:00
Patrick José Pereira dc6f5aec92 AP_HAL_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 933aba66f8 AP_HAL_SITL: avoid nullptr dereference in Replay 2021-01-19 15:15:35 +11:00
Peter Barker 7d42f473fc AP_Logger: allow each backend to be compiled out 2021-01-08 12:48:55 +11:00
Andrew Tridgell 7cc71dc573 HAL_SITL: support VectorNav simulation 2021-01-05 21:13:12 +11:00
Andrew Tridgell c21b6b4a16 AP_HAL_SITL: use ExpandingString class 2021-01-05 10:52:00 +11:00
Peter Barker 3c16f164df AP_HAL_SITL: correct I2C callback interval 2021-01-04 11:26:12 +11:00
Andrew Tridgell 418367c266 HAL_SITL: allow --home to specify a location from locations.txt
this will make it easy to use a named location in MissionPlanner SITL
2021-01-01 17:30:32 +11:00
Andy Piper 253ce18184 AP_HAL_SITL: rename system_initialized() and add is_system_initialized() 2020-12-30 18:16:59 +11:00
Peter Barker bddea9e046 AP_HAL_SITL: add support for multiple i2c buses 2020-12-24 16:05:49 +11:00
Peter Barker a8b93881d3 AP_HAL_SITL: stash pressure in sitl_fdm structure
It's not a great way of getting the data where needed - but it is
something.
2020-12-22 23:07:24 +11:00
Peter Barker e0aa3c78e5 AP_HAL_SITL: remove unimplemented methods 2020-12-22 23:07:24 +11:00
Andrew Tridgell 2e18334165 HAL_SITL: fixed baudrate 0 set in SITL
this fixes MSP sensors in SITL with real uarts
2020-12-15 11:36:16 +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 7449b3eea4 AP_HAL_SITL: fix help output 2020-12-12 10:01:20 +11:00
Peter Barker c1202e4878 AP_HAL_SITL: add simulated SF45B 2020-12-09 21:32:36 +11:00
murata a43064bb4e AP_HAL_SITL: Support for decacopters 2020-12-08 11:59:10 +11:00
Peter Barker 5e2bd6d9ec AP_HAL_SITL: add terarangertower simulator 2020-12-08 09:21:06 +11:00
Peter Barker 035e798b23 AP_HAL_SITL: use a separate eeprom.bin for SITL build
This resolves a problem in autotest where the eeprom.bin gets wiped out
when we run Replay against a log as part of test.Copter.Replay
2020-11-30 18:50:24 +11:00
Andrew Tridgell a7a5879c0c AP_HAL_SITL: support uartI, allowing a total of 9 uarts
this allows for OTG2 on the MatekH743 board, which makes SLCAN much
easier
2020-11-30 14:09:31 +11:00
Peter Barker c52298352a AP_HAL_SITL: add simulator for IntelligentEnergy 2.4kWh 2020-11-24 12:54:52 +11:00
Andrew Tridgell 9a026b8068 HAL_SITL: fixed warning building with gcc 9.x 2020-11-18 17:14:43 +11:00
Andrew Tridgell 08291a15fb HAL_SITL: avoid sitl command line processing for replay
avoids need for -- arguments for replay
2020-11-17 13:45:07 +11:00
Michael du Breuil 58ee8f62e2 AP_HAL_SITL: Support SFML joystick input 2020-11-13 15:38:22 +11:00
Peter Barker a9a2c8c392 AP_HAL_SITL: only disown a sempahore once we're done with it 2020-11-12 21:19:55 +11:00
bugobliterator eea6b4c9b9 AP_HAL_SITL: handle uninitialised file descriptor 2020-11-11 19:52:37 +11:00
Andrew Tridgell db86b95761 HAL_SITL: fixed AP_Periph sitl build 2020-11-10 16:15:45 +11:00
Andrew Tridgell c321025725 HAL_SITL: run nanf fill every 10 loops
this saves a lot of cpu while still giving protection
it reduces time to run a test replay from 8.1s to 4.1s
2020-11-10 16:15:45 +11:00
Andrew Tridgell d380447cd5 HAL_SITL: support command line args for replay 2020-11-10 16:15:45 +11:00
Andrew Tridgell f966e92d99 HAL_SITL: default model for replay 2020-11-10 16:15:45 +11:00
bugobliterator 0d41db5520 AP_HAL_SITL: flush data from select call as we don't wait select in AP_Periph 2020-11-04 19:59:40 +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 c40b5490f4 AP_HAL_SITL: stop setting of pull-up resistors affecting SIM_PIN_MASK 2020-10-14 08:28:23 +11:00
Peter Barker b7f0015a69 AP_HAL_SITL: add bus ownership check for simulated i2c transfers
Also stop copying the bus object while iterating
2020-10-13 19:55:34 +11:00
Pierre Kancir 5b356953ff AP_HAL_SITL: implement and use set_cmdline_parameters() 2020-10-13 10:31:21 +11:00
Pierre Kancir 466a430c4f AP_HAL_SITL: add --sysid option to set SYSID_THISMAV 2020-10-13 10:31:21 +11:00
bugobliterator 5f0c553982 AP_HAL_SITL: configure filter only if in FilteredMode 2020-10-08 09:31:35 +11:00
Mark Whitehorn 866405c7df AP_HAL_SITL: fix segv in examples 2020-09-10 14:30:24 +10:00
Samuel Tabor 21a8471d2d SITL: Add start time argument. 2020-09-07 21:20:25 +10:00
Harshit Kumar Sankhla 952c14ed33 AP_HAL_SITL: add GPS Velocity Error through a SITL parameter 2020-08-27 20:20:51 +10:00