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
Andrew Tridgell
94fb390bda
autotest: added sim_vehicle.py support for tailsitter
2017-02-18 17:26:43 +11:00
Pierre Kancir
38b6ced640
Tools: sim_vehicle add option to disable mavproxy launch && better exit handling
2017-02-06 11:35:54 +01:00
Andrew Tridgell
2bb3d395cf
autotest: setup for firefly6 quadplane parameters
2017-02-06 16:18:58 +11:00
Pierre Kancir
a6c82a0919
SITL: add an option to launch SITL from a directory
2017-02-02 04:26:37 +00:00
Andrew Tridgell
715db62a85
autotest: added quadplane-cl84 support
2017-01-25 19:01:15 +11:00
Andrew Tridgell
a56090113c
autotest: fixed sim_vehicle.py with -f heli
2017-01-12 17:39:37 +11:00
Andrew Tridgell
8504a8baad
autotest: fixed sim_vehicle for new frame builds
2017-01-12 17:39:37 +11:00
Randy Mackay
9d315b0829
Tools: sim_vehicle spelling correction
2017-01-09 20:40:59 +09:00
Daniel Schonfeld
ef637e4add
a better way to determine if were running inside a vagrant box
2016-12-29 10:46:29 +11:00
Andrew Tridgell
a191792e4b
autotest: added octa-quad sim_vehicle.py option
...
this was missed in conversion from sim_vehicle.sh
2016-11-30 08:02:03 +11:00
Lars Kellogg-Stedman
95134d87b0
add support for a user locations.txt file to sim_vehicle
...
it is inconvenient to modify locations.txt in the source, because this
will lead to the file being constantly marked as modified by git (and
potentially included in pull requests by accident).
this commit adds support for a user-maintained list of locations.
This file lives by default in
`$XDG_CONFIG_DIR/ardupilot/locations.txt` (aka
`$HOME/.config/ardupilot/locations.txt`), but may also be specified in
the `ARDUPILOT_LOCATIONS` environment variable.
2016-11-15 19:42:54 +11:00
Peter Barker
cd67c4c75c
Tools: sim_vehicle.py strips comments in locations.txt
2016-11-15 13:52:59 +11:00