Commit Graph

792 Commits

Author SHA1 Message Date
Samuel Tabor
a301808e7a SITL: Add parsing of airspeed to SIM_JSON 2021-03-31 19:26:02 +11:00
Michelle Rossouw
7d42c3c834 SITL: Added simple blimp simulator 2021-03-31 12:27:07 +11:00
Josh Henderson
267d19b0de SITL: SIM_Vicon fix observation interval limit 2021-03-04 16:12:54 +09:00
Josh Henderson
dceb76c9f1 SITL: SIM_VICON output MAVLink vision_position_delta 2021-03-04 16:12:54 +09:00
Peter Barker
03bb3237ef SITL: set default RPM_TYPE to 10 for FlightAxis 2021-03-02 15:41:44 +11:00
Patrick José Pereira
300a14aaae SITL: Simplify boolean expression
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
Peter Barker
514dfa4b71 SITL: SF45B: increase resolution to 1 degree
The mode filter tends to squish a lot of data if we don't get this
correct.
2021-02-04 20:50:21 +11:00
Patrick José Pereira
ba293084e3 SITL: Remove pointer check before delete
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-04 09:01:19 +11: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
Siddharth Purohit
f53d80374b SITL: fix build for macos systems 2021-01-21 13:09:21 +11:00
murata
fd91cb03b4 SITL: Change the Kelvin value to a defined name 2021-01-20 20:27:19 +11:00
Peter Barker
c0ea19e5c5 SITL: add test for maxbotixi2cxl 2021-01-19 11:20:47 +11:00
Pierre Kancir
c1f1208c89 SITL: add support for SIM_STATE msg 2021-01-19 10:40:43 +11:00
Andrew Tridgell
5def8a64ab SITL: avoid negative current and voltage in flightaxis
RealFlight9 will sometimes give meaningless negative values
2021-01-19 10:21:35 +11:00
Peter Barker
b92b343d4e SITL: add simulator for ICM40609 2021-01-12 17:43:36 +11:00
Peter Barker
81ab322daa SITL: correct max_distance in simulated mavlink rangefinder 2021-01-06 15:33:41 +11:00
Andrew Tridgell
f57971eafe SITL: added VectorNav simulator 2021-01-05 21:13:12 +11:00
Peter Barker
b6833eee9b SITL: correct SMBus block reads 2021-01-05 14:45:20 +11:00
Peter Barker
8be50910e4 SITL: add support for simulated TSYS01 temperature sensor 2021-01-05 12:01:51 +11:00
Josh Henderson
ceb2c87970 SITL: align default i2c device bus for BattMonitor 2021-01-04 18:30:09 +11:00
Peter Barker
8977f3a859 SITL: correct I2C message handling 2021-01-04 12:49:20 +11:00
Peter Barker
23d393e108 SITL: add I2C 8Bit-register methods 2021-01-04 12:49:20 +11:00
Peter Barker
8e34388a20 SITL: move simulated maxsonari2c to bus 0
.... where the driver expects it by default
2021-01-03 20:36:54 +11:00
Peter Barker
e5fd661caf SITL: correct I2C multi-bus support 2021-01-03 20:36:54 +11:00
Peter Barker
21ffa4d259 SITL: add sanity check for duplicate bus/addr I2C devices 2021-01-03 20:36:54 +11:00
Peter Barker
995f5d1dad SITL: increase quad scanner range to 18m
Matches the value we send for Rover, which is useful until we can
reflect on the simulation to discover its maximum range
2021-01-03 18:54:54 +11:00
Rishabh
2f5f55f680 SITL: Added quadcopter morse example with laser scanner 2021-01-03 18:54:54 +11:00
Peter Barker
b1239dcd06 SITL: correct OBSTACLE_DISTANCE message output from SIM_Morse 2021-01-03 17:49:44 +11:00
oneWayOut
654aea1cd1 SITL: delete unused parameter 'Vector3f &body_accel' in Plane::calculate_forces() 2020-12-30 18:59:12 +11:00
Peter Barker
69c97c1565 SITL: add support for multiple i2c buses 2020-12-24 16:05:49 +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
Peter Barker
0bb6f8897e SITL: add simulated DLVR airspeed sensor 2020-12-22 23:07:24 +11:00
Andrew Tridgell
a31ea88ff5 SITL: use async SOAP requests for flightaxis
this greatly improves performance for cygwin
2020-12-17 16:13:55 +11:00
Andrew Tridgell
8d6d5c6b49 SITL: removed flightaxis threading 2020-12-17 16:13:55 +11:00
Paul Riseborough
b258cb0539 SITL: Add momentum drag to Z axis to work around thrust model deficiencies 2020-12-11 15:21:41 +11:00
Paul Riseborough
a907c10733 SITL: Add momentum drag to multicopter model 2020-12-11 15:21:41 +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
449b0fb145 SITL: add simulated SF45B 2020-12-09 21:32:36 +11:00
Andrew Tridgell
445759295d SITL: fixed use of GND prefix 2020-12-08 13:22:17 +11:00
murata
13c7980f0b SITL: Support for decacopters 2020-12-08 11:59:10 +11:00
Peter Barker
e5423a3cf6 SITL: add terarangertower simulator 2020-12-08 09:21:06 +11:00
Peter Barker
bd5c34f626 SITL: improve instructions for using simulated RPLidarA2 sensor 2020-12-08 09:21:06 +11:00
Peter Barker
7d232b24d6 SITL: improve simulated serial proximity sensor
SITL: rename measure_distance_at_angle to include '_bf'
2020-12-08 09:21:06 +11:00
Peter Barker
6bc8ff2ee8 SITL: factor out an I2C command/response class from simulated MaxSonar sensor 2020-12-05 09:35:53 +11:00
Tom Pittenger
20d21fe175 SITL/examples: remove ADSB param that is already default 2020-11-30 16:05:17 +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
Peter Barker
545a086865 SITL: make ToshibaLED an 8-bit register device 2020-11-12 21:19:55 +11:00
Peter Barker
e21e55ba51 SITL: add I2CRegister::8Bit for 8-bit-quantity devices 2020-11-12 21:19:55 +11:00
Huibean
a00243dc5a SITL: fix copter sitl build on macos 2020-11-12 20:39:51 +11:00
Peter Barker
d436e5b5d1 SITL: add simulator for Rotoye battery monitor
Also correct temperature from generic battery simulator
2020-11-11 19:27:21 +11:00
Andrew Tridgell
32bda36908 SITL: fixed build with no GCS 2020-11-10 16:15:45 +11:00
Andrew Tridgell
d8337cf9e5 SITL: allow loading of model from ROMFS 2020-10-28 14:20:44 +11:00
Andrew Tridgell
e07cecb264 SITL: added support for simulated battery discharge 2020-10-28 14:20:44 +11:00
Andrew Tridgell
a0bc9d3148 SITL: fixed quadplane mass and rpm indexing 2020-10-28 14:20:44 +11:00
Andrew Tridgell
767773da5e SITL: improved multicopter simulation
this takes account of motor expo, velocity of air over propellers,
mass, size and other factors

It also allows for frame parameters to be supplied as an external json file
2020-10-28 14:20:44 +11:00
Andrew Tridgell
c2661a0f09 SITL: added picojson.h header
will be used for custom frame parameters
2020-10-28 14:20:44 +11:00
Peter Barker
602a9592ce SITL: add Maxell SMBus battery support 2020-10-26 20:34:05 +11:00
Samuel Tabor
c9362fbb70 SITL: Calculate current in SIM_Plane. 2020-10-18 11:43:51 +11:00
Peter Barker
6711c479de SITL: fix RPLidarA2 instructions and diagnostic output 2020-10-02 16:05:15 +10:00
Peter Barker
a5a13f37c9 SITL: adjust for START_STOP_D now not polluting global namespace 2020-09-30 23:14:40 +10:00
Peter Barker
abab203b32 SITL: remove zero initialisations, move more into class definitions 2020-09-28 12:15:04 +10:00
Jovian Dsouza
a62a7e0bd1 SITL: correct Webots README.md
Resolves :#15378
2020-09-23 15:32:56 +10:00
Tom Pittenger
bd445bafc4 SITL: update ADSB sim to use squawk=1200 and set all valid flags 2020-09-15 13:09:50 -07:00
Andrew Tridgell
cd1502ab72 SITL: fixed string warnings 2020-09-15 09:40:03 +10:00
Iampete1
f350bfba78 SITL: JSON: don't warn for none required sections 2020-09-15 08:12:29 +10:00
dmitry
94d2f4ea0e SITL_AirSim: moved NED position initialization
out of always false if -statement
2020-09-13 08:04:09 +10:00
ashvath100
e21e720b12 SITL: walking robot script direction fix 2020-09-10 08:27:01 +09:00
Iampete1
8aeee4bc83 SITL: SIM_JSON:: add support for apparent wind sensor 2020-09-09 18:26:54 +10:00
Iampete1
2764126a1c SITL: add apparent wind sensor support 2020-09-09 18:26:54 +10:00
Andrew Tridgell
bf9c76a5c3 SITL: added SIM_MAGn_FAIL parameters 2020-09-08 11:01:14 +10:00
Samuel Tabor
21a8471d2d SITL: Add start time argument. 2020-09-07 21:20:25 +10:00
murata
a44defc49e SITL: Disabling debugging cyclic messages
SITL: Disabling debugging cyclic messages
2020-09-03 11:31:05 +10:00
Rajat Singhal
0f66936353 SITL: Airsim: Add support for rangefinder sensor data
Also increase RC channels to 12
2020-09-02 17:25:43 +10:00
Rajat Singhal
6085614364 SITL: Airsim: Resend servo output after timeout
Plus some cleanup
2020-09-02 17:25:43 +10:00
Tatsuya Yamaguchi
829cd29d7c SITL: fix when speedup is specified as a startup parameter 2020-09-02 17:13:22 +10:00
ashvath100
9ea390e24b SITL: pybullet script for walking robots 2020-09-01 09:33:24 +09: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
Iampete1
123d7e4683 SITL: examples: update JSON readme 2020-08-05 18:24:36 +10:00
Iampete1
bdec15f708 SITL: JSON add rangefinder support 2020-08-05 18:24:36 +10:00
Iampete1
537eec9091 SITL: add rangefinder support 2020-08-05 18:24:36 +10:00
Iampete1
16a9506cf2 SITL: SIM_Aircraft: add rangefinder array 2020-08-05 18:24:36 +10:00
Peter Barker
68b6b77a22 SITL: correct simulation of RichenPower generator 2020-08-05 16:26:19 +09:00
Peter Barker
b5050c1e11 SITL: add simulated MaxSonarI2CXL i2c sensor 2020-08-04 21:40:21 +10:00
Peter Barker
80d7a4ee5e SITL: simulated i2c support 2020-08-04 21:40:21 +10:00
Peter Barker
0303c5c4a8 SITL: move calculation of simulated rangefinder range to inside SIM_Aircraft
this will allow us to use the for non-serial rangefinder backends
2020-08-04 21:40:21 +10:00
Andrew Tridgell
849cb960e5 SITL: enable battery monitoring for flight axis by default 2020-08-02 12:25:03 +10:00
Mark Whitehorn
f9e129e617 SITL: read 12 flightaxis input channels 2020-07-27 12:02:53 +10:00
Peter Barker
d298980969 SITL: correct AP_Terrain cast-align compilation failure on SITL_arm_linux_gnueabihf 2020-07-23 18:10:06 +10:00
Peter Barker
4e3c23c969 SITL: ignore failure to pop servo sample from buffer 2020-07-20 10:19:47 +09:00
Iampete1
c8f1b44ee6 SITL: JSON: examples: update readme 2020-07-17 21:37:18 +10:00