Pierre Kancir
4462dcdd4d
sim_vehicle.py: add python3 support
8 years ago
Andrew Tridgell
d967074183
autotest: disable rebuild-on-failure by default
...
the waf build has much better dependencies, so on balance this is more
annoying than useful now
8 years ago
John Hsu
4c14707611
SITL: set simulation names gazebo-iris and gazebo-zephyr in sim_vehicles.py
8 years ago
John Hsu
7cae83581b
SITL: add Gazebo SITL params for Iris with IRLocak tracking, Zephyr elevon flying wing model, and update sim_vehicles.py with GazeboIris and GazeboZephyr labels.
8 years ago
Fnoop
2c0b687b9d
Tools: Make default udpout ports scale by instance in sim_vehicle.py
8 years ago
Peter Barker
909f7779c7
Tools: rearrange sim_vehicle.py to put all functions first
9 years ago
Peter Barker
074e9dc9b0
Tools: special --aircraft mavproxy pass-through for sim-vehicle.py
9 years ago
Lucas De Marchi
f5be0823f9
sim_vehicle.py: move exit handler and start message
...
Move them after the argument parser because otherwise they would display
and the handler be registered when using the 'help' option.
9 years ago
Lucas De Marchi
0a75e2f12a
sim_vehicle.py: fix indent on epilog
9 years ago
Pierre Kancir
9e1ffcae5d
Tools: update python coding style
...
Tools: update PrintVersion.py coding style
autotest: update python coding style
pysim: update python coding style
jsb_sim: update Python coding style
param_metadata: update Python coding style
9 years ago
Peter Barker
198a7d7710
sim_vehicle.py: add arguments to pass args to waf build and configure
9 years ago
Peter Barker
569a7a4abd
Tools: sim_vehicle.py - correct process termination
...
Closes #4699
9 years ago
Peter Barker
25136ea15a
Tools: correct tracker build
9 years ago
Lucas De Marchi
f0590581e4
autotest: standardize name of param files
...
Try to make the various param files to follow similar namings:
- Lowercase the few ones using uppercase
- Use dash to separate name components
- Start with "copter", "plane", "rover", etc instead of the mix we
had
- Remove "params" from the filename since it's redundant with the
extension
9 years ago
Pierre Kancir
19d94737a0
autotest: move all default params to default_params directory
9 years ago
Pierre Kancir
ff8c772776
sim_vehicle.py: correct url
9 years ago
Pierre Kancir
40a594e137
sim_vehicle.py : style correction
9 years ago
Andrew Tridgell
1a3b292aa3
autotest: fixed run_in_terminal_window() on Linux
...
try to retain MacOS functionality too
9 years ago
Lucas De Marchi
e2498a1090
autotest: add function to kill tasks on MacOS
...
Like done on other cases, add an explicit function for that, which turns
the comment redundant.
9 years ago
Siddharth Bharat Purohit
4f0dad19ea
autotest: support mac osx terminal launch
9 years ago
Andrew Tridgell
d477905fbd
autotest: fixed XPlane with sim_vehicle.py
9 years ago
Andrew Tridgell
0f7b4a0cd1
autotest: fixed tricopter quadplane for sim_vehicle.py
9 years ago
Andrew Tridgell
a8e5255b90
autotest: look in parent directories for vehicle type in sim_vehicle.py
...
this allows eeprom.bin per vehicle type without using -v
9 years ago
Peter Barker
febba9112f
sim_vehicle.py: simply ignore any failure to kill tasks
9 years ago
Peter Barker
2266223665
sim_vehicle.py: shell out to pkill if psutil is not available
9 years ago
Peter Barker
d9ad962b33
sim_vehicle.py: allow starting mavproxy without --sitl option
9 years ago
Peter Barker
51020387c8
sim_vehicle.py: allow model to be overridden on command line
9 years ago
Peter Barker
53df307c2d
sim_vehicle.py: older python has no accessors for proc.status
9 years ago
Peter Barker
91e72de302
sim_vehicle.py: remove unused parameter
9 years ago
Andrew Tridgell
b76a993f7e
autotest: support coaxcopter
9 years ago
Andrew Tridgell
ba3703303a
autotest: added SingleCopter
9 years ago
Peter Barker
0c70f0fc35
sim_vehicle.py: correct rebase
9 years ago
khancyr
c9e877b3a5
sim_vehicle.py : reorder frame by type
9 years ago
khancyr
25066be990
sim_vehicle.py : add hexacopter
9 years ago
Grant Morphett
d993c25cb1
Rover: Added skid steering rover as frame type for SITL.
9 years ago
Gustavo Jose de Sousa
91e7f02d9d
Tools: sim_vehicle: add calibration frame
...
The module `sitl_calibration` is loaded for convenience.
9 years ago
Gustavo Jose de Sousa
41f5602fea
Tools: sim_vehicle: add local mavproxy modules path to PYTHONPATH
...
That's helpful for users that don't have that in their PYTHONPATH environment
variable and want to load a local module.
9 years ago
Gustavo Jose de Sousa
ede0360ee1
Tools: sim_vehicle: allow passing keywords to run_cmd_blocking
...
That is redirected to subprocess.Popen().
9 years ago
Peter Barker
18e0131680
sim_vehicle.py: avoid requesting process name on zombie process
...
This method does on OSX - in a non-catchable way prior to Py3
9 years ago
Peter Barker
38010cf3f3
sim_vehicle.py: wrap jsbsim version fetch in a try
9 years ago
Ricardo de Almeida Gonzaga
1062aed91e
Tools: Fix typos
9 years ago
khancyr
14e2fa5642
sim_vehicle.py : load Rover default params
...
related to https://github.com/ArduPilot/ardupilot/issues/4090
9 years ago
Peter Barker
f33cdaa212
sim_vehicle.py: add --strace option
9 years ago
Lucas De Marchi
b012d5bb7b
sim_vehicle.py: fix error to find binary
...
When trying to execute sim_vehicle.py this is the current output:
Warning: Could not find '../Tools/autotest/../../ArduCopter/../build/sitl/bin/arducopter-quad',
starting '/bin/bash' instead. Please check your profile settings.
Fix the path to the binary and use absolute paths to ease the debug.
9 years ago
Lucas De Marchi
ad8cedc452
sim_vehicle.py: remove unused AUTOTEST variable
9 years ago
Lucas De Marchi
e772c70536
sim_vehicle.py: use helper function to execute blocking command
9 years ago
Lucas De Marchi
1ef9eb637f
sim_vehicle.py: configure project only once
9 years ago
Lucas De Marchi
7a548e45f9
sim_vehicle.py: default to -j1 if running in compat mode
9 years ago
Pierre Kancir
03e565ee47
sim_vehicle.py : change default number of jobs
...
By default waf use the max num of proc available. So let it set jobs by
itself. On contrary, with make only use one job by default.
9 years ago
khancyr
bb648280ae
sim_vehicle.py: correct APMrover2 typo
9 years ago