Peter Barker
791b1f43e9
Tools: allow heli autotest to use different frame
2017-07-05 17:34:09 +01:00
Peter Barker
59647b3434
Tools: autotest: correct Copter params file handling
2017-07-05 17:29:55 +01:00
Peter Barker
2ddf7f99b5
Tools: autotest: option to run different frame
2017-05-26 16:53:07 +09:00
Peter Barker
817efe9b6d
Tools: expect message for EKF readiness rather than sleeping
...
This solves a problem for me when running Valgrind as
30s was not sufficient
2017-01-26 16:53:13 +11:00
Pierre Kancir
bec09b9a57
autotest: python3 support
2016-11-09 11:48:22 -03:00
Pierre Kancir
5786d66ea1
autotest: simplify start_sitl
2016-11-09 11:48:22 -03:00
Randy Mackay
31b5941c45
SITL: revert increase speed of yaw in copter sitl
...
ACRO_Y_EXPO's default has been set to zero so we need to revert the
change to the yaw input in the SITL autotest
2016-11-07 10:34:33 +09:00
Randy Mackay
964ddfb0d2
SITL: increase speed of yaw in copter sitl
...
This should resolve the SITL failures caused by the recent change to add
yaw expo to all manual flight modes
2016-10-27 10:44:44 +09:00
Andrew Tridgell
fcc89a2577
autotest: fixed RC_CHANNELS_RAW -> RC_CHANNELS
2016-10-14 11:40:23 +11:00
Peter Barker
068c310ed5
Tools: remove hard-coded FRAME global, specify same via parameter
2016-10-10 11:09:47 +11:00
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
2016-09-01 13:05:11 +10:00
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
2016-08-08 10:12:14 -03:00
Pierre Kancir
19d94737a0
autotest: move all default params to default_params directory
2016-08-03 17:44:37 -03:00
Pierre Kancir
07eb170b39
Autotest: correct mavproxy unloaded map error
2016-08-01 10:37:15 -03:00
priseborough
18c4327a2a
autotest: reduce copter test run time
...
Signed-off-by: priseborough <p_riseborough@live.com.au>
2016-07-19 12:16:50 +10:00
priseborough
e0d87bf529
autotest: Increase startup wait time to allow EKF and GPS checks to pass
2016-07-19 12:16:48 +10:00
Peter Barker
b23f983459
autotest: add --gdb option to autotest.py
2016-06-27 18:14:55 -03:00
Randy Mackay
a7422153cb
SITL: disable avoidance so we can trigger fence failsafe
2016-06-22 11:38:15 +09:00
Randy Mackay
ed90d00fff
SITL: throttle to 50 percent now that hover throttle automatically updates
2016-06-18 11:55:49 +09:00
Andrew Tridgell
084a37d4fa
autotest: enable LOG_REPLAY and LOG_DISARMED in autotest
...
this will give us the ability to analyse any EKF errors
2016-05-27 21:23:39 +10:00
Peter Barker
480e142cfb
autotest.py: remove TARGET no longer required
2016-05-27 08:07:07 -03:00
Peter Barker
3548f90d3a
autotest: create SIL object to hold valgrind logpath
2016-05-27 08:07:07 -03:00
Peter Barker
7b86a05722
Tools: convert autotest build.X and fly.X to use waf build system
2016-05-27 08:07:07 -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
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
Peter Barker
8774f15b9a
Tools: add valgrind option to autotest.py
2016-04-22 09:42:33 +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
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
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
Andrew Tridgell
084b607862
autotest: updated string for "Flight plan received"
2015-11-26 12:52:19 +11:00
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.
2015-10-12 14:20:52 +09:00
Andrew Tridgell
717c04d507
autotest: fly CopterAVC mission as a helicopter
...
this ensures heli gets basic testing
2015-09-01 16:34:20 +10:00
Andrew Tridgell
34689cf949
autotest: cope with mavproxy logging msg changes
2015-06-30 14:06:17 +10:00
Randy Mackay
c86a396ca0
SITL: allow easier slowing of copter test
2015-05-13 22:40:03 +09:00
Randy Mackay
2ad5011177
SITL: slow down autotest for slow VMs
2015-05-12 16:31:32 +09:00
Andrew Tridgell
68515d0324
autotest: fixed CopterAVC test
2015-05-11 11:26:54 +10:00
Andrew Tridgell
fe536a4b89
autotest: use internal copter sim for autotest
2015-05-05 16:56:40 +10:00
Andrew Tridgell
d5b51f2129
autotest: use internal simulator for copter test
2015-05-05 16:56:39 +10:00
Andrew Tridgell
d691cfc3d8
autotest: rename sim_multicopter.py to sim_wrapper.py
...
it now supports multiple vehicle types
2015-04-19 12:08:25 +10:00
Randy Mackay
a04bc263f6
SITL: remove redundant takeoff from copter test
2015-04-16 21:00:38 +09:00
Randy Mackay
d0036290c1
SITL: copter test displays which RTL failed
2015-04-16 21:00:17 +09:00
Randy Mackay
90b02a2685
SITL: shorten GPS glitch duration for copter
2015-04-15 17:33:23 +09:00
Andrew Tridgell
7f89f73ad1
autotest: use simulation time for all time delays
2015-04-13 10:08:12 +10:00
Randy Mackay
11d0801c99
SITL: fix copter-avc test
2015-04-08 15:24:48 +09:00
Randy Mackay
8335399525
SITL: fix copter test
...
Allow more time for fly_square
Allow more movement in loiter_glitch test
2015-04-08 12:18:22 +09:00
Randy Mackay
7eb710ed3a
SITL: copter autotest uses sim time
2015-04-08 12:18:20 +09:00
Andrew Tridgell
cf15b4d4fc
autotest: removed use of --nowait option
2015-03-27 18:03:24 -07:00
Andrew Tridgell
97ee7e9fcc
autotest: run copter SITL simulation at 400Hz
...
save a bit of CPU time
2015-03-25 22:30:46 -07:00