Commit Graph

246 Commits

Author SHA1 Message Date
Andreas M. Antonopoulos dd038533f1 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 bc4beb2345 autotest: don't set a negative max pitch limit!
this didn't do well in the simulator :-)
2012-07-05 17:59:37 +10:00
Andrew Tridgell 11b13001f4 autotest: tweak the Rascal tuning 2012-07-05 17:59:37 +10:00
Andreas M. Antonopoulos 4de662e2af param_parser - better tolerance for missing parameters 2012-07-04 23:01:52 -07:00
Andreas M. Antonopoulos 1b98bddaae parameter metadata parser: better values formatting 2012-07-04 21:27:58 -07:00
Andreas M. Antonopoulos 6509ed74cd parameter metadata parser: escape wiki characters 2012-07-04 20:55:55 -07:00
Andrew Tridgell fe54329de2 MAVLink: remove MAVLink 0.9 protocol support
this simplifies the code a lot. We're not going back to 1.0
2012-07-05 13:00:46 +10:00
Andreas M. Antonopoulos 1b4bc490a0 parameter metadata parser, display improvements 2012-07-04 17:58:09 -07:00
Andreas M. Antonopoulos 400e313377 parameter metadata -> wiki, bug fixes 2012-07-04 17:42:38 -07:00
Andreas M. Antonopoulos d5d5c3923f parameter metadata parser and wiki generator 2012-07-04 16:44:53 -07:00
Andrew Tridgell 8b7fc364f9 autotest: change loiter heading accuracy to 10 2012-07-04 15:59:35 +10:00
Andrew Tridgell b3c9cdb353 SITL: fixed the normalisation of the DCM matrix in the multicopter sim 2012-07-04 15:59:15 +10:00
Andrew Tridgell e54e3f813d SITL: don't enable wind until we are off the ground
this makes it possible to test with much larger wind speeds, without
the sim crashing due to the wind flipping us over on the runway
2012-07-03 10:19:20 +10:00
Pat Hickey 2d71a2affc Autotest: use mktemp instead of tempfile
* tempfile has been deprecated in favor of mktemp on debian, not available
  on fedora
2012-06-27 14:28:22 -07:00
Andrew Tridgell 624fdda89c autotest: switch to full accel modelling in multicopter simulation
the new AHRS code should allow for centripetal compensation in
multicopters
2012-06-27 16:01:50 +10:00
Andrew Tridgell 0c7e20fe90 autotest: show logs on timeout 2012-06-16 06:47:55 +10:00
Andrew Tridgell 860c88c786 autotest: try again to get paths right! 2012-06-15 18:44:00 +10:00
Andrew Tridgell f3a45bfb41 autotest: added --timeout option
try to ensure we end up with a timeout display on the website
2012-06-15 16:53:51 +10:00
Andrew Tridgell 07b9fc2a5d sitl: fixed fgFDM path 2012-06-14 15:18:58 +10:00
Andrew Tridgell 9ef4595ad3 autotest: fixed lat/lon update for multicopter sim
this makes waypoint tracking more accurate
2012-06-05 11:18:52 +10:00
Andrew Tridgell 83c1b7fe3b removed copy of pymavlink code
use upstream code instead
2012-06-04 17:51:12 +10:00
Andrew Tridgell 830e5997d2 mavlink: added auto-detection of mavlink protocol version 2012-06-04 17:51:12 +10:00
Andrew Tridgell 72a2ecaa11 autotest: wait for VFR_HUD to be non-zero on startup 2012-06-04 14:55:40 +10:00
Andrew Tridgell 6260437818 autotest: default to mavlink10 2012-06-04 13:19:21 +10:00
Andrew Tridgell e2c36eb158 autotest: default to not using gdb on ArduPlane.elf 2012-05-22 20:02:23 +10:00
Andrew Tridgell 5f71cb6651 HILTest is not needed any more 2012-05-09 13:47:44 +10:00
Andrew Tridgell 033b0e27f3 autotest: forced loiter via 2nd method 2012-05-03 15:40:13 +10:00
Andrew Tridgell 581e52f0d4 autotest: fixed levelling for ACM with MAVLink 1.0 2012-04-27 15:15:53 +10:00
Andrew Tridgell 8134c9a883 autotest: fixes for MAVLink 1.0 in autotest 2012-04-27 15:15:53 +10:00
Andrew Tridgell 766755aa9c autotest: removed unused files 2012-04-27 15:15:53 +10:00
Andrew Tridgell dce18f89f2 autotest: updated pymavlink to latest 2012-04-27 15:15:52 +10:00
Andrew Tridgell 0dcbe2a11b sitl: added sim_arducopter10.sh
useful for testing
2012-04-24 22:24:58 +10:00
Andrew Tridgell cbecb3eff9 sitl: we don't need mavlink in copter sim 2012-04-24 22:24:58 +10:00
Andrew Tridgell de2bcda3db sitl: make it easy to run sitl for MAVLink 1.0 2012-04-20 10:09:21 +10:00
Andrew Tridgell 1450c3f5af autotest: fixed overshoot due to low resolution log timing 2012-04-03 10:43:05 +10:00
Andrew Tridgell 2e11584fb7 autotest: fixed order of startup messages 2012-04-03 09:53:26 +10:00
Andrew Tridgell c221c91f87 autotest: use the automatic declination code in autotest 2012-03-30 14:25:27 +11:00
Andrew Tridgell dd3218c913 pysim: ensure Vector3() uses floats 2012-03-29 12:39:53 +11:00
Andrew Tridgell 0b94b2e470 pysim: implement partial 3D acceleration support
The simulator flies very badly when using the full acceleration
code. I don't yet know if this is a bug in the simulation or a problem
with AHRS not handling acceleration for multicopters.

For now set the acceleration to be half a 'pure gravity' acceleration
and half from the full 3D calculation.
2012-03-23 16:48:52 +11:00
Andrew Tridgell c020030620 pysim: added experimental acceleration support 2012-03-23 16:48:52 +11:00
Andrew Tridgell ccfac19cef pysim: update the multicopter simulator with correct acceleration
this re-works the multicopter simulator in terms of rotation matrices,
and adds full acceleration support, which means it will include linear
acceleration affects and centripetal acceleration
2012-03-22 23:00:45 +11:00
Andrew Tridgell 21c8351f2f pysim: added rotmat.py
this is a python library for rotation matrices, following the
conventions in AP_Math
2012-03-22 23:00:45 +11:00
Andrew Tridgell 491def2b7e autotest: fixed the declination to match new compass
we now use the declination for Canberra
2012-03-21 10:41:55 +11:00
Andrew Tridgell 506b91a587 autotest: run fg viewers with less CPU priority 2012-03-10 10:34:27 +11:00
Andrew Tridgell 65b26619d4 autotest: added CMAC test circuit
this is what I am using for noise testing
2012-03-10 10:34:27 +11:00
Andrew Tridgell af0765bb0a autotest: fixed xAccel calculation in fakepos.py 2012-02-25 11:37:20 +11:00
Jason Short 9eea6a6c46 Better throttle for tests 2012-02-19 15:06:54 -08:00
Jason Short 7a60f33874 SIMPLE mode throttle fix 2012-02-19 14:21:27 -08:00
Andrew Tridgell 9f79455ecc autotest: fixed check of return code for build_all.sh 2012-02-20 09:17:08 +11:00
Andrew Tridgell aaab500fe3 autotest: fixed directory for build_all.sh 2012-02-20 08:41:40 +11:00