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
Peter Barker
be20f458bf
Tools: sim_vehicle.py: sort vehicle type in help
2019-07-30 14:05:12 +10:00
Peter Barker
316db6e4b6
Tools: sim_vehicle.py: add option --rgbled for simulated RGBLed
2019-05-21 09:21:56 +10:00
Rajat Singhal
ea2ec9e4a2
Tools: autotest: fix process kill in sim_vehicle.py
2019-05-16 13:52:26 +10:00
Peter Barker
0b376f1f14
Tools: autotest: add --tonealarm option to sim_vehicle.py
2019-03-23 07:10:50 +11:00
Boreas Wind
bef6a01682
Tools: Separate words with spaces in a help message
2019-03-04 11:34:43 +09:00
Peter Barker
90ea847cad
Tools: sim_vehicle.py: use gps functions from pymavlink rather than MAVProxy
...
This should solve a problem on Windows where MAVProxy's libraries may
not be generally available (packed into a .exe)
2019-02-20 14:54:10 +11:00
Andrew Tridgell
42fda12b45
Tools: added help for -l option to sim_vehicle.py
2019-02-02 14:50:05 +11:00
Andrew Tridgell
0332057cbe
autotest: added --flash-storage option
2019-01-21 20:59:00 +11:00
Peter Barker
6fc18792e4
Tools: autotest: sim_vehicle.py flake8 compliance
2019-01-19 09:33:03 +11:00
Andrew Tridgell
2f1f35ef03
autotest: sim_vehicle.py multicasting
...
Added multicasting support in sim_vehicle.py by using --mcast.
2019-01-18 11:56:48 +11:00
Akshath-Singhal
ec8cf10f7c
Autotest: Shift Spawn locaton SITL
...
Added support to shift spawn location of vehicle by using --swarm="filepath" where filepath specifies the offset in ENU.
2019-01-18 10:16:18 +11:00
Andrew Tridgell
6cbbbcd51d
autotest: removed check on JSBSim version
...
now works with latest release
2018-12-18 13:06:03 +11:00
Peter Barker
8e63d61b9e
Tools: autotest: tidy valgrind invocations
2018-12-07 08:40:39 +11:00
Andrew Tridgell
acf379cd77
autotest: allow sim_vehicle with valgrind to cope with new operator
...
this is needed for recent versions of valgrind. Without it valgrind
doesn't know that new clears memory
2018-12-05 09:09:56 +11:00
Stephen
a4243d9c7c
Tools: Remove hard-coded path to MAVProxy
2018-11-23 08:59:42 +11:00
Pierre Kancir
f6cc934678
Tools: pep8 corrections + correct variable shadowing
2018-08-27 17:08:47 +10:00
Patrick José Pereira
e3d797e063
Tools: sim_vehicle.py: Print a more readable exception
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-08-20 11:13:56 +10:00
Peter Barker
8f15a76327
Tools: autotest: sim_vehicle.py: whitespace changes for flake8 compliance
2018-07-04 09:36:48 +10:00
Michael du Breuil
7e7bbb8df6
Tools: sim_vehicle.py fixups
...
limit pkill to 15 characters, fix GDB arguments for python3
2018-07-04 09:36:48 +10:00
Andrew Tridgell
b527dce08d
autotest: use --enable-sfml for graphics
2018-07-02 10:43:48 +10:00
Andrew Tridgell
00b2cc4a93
Tools: support --osd option to sim_vehicle.py
2018-07-01 21:21:28 +10:00
Peter Barker
7cdb05ccc0
Tools: add default-parameter-filename sanity check
2018-06-21 19:32:46 +10:00
Jesse Millwood
014702fc64
Changed Argument Parsing for sim_vehicle.py
...
The arguments now properly pare the arguments passed through to the
ardupilot instance and to mavproxy.
2018-05-23 17:34:24 +10:00
Andrew Tridgell
3b143a99bf
autotest: removed sitl-debug varient
2018-05-04 18:33:53 +10:00
Andrew Tridgell
9e76555152
autotest: added --no-extra-ports option for sim_vehicle.py
2018-05-02 19:24:20 +10:00
Pierre Kancir
a43183ec14
Tools: sim_vehicle.py: Allow to pass custom param file
2018-04-26 22:40:49 +01:00
Peter Barker
15450b956d
Tools: sim_vehicle.py: make --tracker work again
2018-03-21 11:46:47 +11:00
Peter Barker
5fbb385c31
Tools: autotest: avoid exception when using Python3 on MacOSX
...
File "./Tools/autotest/sim_vehicle.py", line 999, in <module>
location)
File "./Tools/autotest/sim_vehicle.py", line 573, in start_vehicle
run_in_terminal_window(autotest, cmd_name, cmd)
File "./Tools/autotest/sim_vehicle.py", line 476, in
run_in_terminal_window
tabs = p.findall(out)
TypeError: cannot use a string pattern on a bytes-like object
SIM_VEHICLE: Killing tasks
2018-03-19 12:36:55 +11:00
Siddharth Purohit
8f074d52c1
autotest: fix setup of sitl for macosx
2018-01-31 12:22:23 +11:00
Peter Barker
8a15c69aff
Tools: add --fresh-params option to sim_vehicle.py
...
This will rebuild and use the XML file we generate from our
source code which conveys information about our parameters.
When using this option, "param help PARAMETERNAME" should reflect
changes made to the parameter metadata for PARAMETERNAME.
2018-01-08 14:49:35 +00:00
Guglie
42e5b180cb
Tools: fix sim_vehicle.py terminal tab when using --no-mavproxy
2017-12-02 09:34:10 +11:00
guglie
e741cb28d2
fix wait_unlimited with an infinite sleep loop
...
this fixes issue #7180
2017-11-06 13:39:59 +11:00
Peter Barker
93810ab42a
Tools: sim_vehicle.py: clarify comment about vagrant and mavlink-out
2017-10-26 15:03:58 +11:00
Peter Barker
89fa44a224
Tools: sim_vehicle.py: flake8 compliance
2017-10-26 15:03:58 +11:00
Peter Barker
e505635ddd
Tools: sim_vehicle: make gdb-stopped work again
2017-09-11 12:30:00 +10:00
Francisco Ferreira
2645760d19
Tools: sim_vehicle.py: fix small bug introduced in e298e87
...
Thanks to @cclauss for finding this
2017-08-29 12:16:23 +01:00
Peter Barker
e298e87791
sim_vehicle: add --callgrind option
2017-08-28 13:47:27 +01:00
Peter Barker
86d8252166
Tools: correct sim_vehicle's --tracker option
2017-07-07 16:18:37 +01:00
Peter Barker
3a9ac2ef40
Tools: pull out vehicle metadata into a library
2017-05-26 16:53:07 +09:00
Pierre Kancir
971c8d5948
Tools: use parm inheritance for gazebo iris model
2017-05-25 10:02:32 +10:00
Peter Barker
d1fb2e7c53
Tools: use parm inheritance for copter models
2017-05-25 09:58:53 +10:00
Miguel Arroyo
d9546523a3
Tools: sim_vehicle.py fix for Python 3
2017-05-17 11:15:34 +10:00
Andrew Tridgell
4240d3f739
Autotest: support tilttri-vec quadplane
2017-04-24 16:54:41 +10:00
Guilherme Sousa
442715ab1b
autotest: Added new frame parameters for hexa, octa and octa-quad options
2017-03-29 22:43:14 +11:00
Andrew Tridgell
8387e1e69c
autotest: added parameters for heli-dual model
2017-03-25 16:22:10 +11:00
Pierre Kancir
fb79c96448
sim_vehicle.py: add gazebo rover
2017-03-18 19:58:11 +11:00
Peter Barker
3f7d58fe2c
sim_vehicle.py: allow a list of defaults files to be specified
2017-02-23 22:46:33 -08:00
Peter Barker
64d4e094fb
Tools: sim_vehicle.py: correct formatting (NFC)
2017-02-23 11:07:37 +11:00
Peter Barker
b256bc1dc0
Tools: sim_vehicle.py: add a warning when frame not found
...
We don't always have configuration for a frame type, but
it is atypical to run sim_vehicle like that.
2017-02-23 11:07:37 +11:00
Peter Barker
3be8c1e70b
Tools: sim_vehicle.py: move metadata into _options
...
This centralises configuration information in _options and
removes duplication of data
2017-02-23 11:07:35 +11:00
Peter Barker
fec23f6abe
Tools: sim_vehicle.py: print possible frame types in help message
2017-02-23 11:07:05 +11:00
Peter Barker
dd9de7dfb5
Tools: sim_vehicle.py: improve help about vehicle types
2017-02-23 11:06:28 +11:00
Peter Barker
aec7091faa
autotest: Add support for Sub in sim_vehicle.py
2017-02-21 11:26:14 +11:00