Peter Barker
efec7ccdc5
SITL: remove stale parameter metadata
...
now done by having the subgroup in its own file
2024-10-01 10:25:49 +10:00
muramura
637aec0085
SITL: Change division to multiplication
2024-09-28 11:01:41 +10:00
Peter Barker
ebe9a75a66
SITL: re-order initialiser lines so -Werror=reorder will work
2024-09-24 22:50:28 +10:00
ARg
eb283ce607
SITL: correctly cast types for MegaSquirt error format string
...
`uint32_t` is `unsigned long int`, not `unsigned int`.
2024-09-24 09:00:29 +10:00
Valentin Bugrov
167dd7f447
SITL: unify names in ILabs sim
2024-09-17 09:34:32 +10:00
Yuxin Pan
d1562d5119
SITL: update baro param group info
2024-09-16 17:25:02 +10:00
Yuxin Pan
ac2751c17b
SITL: add baro param file
2024-09-16 17:25:02 +10:00
Valentin Bugrov
79bd82308c
SITL: Actualize InertialLabs sim
2024-09-14 19:29:02 +10:00
Andrew Tridgell
fea279b181
SITL: support more rangefinder orientations
...
allows for quadplane tailsitter rangefinders
2024-09-14 08:39:51 +10:00
Yuxin Pan
61afab2b70
SITL: remove params from whiltelist
2024-09-12 06:54:15 +10:00
Yuxin Pan
41ffc7c860
SITL: SITL.cpp parameters documentation update
2024-09-11 10:22:22 +10:00
Randy Mackay
77ba7cf04d
SITL: aircraft sends wind to slung payload
2024-09-06 14:47:38 +10:00
Randy Mackay
c3a6950d6f
SITL: slung payload sends pos updates at 10hz
2024-09-06 14:47:38 +10:00
Randy Mackay
8d3ce78e98
SITL: slung payload affected by wind
2024-09-06 14:47:38 +10:00
Peter Barker
46db6c12c1
SITL: correct use of simulated GPS data
...
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
uses the elements out of the simulated GPS data "d", rather than going to the parameters in teh simulated GPS "backends".
2024-08-27 11:14:09 +10:00
Peter Barker
07b27d76be
SITL: correct and augment SBF simulator
...
- checksum calculation was including header parts in CRC twice
- need to send DOP message to make EKF happy
- need to supply own number of satellites
- must pad packets to a multiple of 4 bytes
2024-08-21 06:31:41 +10:00
chiara de saint giniez
c9f648b97c
SITL: SBF driver
2024-08-21 06:31:41 +10:00
Iampete1
ee8a8f0254
SITL: SIM_Battery: provde dt in voltage filter apply function
2024-08-20 09:09:41 +10:00
Pierre Kancir
102547968f
SITL: add missing header for timeval struct on alpine linux
2024-08-15 22:33:42 +10:00
Peter Barker
e23e58fc17
SITL: use GCS_SEND_TEXT rather than gcs().send_text
...
Co-authored-by: muramura <ma2maru@gmail.com>
2024-08-07 18:33:16 +10:00
Peter Barker
93704c573c
SITL: add documentation for SIM_ENGINE_FAIL and SIM_ENGINE_MUL
2024-07-30 09:21:26 +09:00
BLash
1d1bb5724e
AP_ExternalAHRS_VectorNav: Address review comments
...
Remove unnecessary header
Switch parameters to default initialization
Change pointer casting to prevent a const_cast, and remove doubled sync byte when echoing ASCII messages
Fix Valgrind report by preventing use of nmea_printf on buffers which may not be null-terminated
2024-07-29 15:52:29 +10:00
BLash
50980ee03e
AP_ExternalAHRS_VectorNav: Update SIM to match new message definitions
...
Redefine messages to 3 INS packets, and send as appropriate
Resolve SITL failures due to too-long logger message headers
2024-07-29 15:52:29 +10:00
Randy Mackay
a1579bc31e
SITL: integrate SlungPayload
2024-07-24 17:09:06 +10:00
Randy Mackay
5c2b758f42
SITL: add SlungPayload
2024-07-24 17:09:06 +10:00
George Zogopoulos
e170710de9
SITL: Glider improvements
...
Fixed balloon going below ground.
Enabled glider torque logging.
2024-07-24 17:03:48 +10:00
Rhys Mainwaring
4354072d34
SITL: SIM_Rover: add simulation for omni3 mecanum rover
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-07-23 13:27:04 +10:00
Peter Barker
ba135b9008
SITL: split MAVLink and physical gimbal simulations
2024-07-21 17:01:47 +10:00
Peter Barker
fc28e2d7b8
SITL: adjust for renaming of Gimbal to SoloGimbal
2024-07-21 14:22:05 +10:00
Peter Barker
ae4254bba8
SITL: rename SIM_Gimbal files to SIM_SoloGimbal
2024-07-21 14:22:05 +10:00
Peter Barker
9c1fe4e1c9
SIM_VectorNav: stop using nmea_printf on buffer data
...
can't use nmea_printf here as the buffer data won't be null-terminated
2024-07-20 22:44:19 +10:00
Peter Barker
dcf342d7e3
SITL: add instructions on testing simulated mavlink gimbal
2024-07-20 22:44:10 +10:00
Peter Barker
2584cfd786
SITL: use distinct source system for gimbal
...
gimbal was sending mavlink into ArduPilot with the target system's own sysid/compid tuple. ArduPilot was simply discarding these as its own messages being looped back to it
2024-07-20 22:44:10 +10:00
Stephen Dade
887a890c4a
SITL: Add skid steering motorboat
2024-07-20 19:10:09 +10:00
Peter Barker
1626611e0b
SITL: add documentation for SIM_ACC?_RND parameters
2024-07-20 13:43:44 +10:00
BLash
3f00280628
AP_ExternalAHRS_VectorNav: Move allocation to local scope
...
Move receive_buf to method scope allocation rather than class scope
2024-07-17 17:49:18 +10:00
BLash
b3961ec2eb
AP_ExternalAHRS_VectorNav: Update VectorNav sim to respond to received commands
...
Aside from the RRG,1 call, the simulation should reply with exactly what was received as a receipt confirmation to allow the driver to proceed past init
2024-07-17 17:49:18 +10:00
Peter Barker
647048f703
SITL: add simulator for 1-LED boards
2024-07-17 17:18:27 +10:00
Thomas Watson
ca0cd9a7e8
SITL: allow disabling CAN interfaces
...
Also corrects an issue where setting an invalid type could result in
undefined behavior.
2024-07-16 10:13:11 +10:00
Peter Barker
e42c9a588e
SITL: add support for simulated GPIO LEDs
2024-07-11 20:08:13 +10:00
Ep Pravitra
f3d55d821e
SITL: fix json airspeed
...
Airspeed calculation for JSON was not quite working because velocity_air_ef was not updated in SIM_JSON.cpp
Update libraries/SITL/SIM_JSON.cpp
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
Update libraries/SITL/SIM_JSON.cpp
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
comment changes
remove redundant airspeed calculation
2024-07-10 08:24:19 +10:00
Peter Barker
9090420db0
SITL: remove duplicated crc code
...
same as one we already have
2024-07-05 23:02:18 +10:00
BLash
0e4124060c
SITL: VectorNav: Add support for sensors outside VN-100 and VN-300
...
Includes naming changes to match new broadened usage
2024-07-05 21:41:22 +10:00
George Zogopoulos
2cd5413b0d
SITL: Documented SIM_WIND_DIR_Z
2024-07-03 18:13:11 +10:00
bnsgeyer
9c2d43f6c4
SITL: improve dual heli dynamics model
2024-06-30 18:21:21 -04:00
Andrew Tridgell
077c5f38f7
SITL: added comments on how to fly the glider
2024-06-30 10:02:15 +10:00
Peter Barker
12197b2d60
SITL: correct and improve Hirth simulator
...
we weren't sending an ACK for the set-values message
2024-06-19 08:48:32 +10:00
Peter Barker
5994664bf9
SITL: add simulated tie-down clamp
2024-06-11 09:56:43 +10:00
Peter Barker
dd56f2465b
SITL: make simulated SBP2 vastly more accurate
...
I have no idea if this is actually the sort of number which these devices will return.
However, for the EKF to be happy with the GPS the reported speed accuracy must be much lower than the SBP2 driver reports when we give it these numbers.
It might be that we are interpretting these fields incorrectly in the driver and that the simulator is, in fact, correct.
2024-06-11 09:29:14 +10:00
Peter Barker
6751bce0fc
SITL: log number of times sim paused on serial0 buffer
...
SITL pauses the simulation if we do not have a minimum amount of space in its out queue.
Log the number of times we do this.
2024-06-11 08:51:25 +10:00