Commit Graph

17 Commits

Author SHA1 Message Date
Andrew Tridgell 5646cfbd57 SITL: fixed the vehicle type of the simulated ship
this was broken by https://github.com/ArduPilot/ardupilot/pull/23763

we need to look for other places where we have assumed the MAVLink
field orderin in recent changes
2024-03-14 09:33:55 +09:00
Andrew Tridgell efa83d5d6d SITL: added moving precland simulator
added SIM_PLD_SHIP to make the precland location track the SIM_SHIP
location, giving a nice way of having a landing marker on a moving
ship
2024-03-14 09:33:55 +09:00
Andrew Tridgell be01fcfdfd SITL: use mavlink_XXX_encode_status()
this avoids clobbering sequence numbers and fixes race conditions
2023-10-02 21:45:28 +11:00
Peter Barker 320bd43334 SITL: use SIM_config for ship and adsb simulations 2023-06-17 17:57:15 +10:00
Peter Barker 29d6c51f43 SITL: stop using mavlink channels for packing messages
precedent was set in the mavlink rangefinder; we don't need to re-use SITL buffers for this
2023-05-16 10:17:56 +10:00
Andrew Tridgell 536b59ed42 SITL: don't use adjusted terrain in SITL 2022-03-28 16:01:21 +11:00
Andrew Tridgell c658f170cb SITL: fixed ship offset velocity correction 2022-03-10 07:34:20 +11:00
Andrew Tridgell 18782c4990 SITL: added ship offset and ATTITUDE 2022-03-10 07:34:20 +11:00
Andrew Tridgell 07b78ab9a6 SITL: removed terrain home correction 2022-03-10 07:34:20 +11:00
Peter Barker 268032e640 SITL: add missing include file for terrain 2021-12-29 16:10:17 +11:00
Peter Barker 581629b332 SITL: make Ship simulator optional 2021-11-01 21:34:04 +11:00
Andrew Tridgell 5eaf76cdc8 SITL: separate origin and home in SITL
this allows for accurate sensor data when flying a very long distance
from the takeoff location
2021-07-14 17:34:40 +10:00
Peter Barker f75e258606 SITL: SIM_Ship: correct GLOBAL_POSITION_INT message altitude 2021-07-12 17:34:44 +10:00
Peter Barker 05a0205c21 SITL: change to use terrain singleton 2021-07-12 17:34:44 +10:00
Andrew Tridgell 01062cccd7 SITL: fixup offset calls 2021-07-10 07:20:41 +10:00
Andrew Tridgell 7b9826cdce SITL: change for AP::terrain as a pointer 2021-04-07 20:56:01 +10:00
Andrew Tridgell f9f8822e47 SITL: added ship takeoff/landing simulation
this allows for a ship with a given radius and speed, allowing for
testing of ship takeoff and landing systems
2020-07-10 13:28:38 +10:00