Commit Graph

172 Commits

Author SHA1 Message Date
Peter Barker 8de7261c67 autotest: sim_vehicle.py: add --auto-offset-line
Simplifies spawning multiple instances.
2021-11-04 17:01:09 -07:00
Peter Barker e7b30a0085 sim_vehicle.py: correct setting of udpclient ports 2021-11-04 17:01:09 -07:00
Peter Barker 856fe6a1fb autotest: sim_vehicle: neaten sanity check for sysid 2021-11-04 17:01:09 -07:00
Peter Barker 4d5411b42f autotest: sim_vehicle: correct AP commandline for multicast/udpclient 2021-11-04 17:01:09 -07:00
Michael Day 93e6c1a920 Tools: sysid cannot be run together with auto-sysid
Added per @peterbarker suggestion
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-11-04 17:01:09 -07:00
Arash Negahdar d065515b2a Tools: Use a single MAVProxy instance in sim_vehicle
With the implementation of the 'alllinks' command in MAVProxy, and the
exposure of the SYSID parameter this becomes feasible

        Tools: Fix mcast handling
2021-11-04 17:01:09 -07:00
Arash Negahdar 49af90a70e Tools: Set SYSID based on instance number in sim_vehicle.py 2021-11-04 17:01:09 -07:00
Peter Barker 87df943f99 autotest: add option to use simulated FRAM for storage 2021-10-12 20:01:49 +11:00
Peter Barker b2a7841672 Tools: allow for selection of Storage backend type at runtime 2021-10-05 10:16:54 +11:00
Josh Henderson 27bb200644 Tools: add sitl_32bit board type for sim_vehicle & autotests 2021-09-28 09:15:11 +10:00
Pierre Kancir 575c608688 Tools: allow to use sim_vehicle.py without pymavlink installed 2021-09-04 07:49:42 +10:00
Iampete1 27b324742e Tools: sim_vehicle: pass on slave comandline CMD 2021-08-03 09:22:19 +10:00
Andrew Tridgell 4f7630e29c Tools: allow for double EKF build 2021-07-10 07:20:41 +10:00
Andrew Tridgell b8e934ccf1 autotest: added --udp option to sim_vehicle.py
this makes running with high speedups easier
2021-07-09 19:19:24 +10:00
bugobliterator 236eecc494 autotest: add option for running sim with ONVIF camera 2021-07-07 18:57:25 +10:00
Andrew Tridgell d81b758d77 autotest: support using geocoder for -L location
this allows for location names from OSM, for example:

  sim_vehicle.py -L '26 Carstensz St Griffith' --console --map
2021-06-29 15:41:26 +10:00
Andrew Tridgell 3204ce4bf1 Tools: added --postype-single for sim_vehicle.py 2021-06-24 21:34:30 +10:00
Peter Barker 47a778d033 Tools: remove HIL support 2021-06-15 09:47:31 +10:00
Peter Barker 31c889f583 autotest: accept Copter/Plane/Sub for sim_vehicle.py 2021-04-12 13:35:16 +10:00
Samuel Tabor 36428f5074 Tools: Handle repeated add-param-file arguments to sim_vehicle.py. 2021-03-17 19:43:03 +11:00
Peter Barker adf44f3b2b autotest: make and declare sim_vehicle.py flake8-clean 2021-02-21 21:35:17 +11:00
Andrew Tridgell 7e89c05204 autotest: fixed --tracker option to sim_vehicle.py 2021-01-20 11:11:47 +11:00
André 30eed3103b sim_vehicle fix 2021-01-19 06:30:12 +11:00
Peter Barker e9c6c08a97 autotest: remove 'make' compatability from sim_vehicle 2021-01-18 16:24:09 +11:00
Andrew Tridgell f10f7d971d Tools: added --vehicle-binary to sim_vehicle.py
this is useful for using a pre-built binary
2020-12-16 08:45:11 +11:00
Pierre Kancir dc8d42b12d Tools: expose option --sysid into sim_vehicle.py 2020-10-13 10:31:21 +11:00
Peter Barker 536e2db947 Tools: sim_vehicle.py: add --disable-breakpoints commandline option 2020-09-23 20:28:08 +10:00
Samuel Tabor 3c0d4b6d5a autotest: Add start time argument and parsing. 2020-09-07 21:20:25 +10:00
Andrew Tridgell a9ecac4fff Tools: added --osdmsp option to sim_vehicle.py 2020-09-07 11:59:20 +10:00
Peter Barker a5aa963a77 autotest: fixes --tracker and --tracker-location sim_vehicle.py options 2020-08-18 15:26:03 +10:00
Pierre Kancir be36ac836e Tools: sim_vehicle.py: add some helpers to retreive vehicles list and associated frames 2020-07-12 11:11:17 +10:00
Arash Negahdar a7768aabae Tools: Expose more options to SCRIMMAGE 2020-05-21 08:04:23 +10:00
Peter Barker cb3c1742e8 Tools: sim_vehicle.py: add --enable-math-check-indexes 2020-04-28 15:12:39 +10:00
Arash Negahdar 7de136121b Tools: Exit cleanly based on the environment
As suggested by Peter Barker
2020-04-28 11:09:51 +10:00
Arash Negahdar 908b63573e Tools: Implement better Scrimmage support 2020-04-28 11:09:51 +10:00
Arash Negahdar e75ac4ae57 Tools: Allow multiple ArduPilot instances to be spawned 2020-04-28 11:09:51 +10:00
Stephen Dade 49d19e1aac Tools: Python3 and kill_tasks fixes for sim_vehicle under Cygwin 2020-04-17 10:32:25 +10:00
Peter Barker 332a19d9dc autotest: sim_vehicle.py: add backwards-compatible APMrover2 option 2020-04-14 09:50:34 +09:00
Peter Barker 691ae58a79 Tools: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
Andrew Tridgell 685d26c808 Tools: added --disable-ekf2 and --disable-ekf3 in sim_vehicle.py 2020-04-14 09:15:43 +10:00
Peter Barker c517124c72 Tools: correct path separator in PYTHONPATH 2020-03-04 15:25:14 +11:00
Peter Barker 566732a2d7 autotest: tidy setting of PYTHONPATH in the environment
This could go badly for others appending to PYTHONPATH - this would have
left a trailing : on the end of the path
2020-03-03 21:39:56 +11:00
Arash Negahdar 9fb2914209 Tools: Only calculate root_dir and autotest_dir once in sim_vehicle.py 2020-02-22 13:12:42 +11:00
Andrew Tridgell 132a1623d3 autotest: added --no-rcin option to sim_vehicle.py
disables mavproxy RC in emulation
2019-12-18 12:25:03 +11:00
Andrew Tridgell 185475d689 autotest: allow --moddebug to sim_vehicle.py
helps people debugging install
2019-10-02 20:03:31 +10:00
Andy Piper 5f34ec6578 Tools: support lldb debugging for sim_vehicle and autotest 2019-09-26 09:02:11 +10:00
Andrew Tridgell 8a05feb9d3 Tools: use --track-origins=yes in valgrind for sim_vehicle.py
this allows us to find the original cause of an uninitialised variable
2019-09-22 21:06:36 +10:00
Peter Barker 642935fd43 Tools: random Python cleanups based on lgtm analysis 2019-09-21 22:26:03 +10:00
Peter Barker eb705dc88c Tools: autotest: do not pass location to SITL unless user-specified 2019-08-15 18:00:35 +10:00
Anthony Velte 892ad11552 Tools: Add scrimmage simulator to sim_vehicle.py 2019-08-13 10:07:26 +10:00