Commit Graph

853 Commits

Author SHA1 Message Date
Peter Barker
8843c17f9d SITL: LightwareSerial: return 130m when out-of-range-high 2021-11-23 18:20:58 +11:00
Peter Barker
2dd3263650 SITL: cap digits in LightWareSerial measurements
this was hitting the buffer-length limit in the ArduPilot rangefinder
driver as soon as we hit the 100m mark
2021-11-23 18:20:58 +11:00
Peter Barker
494dcc6ba3 SITL: make SITL::ADSB a SITL::SerialDevice 2021-11-23 11:09:29 +11:00
Tom Pittenger
659c35d1a9 SITL: expire stationary sim_adsb targets after an hour 2021-11-23 09:16:04 +11:00
HefnySco
5aa3714e71 WEBOTS_SITL: adjust_params model 2021-11-16 13:30:12 +11:00
Peter Barker
60453b2250 SITL: quieten MKFIFO warning in case of EEXIST 2021-11-12 09:56:28 +11:00
Peter Barker
306bd0a4ab SIM_GPS: make writing of data w/out byteloss more efficient 2021-11-06 16:56:14 +11:00
Peter Barker
13bd2379cf SITL: use SITL::SerialDevice in place of pipe for communication 2021-11-06 16:54:07 +11:00
Peter Barker
a88464c928 SITL: send sv_info from both GPS instances
Without sv_info we don't get the correct ublox type, meaning we get the wrong lag time, meaning EKF2 gets rather more annoyed than it should when we do loops in SITL.
2021-11-05 23:18:11 +11:00
Peter Barker
1abef3275e SITL: make ToshibaLED simulator optional 2021-11-02 09:40:09 +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
Andrew Tridgell
7056a09ef4 SITL: rename uLanding files to USD1 2021-10-26 15:31:12 +11:00
Andrew Tridgell
55e8725231 SITL: rename uLanding simulation to USD1 2021-10-26 15:31:12 +11:00
Iampete1
ef9580fcf2 SITL: update tailsitter ground behavoir 2021-10-26 10:03:00 +11:00
IamPete1
950391df12 SITL: add copter tailsitter 2021-10-26 10:03:00 +11:00
Peter Barker
7da5d9861a SITL: remove use of fprintf in SIM_SPI 2021-10-21 13:04:33 +11:00
Peter Barker
8c60bfc1c3 SITL: correct format string in SIM_IntelligentEnergy24 2021-10-21 13:01:49 +11:00
Peter Barker
06c3290e15 SITL: correct buffer over-read in GPS lag simulation 2021-10-21 12:09:21 +11:00
Peter Barker
6c16da21c5 SITL: make simulated GPS work as a SerialDevice 2021-10-21 12:09:21 +11:00
Peter Barker
99e80549b1 SITL: move sitl_gps.cpp to SIM_GPS.cpp 2021-10-21 12:09:21 +11:00
Stephen Dade
016edd28fc SITL: Add instance to ADSB simulation 2021-10-20 20:21:33 +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
Peter Barker
2d192e1fd3 SITL: remove written-only AP::sitl().update_rate_hz 2021-10-20 19:07:17 +11:00
Peter Barker
a39fe77681 SITL: add simulated MCP9600 2021-10-19 08:15:00 +11:00
Peter Barker
05c6a25e52 SITL: move simulated megasquirt to SerialDevice framework 2021-10-17 10:00:08 +11:00
Davis Schenkenberger
3e748d77c9 Tools: autotest: add test for LORD EAHRS 2021-10-17 08:55:03 +11:00
Asa Davis
85fbbe0704 SITL: add simulator for LORD Microstrain serial EAHRS 2021-10-17 08:55:03 +11:00
Josh Henderson
2b5e2a00e1 SITL: NMEA Depthfinder add temperature simulation 2021-10-15 13:08:17 +11:00
Peter Barker
e9165fdeab SITL: add simulated RAMTRON device 2021-10-12 20:01:49 +11:00
Peter Barker
437e0e6459 SITL: add simulated SPI devices 2021-10-12 20:01:49 +11:00
Peter Barker
5b8a3c3ff9 SITL: use enumeration in place of O_RDWR for I2C register defs 2021-10-12 14:44:31 +11:00
Peter Barker
90f8cbde13 SITL: provide HAL_x_ENABLED for many SITL features
This allows for the feature to be compiled out
2021-10-12 09:04:55 +11:00
Peter Barker
aa4f375015 SITL: SIM_RichenPower: remove reference to stderr 2021-10-12 09:00:45 +11:00
Peter Barker
c9df857f16 SITL: avoid use of stderr/::fprintf 2021-10-12 09:00:17 +11:00
Peter Barker
94ad32b91c SITL: remove HIL_MODE vestiges 2021-10-12 08:57:05 +11:00
Stephen Dade
e85f803e27 SITL: Expand multi-drone example 2021-10-08 17:29:10 +11:00
Peter Barker
d7ff072d26 SITL: remove mtk GPSs 2021-09-29 17:28:59 +10:00
Tatsuya Yamaguchi
f3173174f3 SITL: cope with BARO_MAX_INSTANCES < 3 2021-09-29 10:51:14 +10:00
Josh Henderson
4d7dddf337 SITL: sim_MS5611 fix simulated driver for 32bit usage 2021-09-28 09:15:11 +10:00
Josh Henderson
1019628ae4 SITL: test_ms5611 fix <-15C test case 2021-09-28 09:11:48 +10:00
Peter Barker
4b5525f53e SITL: move from HAL_NO_GCS to HAL_GCS_ENABLED 2021-09-22 21:37:00 +10:00
Josh Henderson
96cabfc423 SITL: add unit tests for SIM_MS5525 2021-09-21 09:30:58 +10:00
Josh Henderson
18a0632276 SITL: MS5XXX drivers use check_conversion_accuracy 2021-09-21 09:30:58 +10:00
Josh Henderson
2a2399c8f1 SITL: airspeed DLVR add atmosphere temperature model 2021-09-21 09:30:58 +10:00
Josh Henderson
5e90649a6e SITL: fix MS5525 for temp <20C and negative pressures 2021-09-21 09:30:58 +10:00
Michelle Rossouw
c9a3b16aa7 SITL: Blimp SITL add initial dynamics 2021-09-18 08:26:23 +10:00
Andrew Tridgell
119df09c44 SITL: cope with a socket error in FlightAxis
this fixes an issue that has arisen with the new threading approach
where RF would occasionally freeze
2021-09-16 14:31:10 +10:00
Rhys Mainwaring
6cb4e6b31d SITL: update simpleRover C++ JSON interface example
- Provide a cmake file for cross platform builds
- Modify the example to respond to throttle commands on RC channel 3 (default for Rover)
- Add more detail to readme

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2021-09-14 09:54:39 +10:00
Iampete1
8c37d08379 SITL: Examples: SilentWings: remove AUTO_FBW_STEER 2021-09-12 22:12:32 -05:00