Commit Graph

109 Commits

Author SHA1 Message Date
Andrew Tridgell
5130a37a9e autotest: automatically pause when SITL sim stops
this allows you to use gdb on the sim without crashing
2011-12-09 15:05:27 +11:00
Andrew Tridgell
582154afb3 autotest: fixed rudder reversal for Rascal, and RC3 trim 2011-12-09 15:05:27 +11:00
Andrew Tridgell
e0d7e7cf0b autotest: nicer display of key data in Rascal 2011-12-09 15:05:27 +11:00
Andrew Tridgell
39d0d7ed49 autotest: fixed body/earth frames in sim_quad physics model
Jason, can you have a look at this?
2011-12-05 17:45:23 +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
dedbfc8cca autotest: estimate the cost of sleeping for more accurate frame rate
this gets us quite close to 1kHz simulation
2011-12-03 07:38:51 +11:00
Andrew Tridgell
5be56a824d autotest: run the quad simulation at a much higher rate
it now defaults to 1kHz
2011-12-03 07:24:58 +11:00
Andrew Tridgell
e12fabebe9 autotest: updated fakepos.py for new packet format 2011-12-02 23:43:03 +11:00
Andrew Tridgell
f96a48e42b autotest: support all 11 PWM output channels
this will allow for more complex aircraft
2011-12-02 22:45:48 +11:00
Andrew Tridgell
66d65121cc autotest: switch to big-endian metric packets internally
now that all the sim code is internal to the APM git repo, we can
choose saner packet formats
2011-12-02 22:12:58 +11:00
Andrew Tridgell
fb3d4eab90 autotest: fixed sim_quad viewerip handling 2011-12-02 17:37:55 +11:00
Andrew Tridgell
1878db2013 autotest: don't die if FG isn't running 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
Andrew Tridgell
e6608b604b autotest: added a copy of pymavlink 2011-12-02 17:37:55 +11:00
Andrew Tridgell
05c6734ca2 autotest: added runsim.py
this starts JSBSim, linking it into the SITL APM test code
2011-12-02 17:37:55 +11:00
Andrew Tridgell
abbf02b674 autotest: useful script for testing gyro and accel calculations 2011-12-02 17:37:55 +11:00
Andrew Tridgell
76bb6b9aa8 autotest: added scripts to start flightgear as a viewer 2011-12-02 17:37:54 +11:00
Andrew Tridgell
65699a2f2f autotest: combined python utility code 2011-12-02 17:37:54 +11:00
Andrew Tridgell
0887804096 autotest: imported python quadcopter model as sim_quad.py
this allows us to keep it in sync with the main SITL code
2011-12-02 17:37:54 +11:00
Andrew Tridgell
544d2e6793 autotest: added Rascal and arducopter models 2011-12-02 17:37:54 +11:00
Jason Short
79945d02b7 made missions work with index of 1 2011-11-28 10:33:05 -08:00
Andrew Tridgell
f59f9668e9 autotest: use kmz file not kml
saves bandwidth
2011-11-28 16:53:20 +11:00
Andrew Tridgell
12025c8b54 autotest: added idle hooks for ArduPlane testing too 2011-11-28 16:22:33 +11:00
Andrew Tridgell
2e7a48ad9c autotest: show log numbers while dumping 2011-11-28 16:22:33 +11:00
Andrew Tridgell
f30bca01c9 autotest: use idle_hooks to prevent lockup 2011-11-28 13:53:57 +11:00
Andrew Tridgell
5784acd55f autotest: fixed log dump
log numbers are no longer sequential
2011-11-26 19:16:56 +11:00
Andrew Tridgell
8ab0dbdba7 autotest: fixed remote viewing of ArduCopter autotest 2011-11-26 18:35:25 +11:00
Andrew Tridgell
ee04c0ef50 autotest: cope with exceptions in tests leaving child processes 2011-11-26 18:12:42 +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
Andrew Tridgell
5fd04e0c23 autotest: mark stdout unbuffered
this makes the logs easier to read
2011-11-25 20:00:19 -08:00
Andrew Tridgell
4877892d6e autotest: enable the compass for ArduCopter
needed for new SITL code
2011-11-25 20:00:19 -08:00
Jason Short
a47f28cfdb tweak to loiter turns command 2011-11-20 00:22:53 -08:00
Jason Short
14f0f7b6f3 lengthened log timeout 2011-11-19 17:31:36 -08:00
Jason Short
269c6d26c9 Added KML link 2011-11-19 16:59:54 -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
f345c4c987 Checking for climb rate 2011-11-19 14:03:08 -08:00
Andrew Tridgell
f737d22026 autotest: added a loop to ArduPlane test 2011-11-18 17:50:12 +11:00
Andrew Tridgell
fdaa760aec autotest: use FG_SCENERY for fgear scenery path 2011-11-18 17:50:12 +11:00
Andrew Tridgell
dd8593273f autotest: make log messages on failure clearer 2011-11-18 17:50:12 +11:00
Andrew Tridgell
00374bea0a autotest: fixed killing of Xvfb
this should make fly.ArduPlane more reliable
2011-11-18 17:50:12 +11:00
Jason Short
4cf718854e Complex mission script 2011-11-16 21:29:10 -08:00
Jason Short
839774fbf3 Added more time for timeouts 2011-11-16 00:22:22 -08:00
Jason Short
0f33ad74dc 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
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
Jason Short
a1da5fb9e5 set proper code for Home WP 2011-11-13 13:41:23 -08:00
Andrew Tridgell
d4aa61e97e autotest: re-adding KMZ track 2011-11-14 06:38:49 +11: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