Commit Graph

142 Commits

Author SHA1 Message Date
Peter Barker ed3aeb39fd AP_HAL_SITL: split MAVLink and physical gimbal simulations 2024-07-21 17:01:47 +10:00
Andrew Tridgell 4f6653e5c7 HAL_SITL: avoid std::vector in command line handling
use ObjectArray instead
2024-06-04 09:20:21 +10:00
Andrew Tridgell c2a9bc93b5 SITL: added --uartA alias for SITL
needed for MissionPlanner SITL

see https://github.com/ArduPilot/MissionPlanner/pull/3359

we will need this till a new stable release of MissionPlanner is done
2024-06-01 21:35:55 +10:00
Thomas Watson 0956b4f65d AP_HAL_SITL: remove deprecated --uartX options
Code remains to check for use of these options and give an error which
contains the correct option to use, due to the non-intuitive mapping
between --uartX and --serialN.

A future version will remove that code too.
2024-05-28 09:23:39 +10:00
Andrew Tridgell 4370d2e348 HAL_SITL: added Glider SITL model 2024-05-05 07:57:54 +10:00
Andrew Tridgell 4bb5a9ac52 HAL_SITL: link in StratoBlimp 2024-04-27 22:03:05 +10:00
Tatsuya Yamaguchi 8874c1a560 AP_HAL_SITL: added HEXA X 2024-04-18 08:25:41 +10:00
Peter Barker 4005bce85c AP_HAL_SITL: add and use AP_RCProtocol_UDP 2024-03-25 22:35:04 +11:00
Andrew Tridgell e4c103972c HAL_SITL: use NoVehicle for example tests and replay
allows for example runs without -C --model XXX
2024-02-28 19:22:14 +11:00
Peter Barker df3267c9ba waf: remove SKETCH and SKETCHNAME from build sysmte
... renaming one of them to AP_BUILD_TARGET
2024-02-26 15:42:25 +11:00
Andrew Tridgell ac49480f6a HAL_SITL: disable FG view by default 2024-01-02 08:12:37 +11:00
Thomas Watson 14180b5b93 AP_HAL_SITL: deprecate and warn on legacy --uartX option use 2023-12-19 06:53:15 +11:00
Thomas Watson 9044632315 AP_HAL_SITL: eliminate internal legacy UART ordering/references
Legacy command line arguments are kept to avoid breaking users.

The vestigial `_tcp_client_addr` variable is removed.

Serial port status messages are updated to a slightly different format
to clarify the numbering scheme being used and prompt any external
consumers to update.
2023-12-19 06:53:15 +11:00
Andrew Tridgell 04bbe648e6 HAL_SITL: use AP_BUILD_ROOT 2023-10-25 09:50:08 +11:00
Peter Barker f288ba7cd0 AP_HAL_SITL: correct parsing of --rate on SITL commandline
it's in the help but not in the code...
2023-07-15 00:13:12 +10:00
Ian 636f9bffa9 AP_HAL_SITL: Add new SITL driver for Webots 2023a
The new SITL driver is based on the existing SITL driver for Gazebo and
does not require a JSON parser and implements set_interface_ports.
2023-01-22 18:19:38 +11:00
Andy Piper 5ea3415a41 AP_HAL_SITL: allow SITL sketches to run
allow sketchname to be set
2022-12-28 18:14:56 +11:00
Peter Barker e7d30aefec AP_HAL_SITL: include required AP_Vehicle_Type header 2022-11-02 18:35:48 +11:00
Andrew Tridgell 9fd25907e2 HAL_SITL: fixed mapping of --serial ports in SITL
uart paths are still in uartABCD order
2022-01-21 10:07:55 +11:00
Peter Barker 08b8d3ad34 AP_HAL_SITL: correct compilation when SIM options disabled
AP_HAL_SITL: use AP_ASIM_GIMBAL_ENABLED

AP_HAL_SITL: use AP_SIM_ADSB_ENABLED

AP_HAL_SITL: use AP_SIM_RPLIDARA2_ENABLED

AP_HAL_SITL: use AP_SIM_PS_LIGHTWARE_SF45B_ENABLED

AP_HAL_SITL: use AP_SIM_PS_TERRARANGERTOWER_ENABLED

AP_HAL_SITL: use AP_SIM_AIS_ENABLED

AP_HAL_SITL: use AP_SIM_JSON_MASTER_ENABLED
2022-01-15 17:37:24 +11:00
Shiv Tyagi af950e266b AP_HAL_SITL: add dataflash to spi device table
We simulate jedec flash for logging. Hence, we need to add dataflash to device table. Also, we need to remove HAL_LOGGING_SITL_ENABLED since we no longer need it

Co-Authored-By: Divyateja Pasupuleti <divyateja2004@gmail.com>
2021-12-25 09:14:31 +11:00
Peter Barker fbe46f400f AP_HAL_SITL: stop passing home_str to _sitl_setup
This is poked into the model now
2021-12-13 09:30:33 +11:00
Andrew Tridgell 3b3abdeef0 AP_HAL_SITL: support up to 9 UARTs 2021-11-22 22:48:59 +11:00
Peter Barker 67226433e3 AP_HAL_SITL: add simulated RAMTRON device 2021-10-12 20:01:49 +11:00
Peter Barker 521918d74c SITL: remove set-but-not-used _framerate member variable 2021-10-08 14:23:18 +11:00
Peter Barker 402669f269 AP_HAL_SITL: add and use HAL_SITL &hal_sitl
analogous to our normal "extern hal" stuff but removes need for casting
2021-10-05 22:24:38 +11:00
Peter Barker 3292128531 AP_HAL_SITL: allow for selection of Storage backend type at runtime 2021-10-05 10:16:54 +11:00
Andrew Tridgell f77e64ac83 HAL_SITL: Fixed default PWMs for blimp 2021-09-18 08:26:23 +10:00
Peter Barker ae40531cd7 AP_HAL_SITL: make heli-blade simulation work 2021-09-08 14:33:19 +10:00
Iampete1 5ff0f42372 AP_HAL_SITL: add slave JSON instances 2021-08-03 09:22:19 +10:00
Peter Barker 7a9dd8127a AP_HAL_SITL: generate a core file for a given PID
Similarly to dumpstack.sh, uses gdb to dump a core file
2021-07-08 15:46:07 +10:00
Patrick José Pereira b608ceb6ed AP_HAL_SITL: Return zero when using the help command
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-05-29 11:27:37 +10:00
murata b67f2e9307 AP_HAL_SITL: Add uart specification and array 2021-04-28 17:08:12 +10:00
Peter Barker ffd8f3678c AP_HAL_SITL: understand --serial0 etc in place of --uartA etc 2021-04-26 16:05:47 +10:00
Michelle Rossouw d06161e8ee AP_HAL_SITL: Added support for blimp simulator 2021-03-31 12:27:07 +11:00
Peter Barker 7d42f473fc AP_Logger: allow each backend to be compiled out 2021-01-08 12:48:55 +11:00
Andrew Tridgell 418367c266 HAL_SITL: allow --home to specify a location from locations.txt
this will make it easy to use a named location in MissionPlanner SITL
2021-01-01 17:30:32 +11:00
Peter Barker 7449b3eea4 AP_HAL_SITL: fix help output 2020-12-12 10:01:20 +11:00
murata a43064bb4e AP_HAL_SITL: Support for decacopters 2020-12-08 11:59:10 +11:00
Andrew Tridgell a7a5879c0c AP_HAL_SITL: support uartI, allowing a total of 9 uarts
this allows for OTG2 on the MatekH743 board, which makes SLCAN much
easier
2020-11-30 14:09:31 +11:00
Andrew Tridgell 08291a15fb HAL_SITL: avoid sitl command line processing for replay
avoids need for -- arguments for replay
2020-11-17 13:45:07 +11:00
Andrew Tridgell f966e92d99 HAL_SITL: default model for replay 2020-11-10 16:15:45 +11:00
bugobliterator 09a0d8d0c0 HAL_SITL: add support for AP_Periph SITL build 2020-11-04 19:59:40 +11:00
Pierre Kancir 5b356953ff AP_HAL_SITL: implement and use set_cmdline_parameters() 2020-10-13 10:31:21 +11:00
Pierre Kancir 466a430c4f AP_HAL_SITL: add --sysid option to set SYSID_THISMAV 2020-10-13 10:31:21 +11:00
Mark Whitehorn 866405c7df AP_HAL_SITL: fix segv in examples 2020-09-10 14:30:24 +10:00
Samuel Tabor 21a8471d2d SITL: Add start time argument. 2020-09-07 21:20:25 +10:00
Iampete1 c31a4f4b14 AP_HAL_SITL: add JSON backend 2020-05-29 08:25:24 +10:00
Peter Barker e67347f011 AP_HAL_SITL: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
Rishabh c65d1ff8d8 HAL_SITL: support new motor orders 2020-02-19 11:28:25 +09:00