Commit Graph

216 Commits

Author SHA1 Message Date
bugobliterator 5f2dd4ab5c SITL: add support for testing DroneCAN 2023-03-29 17:16:39 +11:00
bugobliterator e7533c006b SITL: add support for auxiliary IMUs 2023-03-21 10:04:16 +11:00
Peter Barker 4591895540 SITL: add gyro bias simulation 2023-02-24 09:21:42 +11:00
Andrew Tridgell d3ea7b0ca6 SITL: added SIM_UART_LOSS parameter 2023-01-15 21:57:15 +11:00
Andy Piper ec7be5c417 SITL: add parameters to control reading and writing IMU data to a file
add exit on stop to reading IMU data from a file
2022-12-28 18:14:56 +11:00
Andrew Tridgell 01cad1c4aa SITL: added SIM_GPS_LOG_NUM
for replaying GPS logs recorded with --enable-gps-logging
2022-12-20 10:23:58 +11:00
Andy Piper 71a27027f1 SITL: add baro wind coefficients for Z-axis. 2022-12-14 19:19:58 +11:00
Andrew Tridgell 7039088c7b SITL: added SIM_TIME_JITTER parameter
for adding timing jitter in SITL
2022-12-06 11:03:50 +11:00
Andrew Tridgell 1138f9e624 SITL: allow for extra actuators to be marked as motors 2022-10-16 20:38:19 +11:00
Andrew Tridgell a0af08a3aa SITL switched to motor_mask for which actuators are motors
this allows for any output to be an ESC, which allows for proper
simulation of quadplanes with ESCs on outputs 5-8 or 9-12, for testing
notch filtering
2022-10-16 20:38:19 +11:00
Peter Barker 6be8d9cd06 SITL: remove unneeded circular rangfinder include 2022-10-11 10:50:13 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Andy Piper ab64480d2b SITL: add spin armed rpm 2022-09-07 17:03:03 +01:00
Iampete1 79b44b2517 SITL: params always use set method 2022-08-03 13:43:48 +01:00
Andrew Tridgell 8cc5172ff3 SITL: fill in wind from flightaxis 2022-08-02 07:49:34 +10:00
Iampete1 7683b36e3b SITL: set compass vector after loading defualts 2022-07-28 16:51:33 +10:00
Andrew Tridgell 6b55073508 SITL: added SIM_VIB_MOT_HMNC parameter 2022-07-03 18:47:33 +10:00
Peter Barker 73190d075a SITL: add support for SIM_OH_MASK (sim-on-hardware output enable mask 2022-05-24 10:35:32 +10:00
Iampete1 32f8062b3e SITL: move to 32 servo outs 2022-05-22 12:07:37 +10:00
Andrew Tridgell 2dea725d80 SITL: fixed up airspeed parameters
use a separate airspeed structure and separate ratio per sensor
2022-05-17 19:34:32 +10:00
Peter Barker 348f0ad590 SITL: add SIM_SONAR_ROT, use it for measuring horizontal distances 2022-04-19 10:26:10 +10:00
Peter Barker 2e809282e7 SITL: split AP_HAL_SITL and AP_SIM_ENABLED 2022-03-17 14:39:55 +11:00
Peter Barker 4dfc9494ef SITL: correct compilation if INS_TEMPERATURE_CAL_ENABLE is off 2022-02-08 10:44:01 +11:00
Peter Barker 8782e21443 SITL: do not compile SIM_GPS parameters in if SIM_GPS not enabled 2022-01-25 19:28:06 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 87b0db7990 SITL: correct typos in comments 2022-01-12 16:47:42 +09:00
Andrew Tridgell df30d4e723 SITL: support interpolated GPS lag
use SIM_GPS_LAG_MS and SIM_GPS2_LAG_MS for the lag in milliseconds
2022-01-12 07:54:46 +11:00
Andrew Tridgell c565b8a84e SITL: support KSXT message for Unicore NMEA 2022-01-11 10:34:11 +11:00
Peter Barker 581629b332 SITL: make Ship simulator optional 2021-11-01 21:34:04 +11:00
Peter Barker 6c16da21c5 SITL: make simulated GPS work as a SerialDevice 2021-10-21 12:09:21 +11:00
Peter Barker 2d192e1fd3 SITL: remove written-only AP::sitl().update_rate_hz 2021-10-20 19:07:17 +11:00
Peter Barker 05c6a25e52 SITL: move simulated megasquirt to SerialDevice framework 2021-10-17 10:00:08 +11:00
Peter Barker 437e0e6459 SITL: add simulated SPI devices 2021-10-12 20:01:49 +11:00
Peter Barker d7ff072d26 SITL: remove mtk GPSs 2021-09-29 17:28:59 +10:00
Josh Henderson e8dcdd60c5 SITL: param use baro temp_board_offset instead of temp_flight 2021-08-24 09:55:01 +10:00
Peter Barker 97057a1350 SITL: add simulated FETtec ESC 2021-08-13 16:22:37 +10:00
bugobliterator 3033589fca SITL: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
Iampete1 612ea70e5b SITL: add JSON Master 2021-08-03 09:22:19 +10:00
Iampete1 41c167ba89 SITL: add SIM_JSON_MASTER param 2021-08-03 09:22:19 +10:00
Andrew Tridgell cf149a9d18 SITL: added SIM_INIT_LAT_OFS and SIM_INIT_LON_OFS
these give an initial lat/lon offset to the GPS in SITL so we can end
up with an origin a long way from the final position
2021-06-24 21:34:30 +10:00
Andrew Tridgell bf1f27af32 SITL: added is_lock_step_scheduled() API
used to fix panic on bad timing
2021-05-24 20:13:37 +10:00
Andy Piper 15fe14289d SITL: add SIM_ESC_TELEM 2021-05-12 17:01:11 +10:00
Iampete1 0c3aa72158 SITL: add direct actuated wing to sailboat sim 2021-04-28 08:22:47 +01:00
Philippe Hamelin 187549b431 SITL: Add NMEA THS message. 2021-04-14 17:20:28 +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
Andrew Tridgell 7292b4f260 SITL: added SIM_ACC_TRIM_{X,Y,Z} for simulating IMU trim
this will enable an autotest for AHRS trim
2021-01-25 16:24:50 +11:00
Andrew Tridgell 9febcc0f98 SITL: added accel scaling parameters 2021-01-21 13:09:21 +11:00
Andrew Tridgell b5089580a9 SITL: cleanup IMU parameters
allow for biases per IMU
2021-01-21 13:09:21 +11:00
Andrew Tridgell c0ba7c29ca SITL: use TCal class for temp adjustment in SITL 2021-01-21 13:09:21 +11:00
Pierre Kancir c1f1208c89 SITL: add support for SIM_STATE msg 2021-01-19 10:40:43 +11:00
Peter Barker b5316c3b52 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