Commit Graph

1092 Commits

Author SHA1 Message Date
Andrew Tridgell 757adacf8a autotest: added $HOME/APM to PYTHONPATH 2013-06-18 17:02:00 +10:00
Andrew Tridgell 21436dc1a6 autotest: fixed import of mavwp 2013-06-18 17:02:00 +10:00
Andrew Tridgell fb783f87bb autotest: fixed handling pf pymavlink paths 2013-06-18 16:24:26 +10:00
Andrew Tridgell caad45aacb autotest: fixed pymavlink tools paths 2013-06-18 13:36:54 +10:00
Andrew Tridgell 1c6baba7d8 autotest: add easier HIL start scripts for rover/plane 2013-06-04 12:19:09 +10:00
Andrew Tridgell e553d89928 autotest: test build of rover HIL 2013-06-04 11:58:29 +10:00
Andrew Tridgell 5c13e56c04 autotest: tweak throttle and pitch control for auto-landing 2013-06-03 12:33:57 +10:00
Randy Mackay 57f7d5d18f AutoTest: reduce circle test time 2013-06-01 21:35:04 +09:00
Randy Mackay da97c991f8 AutoTest: add circle mode test 2013-06-01 18:21:31 +09:00
Randy Mackay 592062870e Autotest: update randy's sim script 2013-06-01 18:21:31 +09:00
Andrew Tridgell dc712aab1f build: removed plane 1280 build from autotest
we probably won't support it for the next release.

See http://diydrones.com/forum/topics/keep-supporting-apm1-1280-in-arduplane
2013-05-31 18:30:11 +10:00
Andrew Tridgell 2cb28076c8 autotest: tweak plane autotest mission and parameters
a bit better with the new controllers
2013-05-31 15:31:59 +10:00
Randy Mackay 9d9e97a2fe AutoTest: use default logging for Copter AVC 2013-05-30 14:54:20 +09:00
Randy Mackay 9d0b993ed4 Autotest: small change to Copter AVC mission
Add slow to 5 m/s speed at last stage of mission
2013-05-30 14:53:31 +09:00
Andrew Tridgell ceaa0c789c autotest: improved preamble in auto param docs 2013-05-30 12:36:05 +10:00
Andrew Tridgell 96df6d6f7c scripts: allow build_parameters.sh to work from either APM directory or above 2013-05-30 12:19:50 +10:00
Andrew Tridgell 7eb40d151c autotest: added TOC link
thanks to Gary for the suggestion!
2013-05-30 12:19:24 +10:00
Andrew Tridgell 896dd648c9 Tools: fixed indent-tabs-mode 2013-05-30 09:56:00 +10:00
Andrew Tridgell d944da39b2 autotest: add sparkfun wicket icons on map 2013-05-29 16:55:23 +10:00
Andrew Tridgell 24a84a4777 autotest: tweak AVC copter mission 2013-05-29 16:24:26 +10:00
Andrew Tridgell a900226ff7 autotest: added CopterAVC test
this will test the copter code for the AVC2013 mission
2013-05-29 15:33:32 +10:00
Andrew Tridgell 6036e7f538 autotest: tweaks to rover autotest for sparkfun 2013-05-29 11:36:48 +10:00
Andrew Tridgell c8316c2627 autotest: start copter pointing south
useful for testing compass errors
2013-05-29 11:36:48 +10:00
Andrew Tridgell 1d9c1628fa autotest: stop updating google code parms, and add separate vehicle parms
We have moved the google code parms to wordpress

this allows GCS developers to pull only the parameters for the vehicle
they are flying if they prefer.
2013-05-28 10:25:21 +10:00
Andrew Tridgell afd2f4bc78 autotest: added advanced param warning and header to auto-docs 2013-05-28 10:11:56 +10:00
Andrew Tridgell e6891ebdab autotest: fixed escaping of html in wiki descriptions 2013-05-27 23:17:47 +10:00
Andrew Tridgell cf10ecad2b scripts: fixed plane auth for wordpress upload 2013-05-27 23:07:38 +10:00
Andrew Tridgell 63b09c8ff9 scripts: added auto upload of parameters to new wordpress wiki 2013-05-27 23:06:18 +10:00
Andrew Tridgell 6288487814 autotest: fixed initial yaw in copter sim 2013-05-27 18:13:09 +10:00
Andrew Tridgell 7456493b34 autotest: make rover sim closer to Toms slash 2013-05-27 13:37:33 +10:00
Andrew Tridgell 761bd75a3a autotest: update rover sim for turning circle based steering
more realistic modelling of a rover
2013-05-27 13:37:33 +10:00
Andrew Tridgell d510f8f722 autotest: added generation of Parameters.html for wordpress
this generates APM docs for wordpress
2013-05-27 08:25:24 +10:00
Andrew Tridgell d7b1c69362 autotest: increase the timelimit for longer copter tests 2013-05-22 21:42:25 +10:00
Andrew Tridgell c6006972a2 autobuild: added FORCE_BUILD for forcing a rebuild 2013-05-22 19:20:35 +10:00
Andrew Tridgell 1e8357ba02 autobuild: create both old and new binary names 2013-05-22 19:14:43 +10:00
Craig@3DR c0089b6a32 Corrected names on firmware.diydrones.com 2013-05-21 21:09:09 -07:00
Andrew Tridgell ac225a1322 autotest: check te parameter doc parsing in autotest 2013-05-21 17:02:13 +10:00
Andrew Tridgell 5818dce3d2 param_metadata: fixed parameter parsing for multi-parameter objects
also adds more error checking
2013-05-21 17:02:13 +10:00
Andrew Tridgell 83a82ec504 scripts: don't push parameters XML on any errors 2013-05-21 17:02:13 +10:00
Randy Mackay 91b08cdcec AutoTest: add fence test for Copter 2013-05-19 16:19:59 +09:00
Randy Mackay 7bbee36e89 AutoTest: add copter stability patch test 2013-05-19 15:32:54 +09:00
Andrew Tridgell 4c9cb461d6 autotest: setup Rover autotest for Sparkfun course
this will make it easier to test around the course
2013-05-17 10:37:11 +10:00
Andrew Tridgell 5296e858b6 build: fixed build_all_px4.sh for new PX4 build 2013-05-10 09:40:29 +10:00
Andrew Tridgell ad9d3360da PX4: fixed px4io build in build_binaries.sh 2013-05-10 06:43:29 +10:00
Andrew Tridgell 2b8ea4db43 build: fixed build_binaries.sh for new PX4 build 2013-05-10 06:16:54 +10:00
Andrew Tridgell 6269b8029c VARTest: fixed build 2013-05-09 09:29:27 +10:00
Andrew Tridgell 7e36935140 autotest: keep images in history 2013-05-06 14:04:39 +10:00
Andrew Tridgell 2a9298f3d5 autotest: display flight tracks on autotest web page 2013-05-06 12:32:42 +10:00
Randy Mackay 7d8822dde1 AutoTest: remove lower loiter PID overrides
SITL issues resolved now so default PIDs ok again
2013-05-04 15:03:36 +09:00
Randy Mackay 9e01dea95b AutoTest: reduce copters terminal vel to 15m/s 2013-05-03 14:52:16 +09:00
Randy Mackay 73ea5aab5c AutoTest: override default Loiter PIDs
Although not a permanent solution this temporarily gets the auto tester
to work again because loiter will stop spiralling
2013-05-03 14:51:54 +09:00
Andrew Tridgell 58d5fab412 autotest: copy .tlog files to history 2013-05-03 14:38:32 +10:00
Randy Mackay ba472b9749 AutoTest: remove unused missions 2013-05-03 11:22:27 +09:00
Randy Mackay f14284e7a0 AutoTest: reorganise copter tests 2013-05-03 11:22:15 +09:00
Randy Mackay 44b0c790f3 AutoTest: turn off compass learning in virtual copter 2013-05-03 11:21:00 +09:00
Randy Mackay 68279a138f AutoTest: reduce power of virtual copter 2013-05-03 11:20:26 +09:00
Andrew Tridgell 168f76e76c autotest: added --map option to autotest.py 2013-05-02 20:07:04 +10:00
Andrew Tridgell 66150a41fe VARTest: fix for AP_Baro_HIL 2013-05-02 15:09:38 +10:00
Andrew Tridgell ec9a7af49d Tools: updates for new compass API 2013-05-02 12:48:14 +10:00
Andrew Tridgell 9904bcd9aa autotest: changed mavlink log names to *.tlog
easier to view in MP
2013-04-28 15:01:31 +10:00
Randy Mackay 4c7ab9a0f9 AutoTest: add valgrind test script for randy 2013-04-27 23:33:44 +09:00
Randy Mackay a57965d15f AutoTest: reduce copter turn rate in fly square 2013-04-26 22:45:45 +09:00
Andrew Tridgell d227d2559d autotest: added APMVERSION to firmware.diydrones.com version 2013-04-24 16:16:21 +10:00
Andrew Tridgell 67de5e5172 autotest: added unpack_mp.sh script
used to generated
http://firmware.diydrones.com/Tools/MissionPlanner/upgrade
2013-04-24 13:56:42 +10:00
Andrew Tridgell cd624f68b9 build: touch directories to get dates right 2013-04-23 11:23:47 +10:00
Andrew Tridgell 1c980981e4 web: added link to new dev website 2013-04-23 10:38:31 +10:00
Andrew Tridgell 215a2a1b03 web: added Tools link to firmware site 2013-04-23 10:24:56 +10:00
Andrew Tridgell 9e92a60cfa autotest: fixed dump of file based logs 2013-04-20 18:24:19 +10:00
Andrew Tridgell 6d6641e1a3 VARTest: fixes for new logging system 2013-04-20 13:52:36 +10:00
Andrew Tridgell 6122dd2bdd autotest: added command line extensions to sim_rover.sh 2013-04-19 10:24:47 +10:00
Andrew Tridgell 8ba982e8de autotest: fix dump_logs for other vehicle types 2013-04-19 10:24:35 +10:00
Randy Mackay f162713ca8 AutoTest: reduce throttle so it doesn't fly so far 2013-04-18 22:30:41 +09:00
Craig@3DR b5b3b4f48b Changed instructions for loading fimrware onto PX4 2013-04-17 11:46:04 -07:00
Andrew Tridgell 07cd2567f3 autotest: added --cli option to dump_logs.py 2013-04-17 21:39:22 +10:00
Andrew Tridgell 3f8fb48479 CPUInfo: test NaN and Infinity printing 2013-04-17 21:39:22 +10:00
Andrew Tridgell 636573f0fd autotest: added some useful test missions for ArduPlane 2013-04-17 11:49:34 +10:00
Andrew Tridgell 00dc9712de scripts: test apm2beta build in autotest 2013-04-16 11:26:01 +10:00
Kevin Hester d3dad7afee autotest: add @User autodocs to the apm.pdef.xml as user=foo 2013-04-16 11:19:15 +10:00
Andrew Tridgell bad15438d5 scripts: added flashlog magnetic fit code
this runs the same mag offset code APM uses, but on a flashlog
2013-04-15 14:07:45 +10:00
Andrew Tridgell 13e6aaf682 autotest: precreate buildlogs directory 2013-04-15 10:52:32 +10:00
Randy Mackay 7d39b76fde autotest: add arducopter sim script for Randy 2013-04-14 11:43:18 +09:00
Andrew Tridgell bdb2f12c3b autotest: removed obsolete navigation parameters for ArduPlane 2013-04-12 13:27:51 +10:00
Andrew Tridgell 960574cccf autotest: fixed sleep_overhead calculation in sim_multicopter.py 2013-04-08 07:07:25 +10:00
Kevin Hester a86ede4270 autotest: APM xml docs should be named xml.pdef.xml
(not arduplane.pdef.xml)

pch: rebased pull request #188
2013-04-07 11:12:11 -07:00
John Wiseman 8eb097a53c Added Vagrantfile to define a standardized Ubuntu 12.04 32-bit
development environment.

Added a script, install-prereqs-ubuntu.sh, that installs all packages
and software required for development on AVR and PX4 platforms.

pch: rebased pullreq 183
2013-04-07 11:05:33 -07:00
Julian Oes 50ccaadbc4 autotest: bumped version number of QUpgrade
rebased (pch) - closes pull request 184
2013-04-07 11:01:56 -07:00
Andrew Tridgell 2b19249e4a autotest: fixed autotest executable path 2013-04-06 18:24:43 +11:00
Andrew Tridgell a8e34eeeb7 autotest: fixed tmp path handling in autotest for dump_logs.py 2013-04-06 17:07:47 +11:00
Andrew Tridgell 5ba4ea88ef autotest: fixed TMPDIR for dump_logs.py 2013-04-06 17:03:13 +11:00
Andrew Tridgell 9882d9c639 autotest: added dump_logs.py 2013-04-06 16:56:31 +11:00
Andrew Tridgell fe6e83f7f2 autotest: added support for vtail testing in runsim
virtual vtail support
2013-04-05 15:22:11 +11:00
Julian Oes 0aff1136ed autotest: added link for QUpgrader to web-firmware/index.html 2013-04-05 11:29:06 +09:00
Andrew Tridgell 039c603a35 autotest: allow testing of elevon planes
this fakes up an elevon plane using the Rascal110
2013-04-05 11:29:25 +11:00
Andrew Tridgell 59a2a95e9a Copter: remove noise and wind from copter sim
this is to help Randy track down a current problem
2013-04-04 21:09:20 +11:00
Andrew Tridgell e61f3dfeca autotest: remote getppid for SITL copter on windows 2013-04-02 13:54:36 +11:00
Andrew Tridgell 5f8c8e87a8 autotest: fixed rover mission completion 2013-03-29 21:19:04 +11:00
Andrew Tridgell 4a02af088b autotest: check for new build tags 2013-03-29 20:00:42 +11:00
Andrew Tridgell 60ae67992d autotest: fixed mavlink update path 2013-03-29 19:21:48 +11:00
Andrew Tridgell de02f98d28 autotest: added license and safety statement 2013-03-28 14:04:59 +11:00
Andrew Tridgell f6ddc4e4a1 autotest: added GPS vertical speed to the sitl simulator 2013-03-28 10:28:08 +11:00
Andrew Tridgell 92ddd4b5d1 autotest: removed 2nd getppid() call 2013-03-26 08:23:00 +11:00
Andrew Tridgell 8b21cac5fd autotest: remove dependency on getppid()
makes pysim more windows friendly
2013-03-26 08:20:40 +11:00
Andrew Tridgell 57c498b570 autotest: remove dependency on pexpect for rover/copter sim
this makes it easier to run on windows
2013-03-26 08:12:57 +11:00
Andrew Tridgell 94463fd91e autotest: copy latest firmware html on each run 2013-03-23 16:19:23 +11:00
Andrew Tridgell 526418dd90 autotest: html tidy-up 2013-03-23 16:19:02 +11:00
Andrew Tridgell 3ed71eee05 autotest: initial web page for firmware builds 2013-03-23 16:11:15 +11:00
Andrew Tridgell 01b2ecbc55 autotest: copy the build_binaries.sh script before running
this prevents altering the script while running
2013-03-23 14:54:53 +11:00
Andrew Tridgell 8ec5ba9cec build: autobuild stable and beta binaries
this populates http://firmware.diydrones.com with latest, stable and
beta binaries
2013-03-23 14:30:44 +11:00
Andrew Tridgell 4fd3adbcb9 Rover: run rover sim reniced 2013-03-22 11:22:15 +11:00
Andrew Tridgell e0c8a9c443 autotest: fixed build_parameters.sh script 2013-03-22 09:42:10 +11:00
Andrew Tridgell 54cb722f9a autotest: fixed frame sizes logging 2013-03-18 17:47:51 +11:00
Andrew Tridgell ac10e7ea26 Tools: build all the PX4 copter frame types 2013-03-18 15:23:09 +11:00
Andrew Tridgell 3deaf0beee Tools: added the top level scripts for autotest 2013-03-18 15:16:08 +11:00
Andrew Tridgell 1d836db862 build: added all 7 copter frame types to binary build 2013-03-18 14:44:41 +11:00
Andrew Tridgell 232bdca4e2 autotest: improved skid steering test scripts 2013-03-15 11:05:03 +11:00
Andrew Tridgell 8d8e30156f autotest: added skid steering version of rover sim start script 2013-03-15 09:52:57 +11:00
Andrew Tridgell 6ea2130342 autotest: added skid steering support to rover simulator
Very rough initial implementation. Needs to be tweaked for more
realistic behaviour later.

thanks to Greg Brill for pointers on this.
2013-03-15 09:52:32 +11:00
Andrew Tridgell cf62619108 build: record git version in firmware build 2013-03-14 12:58:33 +11:00
Andrew Tridgell d9be58fd2c autotest: add 10 mins to timeout
this copes with build_binaries.sh
2013-03-13 08:23:41 +11:00
Andrew Tridgell 8b87d3643b autotest: fixed mavlink paths 2013-03-12 13:15:41 +11:00
Andrew Tridgell 5762a13223 build: add 1280 build for rover and plane 2013-03-12 12:45:21 +11:00
Andrew Tridgell 5db1dbd8d1 autotest: fixed python path for mavtemplate 2013-03-12 11:49:43 +11:00
Andrew Tridgell cb414fb652 Build: fixed location of latest/ directory 2013-03-10 22:00:03 +11:00
Kevin Hester 9885cc7ed1 Docs: Add XML emit to param_parse.py. See below for more details...
I've refactored the param_parse tool to use various 'emitters'.  An emitter
can take parameter info and output it in a particular format.  Currently the
only supported emitters are the wiki and XML formats.

The goal of these changes is to create a standard machine readable description
of parameters - mainly for use by ground control stations, but it will also
enable spiffy scripting environments where code can refer symbolically to
vehicle parameters (reflectionish).

Open issue: Is there any sort of Ardupilot build id which can be included in
the generated XML?  That would ensure that we select the correct paramdefs
for the load on the target (possibly by asking the target for a SHA or
somesuch).  If that issue is resolved, then the filename for the XML
file should probably be something like:
arduplane-ca5742ac.pdef.xml.

It is worth noting that I've proposed a suffix of ".pdef.xml" for these file
types.  This facilitates automated file handling on Android devices.  On
Android you can register 'handlers' for particular file extensions and if
the user tries to open that extension in email or a web browser your app
will be given a chance to do something about it.  The 'outer' xml extension
will allow naive editors to know that at least this is an xml file.

I will include a sample of the XML format with the pull-request for this CL.
2013-03-10 17:47:42 +11:00
Andrew Tridgell fcfed2e81d autotest: build all binaries for master on each commit 2013-03-10 17:16:56 +11:00
Julian Oes 54fffd1348 ArduPPM: version 2.3.16 for release 2013-03-02 10:00:00 +09:00
Julian Oes 875103fc59 ArduPPM: Versioning cleanup, 2.3.16 should be the next official release 2013-03-02 09:59:56 +09:00
John Arne Birkeland bcd142ec0b PPMEncoder - bug fix from previous commit 2013-03-02 09:59:14 +09:00
John Arne 4f9b787e04 Update Tools/ArduPPM/Libraries/PPM_Encoder.h
- Small optimization
2013-03-02 09:53:31 +09:00
Julian Oes a0b0df0252 ArduPPM: Set Ch1-4 to their fail-safe position and leave Ch5-8 at their last value 2013-03-02 09:53:25 +09:00
Julian Oes 8b7c75a700 ArduPPM: Changed the behaviour of the PPM encoder: if a channel is lost retain its last value instead of a fail-safe value (except for Ch3/throttle) 2013-03-02 09:53:21 +09:00
Andrew Tridgell 74439b4f17 Tools: removed unused/unmaintained ArduTracker
this has not compiled for a long time.
2013-03-01 07:18:25 +11:00
Andrew Tridgell 891f35835e Tools: added build_all_px4.sh
this brings px4 into autotest
2013-02-12 08:35:39 +11:00
Andrew Tridgell 693627d76a autotest: allow sim_arducopter.sh to take mavproxy parameters 2013-02-11 11:40:52 +11:00
Andrew Tridgell 3b8b04920a autotest: fixed rover parameters for new config 2013-02-10 07:44:42 +11:00
Andrew Tridgell 9c65e98dc2 autotest: expand the comment a bit more 2013-02-06 17:17:37 +11:00
Andrew Tridgell deb825b575 autotest: added some hints to sim_arduplane.sh 2013-02-06 17:00:24 +11:00
Michael Oborne 0fd9337067 Mission planner moved notice 2013-02-05 18:24:05 +08:00
Andrew Tridgell 843692ee5d autotest: more tweaks to Rascal parameters 2013-01-16 15:16:26 +11:00
James Bielman 5631f865b2 Update floating point calculations to use floats instead of doubles.
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
2013-01-16 13:52:01 +11:00
Andrew Tridgell a11705915c autotest: tweaks to Rascal tuning 2013-01-15 21:35:53 +11:00
Pat Hickey 36cb7bad26 Merge pull request #14 from julianoes/ppm_encoder_small_fix
ArduPPM: Sorry forgot to push version number of PPM Encoder for ATMEGA328p
2013-01-14 11:11:44 -08:00
Julian Oes 01a990a3fb ArduPPM: Sorry forgot to push version number of PPM Encoder for ATMEGA328p 2013-01-14 10:11:29 -08:00
Andrew Tridgell 5ba7084a21 autotest: useful HIL start script 2013-01-14 20:43:42 +11:00
Andrew Tridgell 56591e920d autotest: lower GPS delay for ArduCopter to 400ms 2013-01-14 18:04:31 +11:00
Andrew Tridgell da90dfa454 autotest: cope with existing auto mode via mode change 2013-01-14 18:03:51 +11:00
Andrew Tridgell a8b9e5cf5b autotest: disable wind drag
this is causing some crazy results in stabilize mode. Disable it until
we sort it out
2013-01-14 18:03:51 +11:00
Randy Mackay 70736362c6 AutoTest: update parameter names that have changed in 2.9
THR_FAILSAFE was combined with FS_THR_ENABLE
APPROACH_ALT was renamed to RTL_ALT_FINAL
2013-01-14 15:21:12 +09:00
Julian Oes 9d0f117c5d ArduPPM: Another small fix found by John Arne 2013-01-13 20:30:35 -08:00
Julian Oes ca5689c8b7 ArduPPM: small bugfix, small speed-up proposed by John Arne 2013-01-13 19:53:18 -08:00