Commit Graph

248 Commits

Author SHA1 Message Date
Andrew Tridgell ba205d8ff5 autotest: create kmz files on timeout 2012-07-10 09:13:16 +10:00
Andreas M. Antonopoulos de64c05f8e param_parser: cosmetic
Arduplane: doc fixes
2012-07-08 21:45:26 -07: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 75772b83cf 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 3a792abb4d autotest: tweak the Rascal tuning 2012-07-05 17:59:37 +10:00
Andreas M. Antonopoulos 186a3e4f6a param_parser - better tolerance for missing parameters 2012-07-04 23:01:52 -07:00
Andreas M. Antonopoulos 2010d3aaa3 parameter metadata parser: better values formatting 2012-07-04 21:27:58 -07:00
Andreas M. Antonopoulos 425ef33b59 parameter metadata parser: escape wiki characters 2012-07-04 20:55:55 -07:00
Andrew Tridgell 60caaa4b04 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 9f6fb89392 parameter metadata parser, display improvements 2012-07-04 17:58:09 -07:00
Andreas M. Antonopoulos 453c1677b5 parameter metadata -> wiki, bug fixes 2012-07-04 17:42:38 -07:00
Andreas M. Antonopoulos c4b59a89da parameter metadata parser and wiki generator 2012-07-04 16:44:53 -07:00
Andrew Tridgell c8f5aeb7ba autotest: change loiter heading accuracy to 10 2012-07-04 15:59:35 +10:00
Andrew Tridgell 61f325713e SITL: fixed the normalisation of the DCM matrix in the multicopter sim 2012-07-04 15:59:15 +10:00
Andrew Tridgell 82e09ce53a 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 d0453c5085 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 5cd5f40f09 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 28d62416fe autotest: show logs on timeout 2012-06-16 06:47:55 +10:00
Andrew Tridgell b2f8fad0a3 autotest: try again to get paths right! 2012-06-15 18:44:00 +10:00
Andrew Tridgell 04a2a0eb46 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 92cb3cdf6f sitl: fixed fgFDM path 2012-06-14 15:18:58 +10:00
Andrew Tridgell ff9743995d autotest: fixed lat/lon update for multicopter sim
this makes waypoint tracking more accurate
2012-06-05 11:18:52 +10:00
Andrew Tridgell 47d5f31fc2 removed copy of pymavlink code
use upstream code instead
2012-06-04 17:51:12 +10:00
Andrew Tridgell 7589de689b mavlink: added auto-detection of mavlink protocol version 2012-06-04 17:51:12 +10:00
Andrew Tridgell 70669434a2 autotest: wait for VFR_HUD to be non-zero on startup 2012-06-04 14:55:40 +10:00
Andrew Tridgell 076d1616ba autotest: default to mavlink10 2012-06-04 13:19:21 +10:00
Andrew Tridgell 6945be0ca8 autotest: default to not using gdb on ArduPlane.elf 2012-05-22 20:02:23 +10:00
Andrew Tridgell 46ee92441e HILTest is not needed any more 2012-05-09 13:47:44 +10:00
Andrew Tridgell 34af851b20 autotest: forced loiter via 2nd method 2012-05-03 15:40:13 +10: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
Andrew Tridgell b73732c361 autotest: removed unused files 2012-04-27 15:15:53 +10:00
Andrew Tridgell 95bd51ab10 autotest: updated pymavlink to latest 2012-04-27 15:15:52 +10:00
Andrew Tridgell 0e54613632 sitl: added sim_arducopter10.sh
useful for testing
2012-04-24 22:24:58 +10:00
Andrew Tridgell 9d4b37ecac sitl: we don't need mavlink in copter sim 2012-04-24 22:24:58 +10:00
Andrew Tridgell 1478191ecf sitl: make it easy to run sitl for MAVLink 1.0 2012-04-20 10:09:21 +10:00
Andrew Tridgell d60126fc1f autotest: fixed overshoot due to low resolution log timing 2012-04-03 10:43:05 +10:00
Andrew Tridgell abd33dd914 autotest: fixed order of startup messages 2012-04-03 09:53:26 +10:00
Andrew Tridgell 3b3f9d8b17 autotest: use the automatic declination code in autotest 2012-03-30 14:25:27 +11:00
Andrew Tridgell c084a72723 pysim: ensure Vector3() uses floats 2012-03-29 12:39:53 +11:00
Andrew Tridgell 0f6e7a1449 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 f1acdb13c2 pysim: added experimental acceleration support 2012-03-23 16:48:52 +11:00
Andrew Tridgell 5f3e2cf98a 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 4407f6b8ca 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 9cba330eed 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 accc5dc02f autotest: run fg viewers with less CPU priority 2012-03-10 10:34:27 +11:00
Andrew Tridgell 5e66d3cecb autotest: added CMAC test circuit
this is what I am using for noise testing
2012-03-10 10:34:27 +11:00
Andrew Tridgell 57971e0ddf autotest: fixed xAccel calculation in fakepos.py 2012-02-25 11:37:20 +11: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