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.
2016-05-18 13:28:52 -03:00
Gustavo Jose de Sousa
ede0360ee1
Tools: sim_vehicle: allow passing keywords to run_cmd_blocking
...
That is redirected to subprocess.Popen().
2016-05-18 13:28:52 -03:00
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
2016-05-17 21:36:57 +10:00
Peter Barker
27e7c870ed
Tools: remove absolute paths in run_in_terminal_window
...
Also add quotes to avoid ambiguous redirect issue
2016-05-16 19:39:37 +10:00
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
2016-05-16 17:18:32 +10:00
Peter Barker
38010cf3f3
sim_vehicle.py: wrap jsbsim version fetch in a try
2016-05-16 11:58:53 +10:00
Ricardo de Almeida Gonzaga
1062aed91e
Tools: Fix typos
2016-05-13 19:20:07 -03:00
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
2016-05-13 19:06:03 +09:00
Francisco Ferreira
ae5fdc2fde
autotest: if auto mission fails, land the copter
2016-05-13 19:06:00 +09:00
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
2016-05-13 19:05:57 +09:00
khancyr
14e2fa5642
sim_vehicle.py : load Rover default params
...
related to https://github.com/ArduPilot/ardupilot/issues/4090
2016-05-13 08:53:53 +10:00
Peter Barker
f33cdaa212
sim_vehicle.py: add --strace option
2016-05-13 08:43:08 +10:00
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.
2016-05-12 00:34:02 -03:00
Lucas De Marchi
ad8cedc452
sim_vehicle.py: remove unused AUTOTEST variable
2016-05-12 00:31:37 -03:00
Lucas De Marchi
e772c70536
sim_vehicle.py: use helper function to execute blocking command
2016-05-12 00:31:07 -03:00
Lucas De Marchi
1ef9eb637f
sim_vehicle.py: configure project only once
2016-05-11 23:44:24 -03:00
Lucas De Marchi
7a548e45f9
sim_vehicle.py: default to -j1 if running in compat mode
2016-05-11 23:34:49 -03:00
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.
2016-05-11 22:55:30 -03:00
khancyr
bb648280ae
sim_vehicle.py: correct APMrover2 typo
2016-05-11 09:43:06 +02:00
Peter Barker
b7d1e047aa
sim_vehicle.py: correct binary to use for --debug
2016-05-11 16:37:34 +10:00
Andrew Tridgell
45609bb568
autotest: don't use --sitl if using flightaxis
...
we want rc override if using flightaxis
2016-05-11 05:55:25 +10:00
Andrew Tridgell
401b8d4fa6
autotest: use channel 13 for firefly tilt
2016-05-11 05:55:25 +10:00
Andrew Tridgell
cafc3f131e
autotest: improved firefly default parameters
2016-05-11 05:55:24 +10:00
Andrew Tridgell
5b3e4fc47a
autotest: adjust tricopter parms for default yaw servo
2016-05-11 05:55:24 +10:00
Andrew Tridgell
12e5b7881f
autotest: use more default parms for quadplanes
2016-05-11 05:55:24 +10:00
Andrew Tridgell
b3cb83731c
autotest: added quadplane-tilttri model
2016-05-11 05:55:24 +10:00
Peter Barker
5d24f0de23
sim_vehicle: use waf --debug option to create debug builds
2016-05-09 08:59:59 +10:00
Peter Barker
50330e22d4
sim_vehicle.py: set default_waf_target, clearer help
...
sim_vehicle.py: choose default waf_target based on specified vehicle
sim_vehicle.py: add --no-rebuild-on-failure option
sim_vehicle.py: make help clearer by adding option groups
2016-05-08 09:57:11 +10:00
Peter Barker
39c29820c4
sim_vehicle.py: avoid exception when frame information not found
2016-05-08 00:31:23 +10:00
Charles Pippin
a14bdf949a
Adding Lee Field to locations.txt
2016-05-06 13:50:58 -04:00
Peter Barker
75c965f512
sim_vehicle.py: interface improvements based on feedback; waf support
...
sim_vehicle.py: improve output of executed commands
Emit something that could be copy-and-pasted into a shell
sim_vehicle.py: allow specification of multiple gdb breakpoints
sim_vehicle.py: understand some specific mavproxy options
sim_vehicle.py: validate vehicle, throw warning if it looks suspect
sim_vehicle.py: avoid use of psutil (cygwin not supported)
sim_vehicle.py: rename build_target to make_target
sim_vehicle.py: pass vehicle binary to start_vehicle
sim_vehicle.py: waf build system support
sim_vehicle.py: use waf by default
2016-05-05 10:59:08 +10:00
Michael du Breuil
ebe552bdc5
autotest: remove condition_change_alt
...
no vehicle supports the command anymore, so it should not be in the copter test mission
2016-04-30 13:54:21 +09:00
Randy Mackay
3f31a4a1ff
SITL: add copter terrain missions
2016-04-30 10:33:01 +09:00
Peter Barker
53940e11c4
sim_vehicle.sh: tracker needs to be armed
2016-04-29 13:41:08 -03:00
Peter Barker
f4d8ddaf48
sim_vehicle.sh: remove unused variable sets
2016-04-29 13:41:08 -03:00
Peter Barker
47436b9680
sim_vehicle.sh: remove unused SIMIN variable
2016-04-29 13:41:08 -03:00
Peter Barker
4ee1e3d804
sim_vehicle.sh: remove useless variable set
...
Also correct initialisation of a variable
2016-04-29 13:41:08 -03:00
Peter Barker
47e037cada
sim_vehicle.sh: set options properly for heli-dual and heli-compound
2016-04-29 13:41:08 -03:00
Peter Barker
a9940a8ca5
sim_vehicle.py: create from sim_vehicle.sh
2016-04-29 10:29:43 +10:00
Andrew Tridgell
e3f5d4552e
autotest: added params for quadplane tricopter
2016-04-28 22:40:25 +10:00
Andrew Tridgell
bec8bf8880
autotest: support multicopter frame variants
2016-04-28 10:05:18 +10:00
Peter Barker
08e5959923
autotest: correct path to mavtogpx
2016-04-27 08:20:51 +10:00
Luis Vale Gonçalves
f5466992e9
Revising ardupilot.com to .org
...
Revising ardupilot.com to .org
2016-04-23 22:49:44 -07:00
Andrew Tridgell
05e9f360b2
autotest: fixed quadplane test with new valgrind option
2016-04-22 10:50:51 +10:00
Andrew Tridgell
da548e934a
autotest: control tilt with chan7 in in firefly
2016-04-22 10:29:32 +10:00
Andrew Tridgell
199d4fd6c1
autotest: added parameters for elevon plane, vtail plane and fireflyy6
2016-04-22 10:28:16 +10:00
Peter Barker
8774f15b9a
Tools: add valgrind option to autotest.py
2016-04-22 09:42:33 +10:00
Andrew Tridgell
bcc4a653d7
autotest: added Y6 to sim_vehicle.sh
2016-04-21 21:11:56 +10:00
Andrew Tridgell
dea1fec14d
autotest: support -f tri for sim_vehicle.sh
2016-04-21 20:30:15 +10:00
Randy Mackay
a5de231a21
SITL: ease gps_glitch_auto_test
...
shortened glitch duration
extended timeout in gps_glitch_auto_test
2016-04-21 14:52:31 +09:00
Peter Barker
27fadb2572
Tools: rstemit: render parameter information in h tables
...
Render ranges as "min - max"
2016-04-13 21:16:41 +10:00
Andrew Tridgell
a8ca41abf1
autotest: use 60% engine speed for stability test
...
can't handle 55% in SITL now in quad
2016-04-04 11:28:28 +10:00
Andrew Tridgell
ae5b8849ec
autotest: added CMAC VTOL mission
2016-04-02 16:44:50 +11:00
Randy Mackay
badfdcf54c
Tools: autotest params renamed after copter moves PIDs to attitude controller
2016-04-01 11:59:30 +09:00
Randy Mackay
08a485eec4
AutoTest: reduce heli rate P values
...
Also remove explicit params to use EKF2 because it is used by default now
2016-04-01 11:59:30 +09:00
Randy Mackay
12d9ffee12
AutoTest: remove H_RSC_MIN and MAX from heli params
...
These parameters are not used and having them causes errors during testing if we remove the corresponding parameters from the tradheli code
2016-04-01 11:59:30 +09:00
Andrew Tridgell
fa15057792
Tools: update URLs
2016-03-25 20:47:27 +11:00
Andrew Tridgell
dea708b368
Tools: switch to ardupilot.org for firmware and autotest
2016-03-25 16:46:11 +11:00
Peter Barker
14b51080a9
Tools: remove erroneous space in rst output
2016-03-22 18:31:05 +11:00
Peter Barker
9f9e3843e0
Tools: formatting changes for rst parameter file
2016-03-21 20:56:49 +11:00
Peter Barker
a8e9fc19b0
Tools: allow param parser to emit ReStructured Text
2016-03-17 16:10:11 +11:00
Don Gagne
cae7ea0d13
Add @Volatile, @ReadOnly support
2016-03-17 10:58:05 +11:00
Kevin Guest
17378bd42a
autotest: Add Rotherham
2016-02-22 16:21:16 +11:00
Randy Mackay
898673f5e8
web-firmware: fix link to companion computer images
2016-02-08 14:22:37 +09:00
Randy Mackay
434fe919d6
web-firmware: add link to companion computer images
2016-02-08 10:19:19 +09:00
Daniel Frenzel
a735db2870
Tools: remove AP_Limits unit test
2016-02-04 09:50:43 +09:00
Andrew Tridgell
417176c0b2
autotest: reduce speedup on quadplane test to 10
...
mavproxy wasn't keeping up on autotest server
2016-01-21 07:46:18 +11:00
Andrew Tridgell
926c37a876
autotest: increase timeout in quadplane test
2016-01-20 17:23:36 +11:00
Andrew Tridgell
d19c722963
autotest: fixed hex LOG_BITMASK for quadplane
2016-01-19 11:05:57 +11:00
Linus
81fc4ec838
SITL: add NFSC flying club location
2016-01-12 20:05:41 +09:00
Peter Barker
f9f6cbaf9e
SITL: use (larger!) font6 as default xterm font
2016-01-11 11:42:07 +11:00
Andrew Tridgell
6e418c2cf5
autotest: always sleep for 3 seconds on starting SITL
2016-01-11 09:31:13 +11:00
Andrew Tridgell
decb6dbab0
autotest: added option of autotest with gdb
2016-01-10 21:26:50 +11:00
Andrew Tridgell
9bb251a3fa
autotest: disable DF log for QuadPlane test
...
it is just too big to be useful
2016-01-10 17:43:02 +11:00
Andrew Tridgell
6cf1fd762b
autotest: don't show line noise in log download
2016-01-10 17:43:01 +11:00
Andrew Tridgell
bd111bd90b
autotest: lower log bitmask for QuadPlane
...
reduce log size
2016-01-10 17:43:01 +11:00
Andrew Tridgell
62b6057249
autotest: switch QuadPlane mission to full OBC2016 mission in Dalby
2016-01-09 16:50:17 +11:00
Andrew Tridgell
eec1b95f69
autotest: added quadplane test
2016-01-09 16:27:03 +11:00
Andrew Tridgell
9e43d5a4bb
autotest: added defaults_file option to start_SIL()
2016-01-09 16:26:51 +11:00
Andrew Tridgell
7667ad3af0
autotest: don't see dynamic vars in defaults file
2016-01-09 07:38:55 +11:00
Andrew Tridgell
626b468930
autotest: added quadplane parameter file
2016-01-09 07:38:54 +11:00
Andrew Tridgell
67c3cf3d9b
autotest: fixed incorrect default parms for plane
2016-01-07 13:48:59 +11:00
Andrew Tridgell
e7d7ab5ef6
autotest: no need to forceload parms now
2016-01-07 09:42:22 +11:00
Andrew Tridgell
0d26e3a445
autotest: automatically use sensible defaults for each vehicle type
...
this make first time use of SITL simpler
2016-01-07 09:10:20 +11:00
Peter Barker
d72a833ad4
sim_vehicle.sh: remove unused -e option and unused variables
...
Closes #3336
2016-01-05 15:23:37 +11:00
Peter Barker
2c78b4f537
SITL: encourage bash to create a subshell when spawning ardupilot
...
This issue is evident in Vagrant if you don't forward X.
_fdm_input_step determined there was no parent and killed ArduPilot.
Closed #3249
2016-01-04 16:02:48 +11:00
Andrew Tridgell
eb73a2b0c9
autotest: fixed fg_quad_view for new FlightGear versions
2016-01-04 14:31:21 +11:00
Andrew Tridgell
568b1da797
autotest: added VTOL mission at KSFO airport
2016-01-04 10:24:27 +11:00
Andrew Tridgell
881ada9694
autotest: added windows flightgear view scripts
2016-01-04 10:24:17 +11:00
Andrew Tridgell
55e8e0742a
autotest: fixed fg_plane_view.sh
2016-01-04 07:58:54 +11:00
Andrew Tridgell
9672b525f5
autotest: prevent duplication locations
2016-01-04 07:58:52 +11:00
Andrew Tridgell
2f4933ec41
autotest: added two new locations
2016-01-01 17:03:43 +11:00
Andrew Tridgell
8932c21155
autotest: added quadplane model
2016-01-01 14:35:15 +11:00
Don Gagne
07c0c6d519
autotest: Validate Range meta data for correctness
2015-12-27 16:10:43 +11:00
proficnc
efbe350182
Tools: firmware.diydrones gets reference to companion computers
2015-12-01 20:04:52 +09:00
Michael du Breuil
f19be28e89
autotest: allow delaying the mavproxy instance in SITL
...
This useful when using X forwarding, as mavproxy can start to quickly, and then break the sim enviorment. If the argument isn't used there is no change in behaviour
2015-12-01 15:01:24 +11:00
Andrew Tridgell
dfa107c7bb
autotest: added Dalby OBC2016 mission and geofence
2015-11-30 07:46:40 +11:00
Andrew Tridgell
a6ed3e5e80
autotest: added Dalby location
...
location of OBC2016
2015-11-30 07:46:18 +11:00
Andrew Tridgell
6fdc6074d6
autotest: fixed "Reached command" string
2015-11-29 21:46:31 +11:00
Andrew Tridgell
ffa316c1f3
autotest: fixed copter for new strings for arm/disarm
2015-11-29 18:39:32 +11:00