Commit Graph

196 Commits

Author SHA1 Message Date
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 fdd0d0ae53 SITL: default SIM_RATE_HZ to 400 in SITL-on-hw 2022-12-24 07:27:04 +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
Peter Barker 6be8d9cd06 SITL: remove unneeded circular rangfinder include 2022-10-11 10:50:13 +11:00
Andy Piper ab64480d2b SITL: add spin armed rpm 2022-09-07 17:03:03 +01: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
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 7d10192550 SITL: do not write post locations files unless on HAL_BOARD_SITL
Nobody's going to be retrieving these from SD card so they can visualise
things...
2022-04-25 11:20:26 +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 b360521d0b SITL: permit double-precision maths in SITL even on embedded hardware 2022-03-17 14:39:55 +11: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
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
Peter Barker 59bda177ff SITL: cope with fewer than three INS_MAX_INSTANCEs 2021-11-02 09:38:59 +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 8ffbddd6ec SITL: correct compilation when MAX_CONNECTED_MAGS is reduced
For example, when building AP_Periph with reduced mag count
2021-10-20 19:43:47 +11:00
Tatsuya Yamaguchi f3173174f3 SITL: cope with BARO_MAX_INSTANCES < 3 2021-09-29 10:51:14 +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 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
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
Michael Oborne 323cbe47d2 SITL: fixup SIM_BAR parameter descriptions
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>

this fixs a issue with MP param doc parser caused by a syntax change
2021-04-16 09:21:44 +09:00
Philippe Hamelin 187549b431 SITL: Add NMEA THS message. 2021-04-14 17:20:28 +10:00
Peter Barker 27c262b037 SITL: add documentation fo rsimulated barometers 2021-04-10 11:28:22 +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
Andrew Tridgell b7f68e87b4 SITL: added barometer wind coefficients 2020-12-11 15:21:41 +11:00
Andrew Tridgell 3456bdb4eb SITL: added a separate param class for SITL baro params
makes it easier to add more
2020-12-11 15:21:41 +11:00
Peter Barker f7b2856af0 SITL: add simulator for IntelligentEnergy 2.4kWh
SITL: Added setup note to comment

SITL: IE24: Add Error param and cycle battery pwr
2020-11-24 12:54:52 +11:00
Andrew Tridgell bce4fd43a3 SITL: fixed GPS POS parameters
SIM_GPS2_POS1_* makes no sense
2020-11-24 12:01:04 +11:00
Michael du Breuil 892fb74c96 SITL: Add parameters for SFML_Joystick 2020-11-13 15:38:22 +11:00
Andrew Tridgell e07cecb264 SITL: added support for simulated battery discharge 2020-10-28 14:20:44 +11:00
Andrew Tridgell bf9c76a5c3 SITL: added SIM_MAGn_FAIL parameters 2020-09-08 11:01:14 +10:00
Andrew Tridgell b18928e28e SITL: fixed SIM_IMU_COUNT conflict
this came from merging two PRs which both changed SITL params
2020-08-28 11:32:31 +10:00
Andrew Tridgell c16467a47f SITL: added SIM_IMU_COUNT 2020-08-28 10:17:00 +10:00
Harshit Kumar Sankhla 8507c7d3b9 SITL: add some airspeed, baro, gps noise simulation parameters
also some rearrangements in the parameter
lists to make things look better
2020-08-27 20:20:51 +10:00
Andrew Tridgell 91b4830801 SITL: added SIM_GPS_ACC parameters 2020-08-25 10:22:05 +10:00