Commit Graph

271 Commits

Author SHA1 Message Date
Andrew Tridgell
e93e0e0eda autotest: use FG_SCENERY for fgear scenery path 2011-11-18 17:50:12 +11:00
Andrew Tridgell
a30b0c221c autotest: make log messages on failure clearer 2011-11-18 17:50:12 +11:00
Andrew Tridgell
8d7ed1400d autotest: fixed killing of Xvfb
this should make fly.ArduPlane more reliable
2011-11-18 17:50:12 +11:00
Jason Short
ea4359574f Complex mission script 2011-11-16 21:29:10 -08:00
Jason Short
5ddcf3fc57 Added more time for timeouts 2011-11-16 00:22:22 -08:00
Jason Short
3001e566ca Had to disable check of current WP. Going into auto mode executes commands right away and the reported index will differ per mission. Multiple commands may be executed. 2011-11-13 22:58:27 -08:00
Jason Short
0e771a02a4 Mission test update 2011-11-13 22:56:33 -08:00
Jason Short
fa0711f9ba set first WP in wait_waypoint to 0 2011-11-13 13:42:49 -08:00
Jason Short
6acd71669a set proper code for Home WP 2011-11-13 13:41:23 -08:00
Andrew Tridgell
c673e21e5b autotest: re-adding KMZ track 2011-11-14 06:38:49 +11:00
Andrew Tridgell
34a5a16009 autotest: fixed incorrect altitude wait 2011-11-13 23:59:20 +11:00
Andrew Tridgell
1ffc962afa autotest: fixed waypoint wait code
this allows fly.ArduCopter to pass again
2011-11-13 23:50:29 +11:00
Andrew Tridgell
5a0d4d2e84 autotest: fixed flight modes to match test code 2011-11-13 23:50:29 +11:00
Andrew Tridgell
6b5a51d646 autotest: added --experimental option
this currently enables fly.ArduPlane
2011-11-13 23:50:29 +11:00
Andrew Tridgell
825caf4cbc fixed wait_mode() 2011-11-13 23:50:29 +11:00
Andrew Tridgell
a2d7489760 fixed motor arming 2011-11-13 23:50:28 +11:00
Andrew Tridgell
5a7da25ba9 autotest: re-add --viewerip option 2011-11-13 23:50:28 +11:00
Andrew Tridgell
c4622e58f0 autotest: added initial implementation of flying of ArduPlane
takeoff, circuit, roll, RTL, mission
2011-11-13 23:50:28 +11:00
Andrew Tridgell
c21e976513 autotest: added wait_mode() helper 2011-11-13 23:50:28 +11:00
Andrew Tridgell
fc66fc9679 autotest: split out some common functions ready for ArduPlane support 2011-11-13 23:50:28 +11:00
Jason Short
c1313ae6a9 Fixed scaling issue with Circle mode 2011-11-13 00:24:25 -08:00
Jason Short
3b825fb8c1 Merge branch 'master' of https://code.google.com/p/ardupilot-mega
Conflicts:
	Tools/autotest/autotest.py
2011-11-12 21:53:08 -08:00
Jason Short
3f029604e2 Added notes 2011-11-12 15:13:25 -08:00
Jason Short
f1fe40fdf7 Added output to localhost for QGC 2011-11-12 15:12:57 -08:00
Jason Short
478488b9bf Added extrude to KML out 2011-11-12 15:11:25 -08:00
Andrew Tridgell
4b89bc174f create a kmz file
thanks to Michael for the tip
2011-11-11 20:05:55 +11:00
Andrew Tridgell
657dc8c12a 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
b783e2dedb autotest: longer timeout writing logs
the flash logs are getting pretty big now
2011-11-10 22:58:02 +11:00
Andrew Tridgell
d6cd8a67ae autotest: ensure we have a VFR_HUD msgs before getting location 2011-11-10 22:34:54 +11:00
Andrew Tridgell
32c8dd7bf1 autotest: link to defaults for both builds 2011-11-10 14:39:28 +11:00
Andrew Tridgell
8eadc63bdb autotest: added some colour to passed/failed msgs 2011-11-10 14:37:52 +11:00
Andrew Tridgell
995921ac55 autotest: improve error checking 2011-11-10 13:12:43 +11:00
Andrew Tridgell
e76c6d67e4 autotest: fixed target altitude for RTL mission 2011-11-10 13:00:35 +11:00
Andrew Tridgell
63f1039527 autotest: run the sim at 200Hz 2011-11-10 12:47:37 +11:00
Jason Short
952520da32 new Test mission 2011-11-09 16:33:24 -08:00
Jason Short
0967a02875 Updated Mission TTT 2011-11-09 12:50:36 -08:00
Max Levine
2e228dc01b autotest: improved web page layout
now uses a css style sheet
2011-11-10 07:24:50 +11:00
Andrew Tridgell
318fbc655a autotest: copy png files over 2011-11-10 00:31:50 +11:00
Andrew Tridgell
1c99d40bb4 autotest: allow for multiple html files 2011-11-10 00:23:46 +11:00
Andrew Tridgell
d1b3eb8772 autotest: show history link 2011-11-10 00:19:36 +11:00
Andrew Tridgell
aaf9bd1935 autotest: show frame and code sizes 2011-11-10 00:17:31 +11:00
Andrew Tridgell
87b0633894 autotest: fixed html path 2011-11-10 00:14:14 +11:00
Andrew Tridgell
d98f3ebd0c autotest: use a lock file
this ensures we don't run two copies of the tests at once
2011-11-09 23:53:09 +11:00
Andrew Tridgell
c2fd7144e2 autotest: fixed module name 2011-11-09 23:45:12 +11:00
Andrew Tridgell
36ecc34a4b autotest: show git hash in html 2011-11-09 23:43:25 +11:00
Andrew Tridgell
7dbbf187b9 make the web site a bit prettier 2011-11-09 23:25:28 +11:00
Andrew Tridgell
e8bf85f867 autotest: fixed mission end handling 2011-11-09 20:27:36 +11:00
Andrew Tridgell
6eb25d2c25 autotest: fixed pexpect timeout 2011-11-09 20:27:15 +11:00
Andrew Tridgell
97bc4e90a3 always convert GPX 2011-11-09 20:27:00 +11:00
Jason Short
6e496798bc Mission update 2011-11-08 23:45:05 -08:00
Andrew Tridgell
ba72935110 autotest: fixed typos in mission file 2011-11-09 17:50:46 +11:00
Andrew Tridgell
016e84ee21 autotest: try harder to kill child processes 2011-11-09 17:44:14 +11:00
Andrew Tridgell
c98c8b5144 autotest: list failed tests 2011-11-09 17:21:53 +11:00
Andrew Tridgell
6089e491ed autotest: improved error checking and child termination
we now report pass/fail for each test
2011-11-09 17:21:53 +11:00
Jason Short
3e5ec5d549 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-08 21:43:24 -08:00
Jason Short
bf1e991308 New mission test 2011-11-08 21:43:18 -08:00
Andrew Tridgell
e373c2a8b6 autotest: avoid the need for killall
this ensures we cleanup child processes cleanly, so we don't need the
killall any more
2011-11-09 15:46:06 +11:00
Andrew Tridgell
3427adbebe autotest: check for valgrind on the host 2011-11-08 18:07:19 +11:00
Andrew Tridgell
f3964611e1 autotest: fixed home altitude for CMAC 2011-11-08 08:14:46 +11:00
Andrew Tridgell
3b51874a70 autotest: dump all logs 2011-11-07 23:56:59 +11:00
Andrew Tridgell
20ae086842 autotest: dump all GPS points, even if fix==0
for some reason HIL gives fix 0 sometimes
2011-11-07 22:57:32 +11:00
Andrew Tridgell
5e5d86ca09 autotest: enable dumping of DataFlash logs at end of test 2011-11-07 22:56:13 +11:00
Andrew Tridgell
4bad72f8ac autotest: started adding tests for required tools
try to give useful error messages
2011-11-07 22:56:13 +11:00
Andrew Tridgell
5f85c0dc52 fixed permissions of valgrind log file 2011-11-04 10:05:40 +11:00
Andrew Tridgell
76985029dd autotest: run SIL binary under valgrind
this lets us find uninitialised variables in the APM code, and other
common C/C++ errors
2011-11-04 10:00:06 +11:00
Andrew Tridgell
cf5e32fc3c fixed home location 2011-11-02 10:26:24 +11:00
Andrew Tridgell
52d470cdc6 autotest: a complete mission now flies
with the TCP buffering fixed, the mission flies quite well with standard parameters
2011-11-02 09:38:44 +11:00
Andrew Tridgell
4671da409a autotest: fixed path to SIL binary 2011-11-02 09:38:44 +11:00
Andrew Tridgell
81cdc19287 autotest: added a mission to ArduCopter testing
the mission is not flown well at all, but its a start
2011-11-01 22:44:21 +11:00
Andrew Tridgell
8917deee40 autotest: ArduCopter test can now fly a square
the copter now takes off, yaws to north, flies a 50m square, then
does a loiter test for 10s and lands
2011-10-31 18:31:16 +11:00
Andrew Tridgell
0034b427d7 First version of APM autotest
This does SIL testing of ArduPlane and ArduCopter. For now it just does
a basic LOITER test of ArduCopter. It produces logs and a kml of the
flight on apm.tridgell.net
2011-10-31 13:50:34 +11:00