Randy Mackay
a7422153cb
SITL: disable avoidance so we can trigger fence failsafe
9 years ago
Randy Mackay
ed90d00fff
SITL: throttle to 50 percent now that hover throttle automatically updates
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
7b86a05722
Tools: convert autotest build.X and fly.X to use waf build system
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
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
Peter Barker
8774f15b9a
Tools: add valgrind option to autotest.py
9 years ago
Randy Mackay
a5de231a21
SITL: ease gps_glitch_auto_test
...
shortened glitch duration
extended timeout in gps_glitch_auto_test
9 years ago
Andrew Tridgell
a8ca41abf1
autotest: use 60% engine speed for stability test
...
can't handle 55% in SITL now in quad
9 years ago
Andrew Tridgell
6fdc6074d6
autotest: fixed "Reached command" string
9 years ago
Andrew Tridgell
ffa316c1f3
autotest: fixed copter for new strings for arm/disarm
9 years ago
Andrew Tridgell
084b607862
autotest: updated string for "Flight plan received"
9 years ago
Grant Morphett
fd0a442c92
autotest: added a timeout check
...
There was 1 while loop in the arducopter.py autotest that didn't have
a timeout check and of course we tripped over it.
9 years ago
Andrew Tridgell
717c04d507
autotest: fly CopterAVC mission as a helicopter
...
this ensures heli gets basic testing
10 years ago
Andrew Tridgell
34689cf949
autotest: cope with mavproxy logging msg changes
10 years ago
Randy Mackay
c86a396ca0
SITL: allow easier slowing of copter test
10 years ago
Randy Mackay
2ad5011177
SITL: slow down autotest for slow VMs
10 years ago
Andrew Tridgell
68515d0324
autotest: fixed CopterAVC test
10 years ago
Andrew Tridgell
fe536a4b89
autotest: use internal copter sim for autotest
10 years ago
Andrew Tridgell
d5b51f2129
autotest: use internal simulator for copter test
10 years ago
Andrew Tridgell
d691cfc3d8
autotest: rename sim_multicopter.py to sim_wrapper.py
...
it now supports multiple vehicle types
10 years ago
Randy Mackay
a04bc263f6
SITL: remove redundant takeoff from copter test
10 years ago
Randy Mackay
d0036290c1
SITL: copter test displays which RTL failed
10 years ago
Randy Mackay
90b02a2685
SITL: shorten GPS glitch duration for copter
10 years ago
Andrew Tridgell
7f89f73ad1
autotest: use simulation time for all time delays
10 years ago
Randy Mackay
11d0801c99
SITL: fix copter-avc test
10 years ago
Randy Mackay
8335399525
SITL: fix copter test
...
Allow more time for fly_square
Allow more movement in loiter_glitch test
10 years ago
Randy Mackay
7eb710ed3a
SITL: copter autotest uses sim time
10 years ago
Andrew Tridgell
cf15b4d4fc
autotest: removed use of --nowait option
10 years ago
Andrew Tridgell
97ee7e9fcc
autotest: run copter SITL simulation at 400Hz
...
save a bit of CPU time
10 years ago
Andrew Tridgell
45887a5d28
autotest: run rover and copter with synthetic clock
10 years ago
Randy Mackay
e1abdadc06
AutoTest: allow 10sec for EKF to settle in AVC test
10 years ago
Randy Mackay
74b46818bd
AutoTest: add 10sec before starting copter test
...
We should probably replace this with a check that the EKF has completed
it's initialisation and has not gone into constant position mode.
10 years ago
Randy Mackay
ae487ca88b
AutoTest: remove calibrate level from copter tests
10 years ago
Randy Mackay
2a7f78a2cd
AutoTest: reduce copter throttle when in stabilize
...
Simulated copter is flying too high and causing the land to timeout
10 years ago
Randy Mackay
765fa0e223
AutoTest: higher copter throttle when in stabilize
10 years ago
Randy Mackay
4ea48f8f64
AutoTest: increase throttle for fly_square test
10 years ago
Randy Mackay
95827e59c1
AutoTest: fix fly_mission to recognise end of mission
...
Copter's behaviour after completing a mission has changed so it does not
automatically switch to Loiter mode but rather stays at the last
waypoint. This was confusing the fly_mission function.
10 years ago
Randy Mackay
68be36d4f8
AutoTest: reduce copter throttle when flying square
...
This will keep the copter lower during this test and resolve the timeout
during landing
11 years ago
nwind21
485726258b
autotest: Add code to detect if a hard link is not allowed (for VM's).
11 years ago
Randy Mackay
4f75cbcce0
AutoTest: fix error reporting for copter AVC mission
11 years ago
Randy Mackay
cad1441739
AutoTest: print failed copter test
...
Name of the failed tests appears at the moment it fails and then again
after all tests have been run. This hopefully makes it slightly easier
to know which test has failed
11 years ago
Randy Mackay
028b7d1cce
AutoTest: fix AVC copter test
...
Also incorporate file name changes
11 years ago
Randy Mackay
f54d8b02eb
AutoTest: fix to copter missions
...
Missions were not completing successfully because they were waiting for
the current waypoint number to be 1 higher than was possible
11 years ago
Andrew Tridgell
ccc449db19
autotest: removed the set of SYSID_THISMAV
...
this led to a race condition where some parameters were not loaded as
they were being sent with the wrong system ID
11 years ago
Randy Mackay
46f4368522
AutoTest: adjust copter CIRCLE_RADIUS to 3000
11 years ago
Andrew Tridgell
6121b9c58e
autotest: switched to binary log download over MAVLink
11 years ago