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
Randy Mackay
a7422153cb
SITL: disable avoidance so we can trigger fence failsafe
9 years ago
Peter Barker
6530c3bd91
autotest.py: exit with error if requested step not found
9 years ago
Andrew Tridgell
d9d53c82d0
autotest: added xplane as vehicle type
9 years ago
Randy Mackay
036349cd2f
SITL: set copter MOT_THST_HOVER default
9 years ago
Randy Mackay
ed90d00fff
SITL: throttle to 50 percent now that hover throttle automatically updates
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
Peter Barker
efef39732e
autotest: pass any supplied -j through to waf make
9 years ago
Peter Barker
b6289af522
Tools: autotest uses waf directly for building examples
9 years ago
Peter Barker
8cf49d4e3e
Tools: create build_examples.py, a replacement for build_examples.sh
9 years ago
Andrew Tridgell
168f4e52cf
autotest: try to fix build of binaries
9 years ago
Andrew Tridgell
084a37d4fa
autotest: enable LOG_REPLAY and LOG_DISARMED in autotest
...
this will give us the ability to analyse any EKF errors
9 years ago
Peter Barker
480e142cfb
autotest.py: remove TARGET no longer required
9 years ago
Peter Barker
3548f90d3a
autotest: create SIL object to hold valgrind logpath
9 years ago
Peter Barker
ced07906ad
Tools: correct valgrind run in autotest.py
9 years ago
Peter Barker
7b86a05722
Tools: convert autotest build.X and fly.X to use waf build system
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
2f7a386b30
Rover: Added the new skid steering parameters file for SITL.
9 years ago
Grant Morphett
d993c25cb1
Rover: Added skid steering rover as frame type for SITL.
9 years ago
Grant Morphett
6d675dfcb7
Rover: Just fixing a type in the default params.
...
Should of been RC1, not RC2. I also added a couple of other default
parameters for completeness.
9 years ago
Andrew Tridgell
d521852f84
autotest: make -P2 only control mavproxy mavlink protocol version
9 years ago
Andrew Tridgell
511ca6d764
autotest: support -P2 option for SITL with MAVLink2
9 years ago
Randy Mackay
00445ce7bd
SITL: parameter file to enable rangefinder in copter
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
Glody Guo
cda21a3d78
Fix argument 'valgrind' issue about fly.CopterAVC test
...
Commit 8774f15
causes fly.CopterAVC test failure.
Here is the failure info below:
>>>> FAILED STEP: fly.CopterAVC at Tue May 17 13:21:56 2016 (fly_CopterAVC() got an unexpected keyword argument 'valgrind')
Traceback (most recent call last):
File "./Tools/autotest/autotest.py", line 406, in run_tests
if not run_step(step):
File "./Tools/autotest/autotest.py", line 232, in run_step
return arducopter.fly_CopterAVC(viewerip=opts.viewerip, map=opts.map, valgrind=opts.valgrind)
TypeError: fly_CopterAVC() got an unexpected keyword argument 'valgrind'
('check step: ', 'fly.CopterAVC')
FAILED 1 tests: ['fly.CopterAVC']
Here is the commit info below:
commit 8774f15b9a
Author: Peter Barker <pbarker@barker.dropbear.id.au>
Date: Mon Apr 11 18:05:39 2016 +1000
Tools: add valgrind option to autotest.py
:040000 040000 a111bc5b18
609503f3b1
M Tools
9 years ago
Peter Barker
27e7c870ed
Tools: remove absolute paths in run_in_terminal_window
...
Also add quotes to avoid ambiguous redirect issue
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
Francisco Ferreira
1ae85be918
autotest: fix copter_mission
...
Conditional command was left when change_alt command was removed and is now useless. Also fix jump to do what it did before
9 years ago
Francisco Ferreira
ae5fdc2fde
autotest: if auto mission fails, land the copter
9 years ago
Francisco Ferreira
c873524966
autotest: change wait_waypoint mode check
...
If we change mode while waiting for waypoints then we are no longer running the mission and should fail
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