Commit Graph

236 Commits

Author SHA1 Message Date
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
Jason Short 9169fe2bfe AP TEST fixes for new throttle control 2012-02-19 12:38:57 -08:00
Andrew Tridgell 982e6f22c3 autotest: lower throttle level for lowering altitude in loiter
we were not dropping altitude in the change_alt test
2012-02-19 23:21:09 +11:00
Andrew Tridgell 1e9f53cc44 autotest: fixed failsafe test
increased timeout, added check for home location, and fixed failure
testing on timeout
2012-02-19 22:52:09 +11:00
Andrew Tridgell 470ced9aad autotest: added build_all.sh to autotest 2012-02-19 17:05:28 +11:00
Andrew Tridgell 455f1a8093 autotest: removed the pitch trim from the Rascal
This interferes with the calculation of the centripetal acceleration
calculation in the DCM code. We need a new way of handling pitch trim
2012-02-18 19:27:15 +11:00
Andrew Tridgell 5652ccd3c6 autotest: fixed the calculation of the acceleration due to gravity
this fixes the attitude calculation for the multicopter simulation
2012-02-18 19:27:15 +11:00
Andrew Tridgell a4663c4b20 autotest: increase the rudder gain
this gives a bit better landing approach and turns in auto
2012-02-15 08:50:45 +11:00
Andrew Tridgell b166fbff5a autotest: use more rudder for steering
this helps the landing a lot
2012-02-14 15:16:35 +11:00
Andrew Tridgell 6b33e48514 autotest: raise the target airspeed on landing
we were stalling the plane in the final meters of the approach
2012-02-14 12:30:46 +11:00
Andrew Tridgell 27fd4ca213 autotest: adjusted APM parameters
enable compass and tweak tuning
2012-02-14 11:26:42 +11:00