Commit Graph

374 Commits

Author SHA1 Message Date
Andrew Tridgell ad6c90c3b9 autotest: added wind support to ArduPlane simulation 2011-12-13 15:28:03 +11:00
Andrew Tridgell 35e45fefc9 autotest: show groundspeed in flightgear display
useful with wind
2011-12-13 15:27:32 +11:00
Andrew Tridgell 2c7e74b7a1 autotest: example startup scripts for simulators 2011-12-13 13:50:06 +11:00
Andrew Tridgell 77c791fb79 autotest: improved runsim defaults 2011-12-13 13:45:18 +11:00
Andrew Tridgell 6520c7be1b autotest: changed default sim_quad rate to 400Hz (matches autotest
script)
2011-12-13 13:44:53 +11:00
Jason Short c58e9e9135 more control over loiter time and alt change 2011-12-12 17:47:46 -08:00
Andrew Tridgell 2c0e4c1c02 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 da43b85422 autotest: added a test script for wind generation
this makes it easier to experiment
2011-12-13 10:36:52 +11:00
Andrew Tridgell 37641d2576 autotest: added a 2m/s wind from east to quadcopter test 2011-12-13 10:36:52 +11:00
Andrew Tridgell 228d1620d2 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 a58e81469f autotest: added a wind generation class 2011-12-13 10:36:52 +11:00
Michael Oborne 8afe383737 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-12-12 20:22:58 +08:00
Michael Oborne e8782f72c0 APM Planner 1.1.3
add kml overlay to flight data screen
remember last window location
websockets functioning.
add sonar types/optical flow hardware options
2011-12-12 20:22:13 +08:00
Andrew Tridgell bb6e582ce7 autotest: fixed motor order display 2011-12-12 23:14:29 +11:00
Andrew Tridgell a3403aeb6c autotest: added logging of what failed 2011-12-12 23:08:20 +11:00
Andrew Tridgell de1a5ab9ce 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 7301a8bddd pysim: added rotational resistance 2011-12-12 22:08:10 +11:00
Andrew Tridgell ef8ed6aab2 autotest: calibrate accelerometers at startup 2011-12-12 22:07:53 +11:00
Andrew Tridgell 420bb9cc75 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 12a271d4b2 autotest: nicer display in FG quadcopter view 2011-12-12 21:01:32 +11:00
Andrew Tridgell 176c12657d added more build types to build_all.sh 2011-12-12 15:14:55 +11:00
Jason Short 9e6cf529b9 Cleaned up mission 3 2011-12-10 20:43:39 -08:00
Jason Short f4a57557a8 Simple square test 2011-12-10 10:19:20 -08:00
Michael Oborne 55af9dbe61 firmware build 2011-12-10 08:55:42 +08:00
Doug Weibel 2ef4c79a7c Minimum ground speed patch from Claudio Natoli. Thanks Claudio!
This patch will boost the target airspeed as necessary to keep the ground speed above a parameter value - param_min_groundspeed.  Airspeed is still limited to FBW-max.  Setting min_groundspeed to zero (default) disables the feature.
2011-12-09 16:43:25 -07:00
Michael Oborne 005a8afa07 add missing file for jsbsim 2011-12-10 05:51:09 +08:00
Andrew Tridgell 5130a37a9e 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 582154afb3 autotest: fixed rudder reversal for Rascal, and RC3 trim 2011-12-09 15:05:27 +11:00
Andrew Tridgell e0d7e7cf0b autotest: nicer display of key data in Rascal 2011-12-09 15:05:27 +11:00
Michael Oborne b51782d42c APM Planner 1.1.2
fix kml overlay
add jsbsim as simulator
generate gpx on log kml create
make georefrenceimage accessable (control-f)
2011-12-09 11:27:19 +08:00
Olivier ADLER 635047eece ArduPPM : Added "Binaries" folder with latest compiled versions.
Include 400 mA USB power request modification.
2011-12-06 22:35:45 +01:00
Michael Oborne ac02ce545c APM Planner 1.1.1
fix apm 1.4 vs apm 2
Firmware screen control-C = custom hex upload
2011-12-06 20:59:52 +08:00
Olivier ADLER 65b26d1453 ArduPPM for Mega 32U2 : upped requested USB power to 400 mA inside Arduino USB code. 2011-12-05 21:56:42 +01:00
Andrew Tridgell 39d0d7ed49 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
Michael Oborne 2268646815 APM Planner 1.1.0
firmware setup for apm 2.0
add kml overlay in planner
fix reset to defaults timeout/ firmware upload
2011-12-05 06:43:29 +08:00
Michael Oborne 56316e7733 firmware build 2011-12-05 01:50:33 +08:00
Michael Oborne 91d7f6c5d6 quick srtm planner fix 2011-12-04 20:40:01 +08:00
Michael Oborne 346a572440 APM Planner - update dataflash ac2 log format 2011-12-03 18:37:48 +08:00
Michael Oborne dfc7ae59ee firmware build 2011-12-03 12:31:52 +08:00
Michael Oborne 1ab20928e7 firmware build 2011-12-03 10:38:25 +08:00
Andrew Tridgell 0a7f2bcc44 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 dedbfc8cca 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 5be56a824d 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 e12fabebe9 autotest: updated fakepos.py for new packet format 2011-12-02 23:43:03 +11:00
Andrew Tridgell f96a48e42b autotest: support all 11 PWM output channels
this will allow for more complex aircraft
2011-12-02 22:45:48 +11:00
Andrew Tridgell 66d65121cc 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 fb3d4eab90 autotest: fixed sim_quad viewerip handling 2011-12-02 17:37:55 +11:00
Andrew Tridgell 1878db2013 autotest: don't die if FG isn't running 2011-12-02 17:37:55 +11:00
Andrew Tridgell cf7073128d autotest: adapt test suite to new simulation framework 2011-12-02 17:37:55 +11:00
Andrew Tridgell e6608b604b autotest: added a copy of pymavlink 2011-12-02 17:37:55 +11:00
Andrew Tridgell 05c6734ca2 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 abbf02b674 autotest: useful script for testing gyro and accel calculations 2011-12-02 17:37:55 +11:00
Andrew Tridgell 76bb6b9aa8 autotest: added scripts to start flightgear as a viewer 2011-12-02 17:37:54 +11:00
Andrew Tridgell 65699a2f2f autotest: combined python utility code 2011-12-02 17:37:54 +11:00
Andrew Tridgell 0887804096 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 544d2e6793 autotest: added Rascal and arducopter models 2011-12-02 17:37:54 +11:00
Michael Oborne 2ee493551d APM Planner 1.0.99
trial Scripting - rc based
fix zoom to cancel
add srtm alt and auto download
2011-11-29 21:49:11 +08:00
Jason Short 79945d02b7 made missions work with index of 1 2011-11-28 10:33:05 -08:00
Andrew Tridgell f59f9668e9 autotest: use kmz file not kml
saves bandwidth
2011-11-28 16:53:20 +11:00
Andrew Tridgell 12025c8b54 autotest: added idle hooks for ArduPlane testing too 2011-11-28 16:22:33 +11:00
Andrew Tridgell 2e7a48ad9c autotest: show log numbers while dumping 2011-11-28 16:22:33 +11:00
Andrew Tridgell f30bca01c9 autotest: use idle_hooks to prevent lockup 2011-11-28 13:53:57 +11:00
Michael Oborne 44f62c7776 APM Planner 1.0.98
fix wp rearange
fix right click jump/loiter option
fix problem when speech enabled on connect
2011-11-26 20:49:13 +08:00
Michael Oborne 639746649a firmware build 2011-11-26 20:32:15 +08:00
Andrew Tridgell 5784acd55f autotest: fixed log dump
log numbers are no longer sequential
2011-11-26 19:16:56 +11:00
Andrew Tridgell 8ab0dbdba7 autotest: fixed remote viewing of ArduCopter autotest 2011-11-26 18:35:25 +11:00
Andrew Tridgell ee04c0ef50 autotest: cope with exceptions in tests leaving child processes 2011-11-26 18:12:42 +11:00
Andrew Tridgell c64a5f354e autotest: enable new SITL emulation code
this enables the register level SITL code
2011-11-25 20:00:19 -08:00
Andrew Tridgell 5fd04e0c23 autotest: mark stdout unbuffered
this makes the logs easier to read
2011-11-25 20:00:19 -08:00
Andrew Tridgell 4877892d6e autotest: enable the compass for ArduCopter
needed for new SITL code
2011-11-25 20:00:19 -08:00
Andrew Tridgell f66a98b969 scripts: added build_all.sh
this is useful when testing merge work
2011-11-25 20:00:19 -08:00
Olivier ADLER 83657698d7 /Tools : Deleted PPMEncoder folder inside /Tools folder to avoid confusion with official ArduPPM firmware.
Old PPM code is in the Archive folder.
2011-11-25 11:21:19 +01:00
Olivier ADLER 32e67d5a74 ArduPPM 0.9.87 minor manual correction 2011-11-25 01:16:49 +01:00
Michael Oborne 7adee96dbb Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-25 08:08:14 +08:00
Michael Oborne cabd960bad APM Planner 1.0.97
add custom WMS map source
fix alt save issue for feet
update SIL images
2011-11-25 08:07:14 +08:00
Olivier ADLER fcdd12e5a3 ArduPPM 0.9.87 manual update
Corrected failsafe values
Minor modifications
2011-11-24 21:48:50 +01:00
Olivier ADLER 091f031d58 * ArduPPM 0.9.87 update :
#define to allow Radio Passthrough mode was not working. Corrected.
Removed older hex file
2011-11-23 23:36:23 +01:00
Michael Oborne 96bd7ba480 APM Planner 1.0.96
small tweaks
Move to .net 4.0 (make sure you have .net 4 installed) - for ironpython
2011-11-22 08:32:11 +08:00
Hazy a5f2cb5ec0 APMPlanner
a few Chinese translations
2011-11-21 20:20:59 +08:00
Olivier ADLER db8efd3287 ArduPPM 0.9.86 update :
#define to allow Radio Passthrough mode disabling on APM v1.4 (hardware failsafe for Arduplane)
This is to allow for safe use of CH8 with Arducopter.
2011-11-21 02:22:36 +01:00
Michael Oborne eb2f8180ab firmware build 2011-11-21 05:02:13 +08:00
Michael Oborne 076b93967d firmware build 2011-11-21 04:53:20 +08:00
Michael Oborne 307971f82b firmware build 2011-11-21 03:03:42 +08:00
Hazy bf6a675a82 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-20 20:17:47 +08:00
Hazy 02591d8d38 APM Planner - fix "Invalid Board Type" bug for board using mega32u2 2011-11-20 20:16:47 +08:00
Jason Short a47f28cfdb tweak to loiter turns command 2011-11-20 00:22:53 -08:00
Andrew Tridgell aab512636e ArduPPM: let the 2560 know when the USB is connected
this sets pin 23 on the 2560 according to whether the USB cable is
connected or not
2011-11-20 19:06:24 +11:00
Andrew Tridgell 5aa962c880 ArduPPM: fixed paths for includes
this allows it to build on linux/macos
2011-11-20 19:06:24 +11:00
Jason Short 14f0f7b6f3 lengthened log timeout 2011-11-19 17:31:36 -08:00
Jason Short 269c6d26c9 Added KML link 2011-11-19 16:59:54 -08:00
Michael Oborne 56df75fbb1 APM Planner 1.0.95
fix ac2 heli error
fix guide mode wp
fix tuning graph on mono
fix autozoom on planner map
modify prefetch - current screen
fix zoom bar for mono
fix base class for special functions
2011-11-20 08:17:17 +08:00
Michael Oborne 202c0663cd firmware build 2011-11-20 07:46:05 +08:00
Jason Short 9e04d4c45b longer timeout 2011-11-19 14:59:48 -08:00
Jason Short 2d5ee0f7e2 Switched to Mission 2 2011-11-19 14:03:26 -08:00
Jason Short f345c4c987 Checking for climb rate 2011-11-19 14:03:08 -08:00
Michael Oborne 178b8c0d19 fix ap hil 2011-11-19 07:47:33 +08:00
Michael Oborne 1394a93ef3 APM Planner 1.0.94
scripting/command restructure - testing
heli interface update
firmware size checker
Non meter wp file fix
2011-11-18 22:33:44 +08:00
Andrew Tridgell f737d22026 autotest: added a loop to ArduPlane test 2011-11-18 17:50:12 +11:00
Andrew Tridgell fdaa760aec autotest: use FG_SCENERY for fgear scenery path 2011-11-18 17:50:12 +11:00
Andrew Tridgell dd8593273f autotest: make log messages on failure clearer 2011-11-18 17:50:12 +11:00
Andrew Tridgell 00374bea0a autotest: fixed killing of Xvfb
this should make fly.ArduPlane more reliable
2011-11-18 17:50:12 +11:00
Jason Short 4cf718854e Complex mission script 2011-11-16 21:29:10 -08:00
Jason Short 839774fbf3 Added more time for timeouts 2011-11-16 00:22:22 -08:00
Michael Oborne ecf601229f firmware build 2011-11-16 13:07:06 +08:00
Michael Oborne 2d3f97667f APM Planner 1.0.93
fix new wp format for . vs ,
2011-11-16 07:50:37 +08:00
Michael Oborne c235cbfc27 APM Planner 1.0.92
update wp file format - QGC 110
fix old wp file format abs/rel issue
2011-11-15 21:50:12 +08:00
Jason Short 0f33ad74dc 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 31cb62620f Mission test update 2011-11-13 22:56:33 -08:00
Michael Oborne 2672cac850 firmware build 2011-11-14 13:36:43 +08:00
Michael Oborne bdadc72736 firmware build 2011-11-14 13:33:45 +08:00
Michael Oborne 803f4206ae firmware build 2011-11-14 13:32:15 +08:00
Jason Short d226b875c8 set first WP in wait_waypoint to 0 2011-11-13 13:42:49 -08:00
Jason Short a1da5fb9e5 set proper code for Home WP 2011-11-13 13:41:23 -08:00
Andrew Tridgell d4aa61e97e autotest: re-adding KMZ track 2011-11-14 06:38:49 +11:00
Andrew Tridgell 3057ef9fb7 autotest: fixed incorrect altitude wait 2011-11-13 23:59:20 +11:00
Andrew Tridgell be886ef9bc autotest: fixed waypoint wait code
this allows fly.ArduCopter to pass again
2011-11-13 23:50:29 +11:00
Andrew Tridgell e6860ca90c autotest: fixed flight modes to match test code 2011-11-13 23:50:29 +11:00
Andrew Tridgell 5ce99fd9cc autotest: added --experimental option
this currently enables fly.ArduPlane
2011-11-13 23:50:29 +11:00
Andrew Tridgell 395ad44dd9 fixed wait_mode() 2011-11-13 23:50:29 +11:00
Andrew Tridgell 91f0722e22 fixed motor arming 2011-11-13 23:50:28 +11:00
Andrew Tridgell 47fe0f9c75 autotest: re-add --viewerip option 2011-11-13 23:50:28 +11:00
Andrew Tridgell 147dc2529f autotest: added initial implementation of flying of ArduPlane
takeoff, circuit, roll, RTL, mission
2011-11-13 23:50:28 +11:00
Andrew Tridgell 0f00b4c722 autotest: added wait_mode() helper 2011-11-13 23:50:28 +11:00
Andrew Tridgell 1e22945981 autotest: split out some common functions ready for ArduPlane support 2011-11-13 23:50:28 +11:00
Jason Short 04491d66db Fixed scaling issue with Circle mode 2011-11-13 00:24:25 -08:00
Jason Short 7dd737ad90 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 77336a2be4 Added notes 2011-11-12 15:13:25 -08:00
Jason Short 75e1582db4 Added output to localhost for QGC 2011-11-12 15:12:57 -08:00
Jason Short 5090f2710b Added extrude to KML out 2011-11-12 15:11:25 -08:00
Michael Oborne c82d45c205 APM Planner 1.0.91
Heli swash override
fix HIL
2011-11-12 21:17:26 +08:00
Andrew Tridgell a87a3af1ec create a kmz file
thanks to Michael for the tip
2011-11-11 20:05:55 +11:00
Andrew Tridgell dafbdd1f2b 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 5e115277d6 autotest: longer timeout writing logs
the flash logs are getting pretty big now
2011-11-10 22:58:02 +11:00
Andrew Tridgell 2436bff853 autotest: ensure we have a VFR_HUD msgs before getting location 2011-11-10 22:34:54 +11:00
Andrew Tridgell 7229b77fcf autotest: link to defaults for both builds 2011-11-10 14:39:28 +11:00
Andrew Tridgell 7299935104 autotest: added some colour to passed/failed msgs 2011-11-10 14:37:52 +11:00
Andrew Tridgell e7294ee493 autotest: improve error checking 2011-11-10 13:12:43 +11:00
Andrew Tridgell 6263bb8936 autotest: fixed target altitude for RTL mission 2011-11-10 13:00:35 +11:00
Andrew Tridgell d2a8107b47 autotest: run the sim at 200Hz 2011-11-10 12:47:37 +11:00
Jason Short b25ad4e61f new Test mission 2011-11-09 16:33:24 -08:00
Jason Short e9907fbd67 Updated Mission TTT 2011-11-09 12:50:36 -08:00
Max Levine 48e411a5d5 autotest: improved web page layout
now uses a css style sheet
2011-11-10 07:24:50 +11:00
Andrew Tridgell 17ad58fe32 autotest: copy png files over 2011-11-10 00:31:50 +11:00
Andrew Tridgell bef89a8ab5 autotest: allow for multiple html files 2011-11-10 00:23:46 +11:00
Andrew Tridgell 97e3f113b7 autotest: show history link 2011-11-10 00:19:36 +11:00
Andrew Tridgell 223232ac50 autotest: show frame and code sizes 2011-11-10 00:17:31 +11:00
Andrew Tridgell e3fa7fd93d autotest: fixed html path 2011-11-10 00:14:14 +11:00
Andrew Tridgell 4ed5eb477a autotest: use a lock file
this ensures we don't run two copies of the tests at once
2011-11-09 23:53:09 +11:00
Andrew Tridgell bc08189613 autotest: fixed module name 2011-11-09 23:45:12 +11:00
Andrew Tridgell 13d74472c5 autotest: show git hash in html 2011-11-09 23:43:25 +11:00