Commit Graph

69 Commits

Author SHA1 Message Date
rmackay9 93f918f3e0 AutoTest: reduced descend throttle for arducopter's change_alt test. 2012-08-19 12:33:21 +09:00
rmackay9 c574393995 AutoTest: update failsafe timeout to 180 to give it more time to pass. 2012-08-14 11:25:10 +09:00
Andreas M. Antonopoulos 29338fbf7b auto est: modular tests and unit testing with Junit.xml output for jenkins
autotest: unit testing for jenkins
- parameterized unit testing
- modular python test modules
- test groups by directory
- select tests individual or by group
- skip tests individually or by group

arducopter.py: parameterized several functions to allow throttle settings and timeouts

test modules: extracted and copied 8 tests from Tridge's autotest into modules

junit.xml: xml template for unit test reporting to jenkins
2012-07-05 23:48:50 -07:00
Andrew Tridgell 453cb93c6f autotest: fixed levelling for ACM with MAVLink 1.0 2012-04-27 15:15:53 +10:00
Andrew Tridgell 67afdc7485 autotest: fixes for MAVLink 1.0 in autotest 2012-04-27 15:15:53 +10:00
Jason Short c10778d685 Better throttle for tests 2012-02-19 15:06:54 -08:00
Jason Short 11dd9564d9 SIMPLE mode throttle fix 2012-02-19 14:21:27 -08:00
Jason Short 1c9bb25f09 AP TEST fixes for new throttle control 2012-02-19 12:38:57 -08:00
Andrew Tridgell 4a766e1abd autotest: lower throttle level for lowering altitude in loiter
we were not dropping altitude in the change_alt test
2012-02-19 23:21:09 +11:00
Andrew Tridgell 9700afaf10 autotest: fixed failsafe test
increased timeout, added check for home location, and fixed failure
testing on timeout
2012-02-19 22:52:09 +11:00
Jason Short 973b0b72c5 Landing now disarms automatically. 2012-01-28 22:52:17 -08:00
Jason Short d11eaa9265 Tweaks 2012-01-10 23:43:44 -08:00
Andrew Tridgell 861222f81d autotest: cope with startup messages in a different order 2012-01-09 18:09:04 +11:00
Jason Short 0be68e679b updated throttle to keep altitude 2012-01-07 22:27:25 -08:00
Jason Short c1314bc814 Added failsafe test 2012-01-06 10:22:13 -08:00
Jason Short 6d827d0087 Added RTL with Auto_land test
Fixed Simple Mode test
2012-01-05 22:13:20 -08:00
Jason Short 193848cea6 thought the commented out function was too cool to loose, but not using it now
changed the WP index number
2012-01-04 09:52:25 -08:00
Andrew Tridgell 64b541037e autotest: change to an octa frame for autotest
this will be a useful experiment
2012-01-04 22:03:37 +11:00
Andrew Tridgell efa649e51a autotest: fix for new sim_multicopter.py command 2012-01-04 21:49:19 +11:00
Jason Short 986b42a45b Fixed Loiter Timeout bug, added more wind by default. 2011-12-29 23:02:02 -08:00
Andrew Tridgell 8b9eb0dad1 autotest: fixed arducopter autotest
no longer says "Please run setup"
2011-12-26 20:10:10 +11:00
Jason Short c9b2d1c3c2 Added fix for Takeoff Test 2011-12-23 14:42:49 -08:00
Andrew Tridgell e4ed3cb583 fixed typo in fly_simple() 2011-12-22 10:25:31 +11:00
Jason Short 6e81b1a6f8 Added new tests 2011-12-15 20:51:41 -08:00
Andrew Tridgell 8847ee518d autotest: fixed loiter hold time
hold time was larger than the timeout
2011-12-13 19:08:47 +11:00
Jason Short c58e9e9135 more control over loiter time and alt change 2011-12-12 17:47:46 -08:00
Andrew Tridgell 37641d2576 autotest: added a 2m/s wind from east to quadcopter test 2011-12-13 10:36:52 +11:00
Andrew Tridgell a3403aeb6c autotest: added logging of what failed 2011-12-12 23:08:20 +11:00
Andrew Tridgell de1a5ab9ce autotest: increase stream rate to 5 for ArduCopter test
needed to get accurate heading monitoring
2011-12-12 23:07:46 +11:00
Andrew Tridgell ef8ed6aab2 autotest: calibrate accelerometers at startup 2011-12-12 22:07:53 +11:00
Andrew Tridgell 0a7f2bcc44 autotest: use random MAVLink system IDs
this allows more than one test to be viewed at the same time in
qgroundcontrol
2011-12-03 07:55:03 +11:00
Andrew Tridgell fb3d4eab90 autotest: fixed sim_quad viewerip handling 2011-12-02 17:37:55 +11:00
Andrew Tridgell cf7073128d autotest: adapt test suite to new simulation framework 2011-12-02 17:37:55 +11:00
Jason Short 79945d02b7 made missions work with index of 1 2011-11-28 10:33:05 -08:00
Andrew Tridgell f30bca01c9 autotest: use idle_hooks to prevent lockup 2011-11-28 13:53:57 +11:00
Andrew Tridgell c64a5f354e autotest: enable new SITL emulation code
this enables the register level SITL code
2011-11-25 20:00:19 -08:00
Jason Short 9e04d4c45b longer timeout 2011-11-19 14:59:48 -08:00
Jason Short 2d5ee0f7e2 Switched to Mission 2 2011-11-19 14:03:26 -08:00
Jason Short 31cb62620f Mission test update 2011-11-13 22:56:33 -08:00
Jason Short d226b875c8 set first WP in wait_waypoint to 0 2011-11-13 13:42:49 -08:00
Andrew Tridgell 3057ef9fb7 autotest: fixed incorrect altitude wait 2011-11-13 23:59:20 +11:00
Andrew Tridgell be886ef9bc autotest: fixed waypoint wait code
this allows fly.ArduCopter to pass again
2011-11-13 23:50:29 +11:00
Andrew Tridgell 395ad44dd9 fixed wait_mode() 2011-11-13 23:50:29 +11:00
Andrew Tridgell 91f0722e22 fixed motor arming 2011-11-13 23:50:28 +11:00
Andrew Tridgell 147dc2529f autotest: added initial implementation of flying of ArduPlane
takeoff, circuit, roll, RTL, mission
2011-11-13 23:50:28 +11:00
Andrew Tridgell 0f00b4c722 autotest: added wait_mode() helper 2011-11-13 23:50:28 +11:00
Andrew Tridgell 1e22945981 autotest: split out some common functions ready for ArduPlane support 2011-11-13 23:50:28 +11:00
Jason Short 04491d66db Fixed scaling issue with Circle mode 2011-11-13 00:24:25 -08:00
Andrew Tridgell dafbdd1f2b autotest: added --viewerip option
this allows you to specify an IP that will receive all MAVLink logs
and fg data for realtime viewing
2011-11-11 08:17:12 +11:00
Andrew Tridgell 2436bff853 autotest: ensure we have a VFR_HUD msgs before getting location 2011-11-10 22:34:54 +11:00