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...
3 years ago
Peter Barker
1d96dfe7c1
SITL: exclude method declarations based on USE_PICOJSON
...
Fixes SimOnHardware build
3 years ago
Peter Barker
348f0ad590
SITL: add SIM_SONAR_ROT, use it for measuring horizontal distances
3 years ago
Iampete1
a7abfeeb4a
SITL: allow cutom motor postions and thrust vectors to be specified
3 years ago
Iampete1
c4518e5cb7
SITL: motor: use postion and thrust vector
3 years ago
Iampete1
47f327b500
SITL: allow Vector3f inertia to be set via JSON
3 years ago
Iampete1
6272dc33dd
SITL: move moments inertia to frame property
3 years ago
Iampete1
7936f3bb0a
SITL: move motor related constants to motor object
3 years ago
Andrew Tridgell
4c9a851fc6
SITL: update for changed INS_NOTCH parameter name
3 years ago
Randy Mackay
375ab84e56
SITL: correct suggestion to user re wind estimatation param value
...
EK3_MCOEF becomes EK3_DRAG_MCOEF
EK3_BCOEF_ becomes EK3_DRAG_BCOEF_
3 years ago
Andrew Tridgell
536b59ed42
SITL: don't use adjusted terrain in SITL
3 years ago
Peter Barker
ebe2205ba7
SITL: add on-hardware example files
3 years ago
Peter Barker
edef2ceb56
SITL: usleep only on AP_HAL_SITL
3 years ago
Peter Barker
b360521d0b
SITL: permit double-precision maths in SITL even on embedded hardware
3 years ago
Peter Barker
2e809282e7
SITL: split AP_HAL_SITL and AP_SIM_ENABLED
3 years ago
Peter Barker
0957131543
SITL: use AP_HAL::micros() for get_wall_time_us
3 years ago
Peter Barker
3cf7091525
SITL: make parsing of json files dependent on PICOJSON
...
picojson uses the standard library; this will be a problem on embedded
platforms
3 years ago
Andrew Tridgell
c658f170cb
SITL: fixed ship offset velocity correction
3 years ago
Andrew Tridgell
18782c4990
SITL: added ship offset and ATTITUDE
3 years ago
Andrew Tridgell
07b78ab9a6
SITL: removed terrain home correction
3 years ago
murata
d3b7bbf994
SITL: Change build errors
3 years ago
Andy Piper
72d01aa8da
SITL: nuke clang warnings
3 years ago
Iampete1
b188d8fc5e
SITL: remove custom rotations
3 years ago
Peter Barker
4afc14007b
SITL: correct PS_LightWare_SF45B simulator
3 years ago
Peter Barker
6521bc31c7
SITL: correct altitude of suggested test location
3 years ago
Peter Barker
574f041224
SITL: do not abort if we fail to send a message to the autopilot
...
This is happening at boot - the simulated sensor is sending data too
quickly too soon to the autopilot, which hasn't detected the instance at
the time we abort.
3 years ago
Peter Barker
4dfc9494ef
SITL: correct compilation if INS_TEMPERATURE_CAL_ENABLE is off
3 years ago
Andrew Tridgell
7643c5d3f3
SITL: log airspeed in SIM2
3 years ago
Peter Barker
af1a454820
SITL: fix may-be-used-uninitialised error in thermalling code
3 years ago
Peter Barker
8782e21443
SITL: do not compile SIM_GPS parameters in if SIM_GPS not enabled
3 years ago
Josh Henderson
442cff4c60
SITL: helicopter add update_external_payload() for sensors
3 years ago
VMsunghwan
3febd78943
SITL : Update Telemetry
...
telemetery -> telemetry
3 years ago
Peter Barker
ee341bc4eb
SITL: add compilation option AP_SIM_CRSF_ENABLED
3 years ago
Peter Barker
bff0b6f970
SITL: add and use AP_SIM_GPS_FILE_ENABLED
3 years ago
Peter Barker
e6779e91e6
SITL: allow JEDEC/RAMTRON to be compiled out
...
SITL: add and use AP_SIM_RAMTRON_ENABLED
SITL: add an use AP_SIM_JEDEC_ENABLED
3 years ago
Jaaaky
22e1ea559c
SITL: Fix typo (NFC)
3 years ago
Peter Barker
9ef959b93b
SITL: make C_TO_KELVIN a function macro; create KELVIN_TO_C
...
These are in celsius
3 years ago
VMsunghwan
224cea979e
SITL : fixed typo
...
line 1119 in pnet.c : to to -> to
line 198 in SIM_Plane.cpp : to to -> to
3 years ago
Dr.-Ing. Amilcar do Carmo Lucas
87b0db7990
SITL: correct typos in comments
3 years ago
Joshua Henderson
d77105b3b1
SITL: Gimbal make some printfs #if GIMBAL_DEBUG
3 years ago
Andrew Tridgell
19d2dcb413
SITL: removed unnecessary SIM_GPS_DELAY parameters
3 years ago
Andrew Tridgell
df30d4e723
SITL: support interpolated GPS lag
...
use SIM_GPS_LAG_MS and SIM_GPS2_LAG_MS for the lag in milliseconds
3 years ago
Andrew Tridgell
c565b8a84e
SITL: support KSXT message for Unicore NMEA
3 years ago
Peter Barker
268032e640
SITL: add missing include file for terrain
3 years ago
Andrew Tridgell
05f112ea17
SITL: support simulation of ODOMETRY message
3 years ago
Shiv Tyagi
fa6adc0beb
SITL: add JEDEC dataflash simulator
...
We currently use AP_Logger_SITL for this purpose but we can instead add a dataflash simulator which can work with existing AP_Logger_Dataflash backend instead of using AP_Logger_SITL.
Co-Authored-By: Divyateja Pasupuleti <divyateja2004@gmail.com>
3 years ago
Andrew Tridgell
ba58558bd1
SITL: fixed default BATT_CAPACITY for SITL
...
don't override from JSON model unless we have a value
3 years ago
Jaaaky
71154105e4
SITL: Fix multi #include's
3 years ago
Peter Barker
497e6df326
SITL: correct submarine rangefinding
3 years ago
Peter Barker
6fcf724b67
SITL: tidy range calculations
...
Also return INFINITY if the rangefinder can't see the ground
3 years ago