Commit Graph

179 Commits

Author SHA1 Message Date
Andrew Tridgell be3b9e3480 autotest: added wind support to ArduPlane simulation 2011-12-13 15:28:03 +11:00
Andrew Tridgell c518f8c224 autotest: show groundspeed in flightgear display
useful with wind
2011-12-13 15:27:32 +11:00
Andrew Tridgell f96dca3311 autotest: example startup scripts for simulators 2011-12-13 13:50:06 +11:00
Andrew Tridgell c64ed53e1d autotest: improved runsim defaults 2011-12-13 13:45:18 +11:00
Andrew Tridgell 5a2827e64b autotest: changed default sim_quad rate to 400Hz (matches autotest
script)
2011-12-13 13:44:53 +11:00
Jason Short b08e1329d0 more control over loiter time and alt change 2011-12-12 17:47:46 -08:00
Andrew Tridgell f5a54f3da8 autotest: use 'enter 3 times' method to get into CLI
this doesn't depend on build options
2011-12-13 10:36:52 +11:00
Andrew Tridgell 0e75b3b140 autotest: added a test script for wind generation
this makes it easier to experiment
2011-12-13 10:36:52 +11:00
Andrew Tridgell 63688826cf autotest: added a 2m/s wind from east to quadcopter test 2011-12-13 10:36:52 +11:00
Andrew Tridgell 9ef929e88e autotest: added --wind option to sim_quad
this is in the form of speed,direction,turbulance
2011-12-13 10:36:52 +11:00
Andrew Tridgell 5fb01d1cdd autotest: added a wind generation class 2011-12-13 10:36:52 +11:00
Andrew Tridgell d92884b5fb autotest: fixed motor order display 2011-12-12 23:14:29 +11:00
Andrew Tridgell 1426f9dedd autotest: added logging of what failed 2011-12-12 23:08:20 +11:00
Andrew Tridgell 44ccbd12da 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 c1a23ef150 pysim: added rotational resistance 2011-12-12 22:08:10 +11:00
Andrew Tridgell 299b19cfe6 autotest: calibrate accelerometers at startup 2011-12-12 22:07:53 +11:00
Andrew Tridgell 6121942d42 pysim: fixed the accelerometer calculation in the quad simulator
this was causing severe drift in the attitude calculation
2011-12-12 21:57:09 +11:00
Andrew Tridgell 9b654cd8fb autotest: nicer display in FG quadcopter view 2011-12-12 21:01:32 +11:00
Jason Short f71949de2e Cleaned up mission 3 2011-12-10 20:43:39 -08:00
Jason Short 25b34ed423 Simple square test 2011-12-10 10:19:20 -08:00
Andrew Tridgell f531764f88 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 98a03b7768 autotest: fixed rudder reversal for Rascal, and RC3 trim 2011-12-09 15:05:27 +11:00
Andrew Tridgell 6a973ec143 autotest: nicer display of key data in Rascal 2011-12-09 15:05:27 +11:00
Andrew Tridgell 880f551efc 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 1fcd411bbc 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 9b3ce4a96a 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 1192e2f11c 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 551f078647 autotest: updated fakepos.py for new packet format 2011-12-02 23:43:03 +11:00
Andrew Tridgell 9dd2021ec8 autotest: support all 11 PWM output channels
this will allow for more complex aircraft
2011-12-02 22:45:48 +11:00
Andrew Tridgell a0baf71322 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 5053818f56 autotest: fixed sim_quad viewerip handling 2011-12-02 17:37:55 +11:00
Andrew Tridgell f6eb5f9ba1 autotest: don't die if FG isn't running 2011-12-02 17:37:55 +11:00
Andrew Tridgell a2cc6b2ec1 autotest: adapt test suite to new simulation framework 2011-12-02 17:37:55 +11:00
Andrew Tridgell 3f86144750 autotest: added a copy of pymavlink 2011-12-02 17:37:55 +11:00
Andrew Tridgell b52a42c1f5 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 a0de9d31a9 autotest: useful script for testing gyro and accel calculations 2011-12-02 17:37:55 +11:00
Andrew Tridgell 8743b3d0eb autotest: added scripts to start flightgear as a viewer 2011-12-02 17:37:54 +11:00
Andrew Tridgell 113b496924 autotest: combined python utility code 2011-12-02 17:37:54 +11:00
Andrew Tridgell 9a508f4f69 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 1e36b9c600 autotest: added Rascal and arducopter models 2011-12-02 17:37:54 +11:00
Jason Short 5a75ef1356 made missions work with index of 1 2011-11-28 10:33:05 -08:00
Andrew Tridgell ed7f339552 autotest: use kmz file not kml
saves bandwidth
2011-11-28 16:53:20 +11:00
Andrew Tridgell 7214e2ec06 autotest: added idle hooks for ArduPlane testing too 2011-11-28 16:22:33 +11:00
Andrew Tridgell ab3e933f11 autotest: show log numbers while dumping 2011-11-28 16:22:33 +11:00
Andrew Tridgell f9fd473df7 autotest: use idle_hooks to prevent lockup 2011-11-28 13:53:57 +11:00
Andrew Tridgell 8e737ad15d autotest: fixed log dump
log numbers are no longer sequential
2011-11-26 19:16:56 +11:00
Andrew Tridgell 3b33892b4a autotest: fixed remote viewing of ArduCopter autotest 2011-11-26 18:35:25 +11:00
Andrew Tridgell 7a201233c0 autotest: cope with exceptions in tests leaving child processes 2011-11-26 18:12:42 +11:00
Andrew Tridgell 673b24b4bc autotest: enable new SITL emulation code
this enables the register level SITL code
2011-11-25 20:00:19 -08:00
Andrew Tridgell 5a50090a05 autotest: mark stdout unbuffered
this makes the logs easier to read
2011-11-25 20:00:19 -08:00
Andrew Tridgell 03d51221ee autotest: enable the compass for ArduCopter
needed for new SITL code
2011-11-25 20:00:19 -08:00
Jason Short bfc2de341f tweak to loiter turns command 2011-11-20 00:22:53 -08:00
Jason Short 81a4c87576 lengthened log timeout 2011-11-19 17:31:36 -08:00
Jason Short f8768b12b9 Added KML link 2011-11-19 16:59:54 -08:00
Jason Short 8961bcab0a longer timeout 2011-11-19 14:59:48 -08:00
Jason Short de1926076c Switched to Mission 2 2011-11-19 14:03:26 -08:00
Jason Short fe9705adbc Checking for climb rate 2011-11-19 14:03:08 -08:00
Andrew Tridgell fd9e6ed699 autotest: added a loop to ArduPlane test 2011-11-18 17:50:12 +11:00
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