Andrew Tridgell
f6160cf78f
autotest: added AVC_plane location
...
point along takeoff path
2014-06-03 16:13:49 +10:00
Randy Mackay
796aaac475
AutoTest: add AVC_copter to location
...
The existing AVC location is for Rovers. Planes and copters take-off
from a position slighly further north.
2014-05-27 11:32:59 +09:00
Andrew Tridgell
9882763873
autotest: set full logging for plane
2014-05-23 07:30:58 +10:00
Andrew Tridgell
5c82711578
autotest: update fg_plane_view.sh for FlightGear 3.0
2014-05-23 07:30:58 +10:00
Randy Mackay
5e21111076
AutoTest: add -j option to sim_vehicle
...
new option controls the number of processors used during compile
2014-05-21 21:14:28 +09:00
Andrew Tridgell
cc1b75ad29
autotest: restore timeout in log download
...
this removes the debug code now that the issue has been found (it was
an old version of pymavlink causing the problem)
2014-05-09 09:50:22 +10:00
Andrew Tridgell
73dc32108f
autotest: try to debug log download timeouts
2014-05-08 17:38:49 +10:00
Andrew Tridgell
b6774b8bc7
autotest: raise the time for log download
2014-05-08 15:15:55 +10:00
Randy Mackay
cad1441739
AutoTest: print failed copter test
...
Name of the failed tests appears at the moment it fails and then again
after all tests have been run. This hopefully makes it slightly easier
to know which test has failed
2014-04-30 21:46:15 +09:00
Michael Day
04292d7e5e
autotest: Added McMillan airstrip at Camp Roberts to locations.txt
2014-04-18 07:43:03 +10:00
Kevin Hester
2e79032f83
AutoTest: fixup line endings
2014-04-15 15:55:45 +09:00
Andrew Tridgell
4c5e59c098
autotest: added OBC frame type
2014-04-11 16:47:40 +10:00
Andrew Tridgell
b3d84cec81
autotest: added AVC location
2014-04-11 12:50:06 +10:00
Andrew Tridgell
f13e6079bc
autotest: added locations.txt
...
startup locations for SITL
2014-04-11 12:48:03 +10:00
Andrew Tridgell
42b9ba531e
autotest: replace sim_*.sh with sim_vehicle.sh
...
much nicer interface for developers
2014-04-11 12:29:28 +10:00
Randy Mackay
028b7d1cce
AutoTest: fix AVC copter test
...
Also incorporate file name changes
2014-04-08 11:00:47 +09:00
Randy Mackay
5c7cbc6e7f
AutoTest: rename AVC2013 to copter_AVC2013_mission
2014-04-08 10:57:30 +09:00
Randy Mackay
3d1f7acc8b
AutoTest: rename CopterAVC to copter_AVC2013_params
2014-04-08 10:57:17 +09:00
Randy Mackay
8009f25705
AutoTest: rename ArduCopter to copter_params
2014-04-08 10:56:55 +09:00
Randy Mackay
61a084ef88
AutoTest: rename copter_spline to copter_spline_mission
2014-04-08 10:56:32 +09:00
Randy Mackay
29d4e60c8d
AutoTest: shorten copter mission
...
Replace 35 seconds delay with 5 second delay
2014-04-07 22:26:02 +09:00
Randy Mackay
f54d8b02eb
AutoTest: fix to copter missions
...
Missions were not completing successfully because they were waiting for
the current waypoint number to be 1 higher than was possible
2014-04-07 22:25:38 +09:00
Randy Mackay
92d212abf1
AutoTest: make sim_arducopter_randy.sh executable
2014-04-07 13:37:07 +09:00
Randy Mackay
4f68b8ea7f
AutoTest: update copter_spline mission
2014-03-28 09:23:38 +09:00
Randy Mackay
2ce827d2ae
AutoTest: add copters spline test
2014-03-28 09:23:05 +09:00
Randy Mackay
30194b9e72
AutoTest: update AVC copter mission
...
According to the mavlink documentation, the do-change-speed command
should specify the target velocity in param2
2014-03-19 12:12:57 +09:00
Andrew Tridgell
2266bd314b
autotest: kill off old tasks on exit
2014-03-13 07:30:53 +11:00
Andrew Tridgell
acdb2e2175
autotest: raise turn rate of antennas
2014-03-13 07:30:41 +11:00
Andrew Tridgell
4f44351d4e
autotest: added -T option to sim_arduplane.sh
...
starts an antenna tracker
2014-03-12 14:35:39 +11:00
Andrew Tridgell
83269bbea7
autotest: initial version of a antenna tracker simulator
2014-03-12 14:35:01 +11:00
Andrew Tridgell
40b13cf8df
autotest: fixed multi-instance support
2014-03-12 06:28:24 +11:00
Andrew Tridgell
a26bcddb9b
autotest: fixed valgrind options to sim_arduplane.sh
2014-03-11 09:37:02 +11:00
Andrew Tridgell
8d99de5eb5
autotest: use xterm by default and only use make clean if needed
2014-03-03 07:06:45 +11:00
Mike McCauley
3a714d5c45
autotest: sim_arduplane.sh works with a range of terminal types
2014-03-03 06:37:20 +11:00
Mike McCauley
7eb7f8b3ab
Tools/AntennaTracker: remove redundant comment
2014-03-03 06:36:46 +11:00
Andrew Tridgell
c1f9be75fe
autotest: fly the cruise rudder circuit a bit faster
2014-02-24 12:08:33 +11:00
Andrew Tridgell
70cf04aaf4
Plane: tweak autotest gains for plane
2014-02-19 15:07:27 +11:00
Andrew Tridgell
213a68cedd
autotest: enable EKF for copter AVC test
2014-02-19 11:42:11 +11:00
Andrew Tridgell
88afd40524
autotest: increase timeout for log download
2014-02-18 21:06:53 +11:00
Mike McCauley
fb73036327
AntennaTracker: sim_antennatracker.sh does make clean sitl
2014-02-18 19:09:21 +11:00
Mike McCauley
8f71af605b
AntennaTracker: update to build with latest libraries
...
AntennaTracker has not been maintained as other parts of the system and
libraries have been modernised. This patch at least gets it to the stage where
it compiles and runs in SITL. Also added Tools/autotest/sim_antennatracker.sh
to run in SITL
2014-02-18 19:09:21 +11:00
Andrew Tridgell
9a869fb7e5
autotest: enable EKF in autotest for plane
...
try to get it more testing
2014-02-18 16:18:50 +11:00
Andrew Tridgell
ccc449db19
autotest: removed the set of SYSID_THISMAV
...
this led to a race condition where some parameters were not loaded as
they were being sent with the wrong system ID
2014-02-18 15:51:25 +11:00
Andrew Tridgell
29c818ec6f
autotest: re-fetch parms after loading
...
trying to debug an autotest issue
2014-02-17 13:58:11 +11:00
Andrew Tridgell
0d6e8e9c0d
autotest: fixed timeout waiting for LOITER
2014-02-17 13:58:11 +11:00
Andrew Tridgell
c39ad1cafb
autotest: better skid steering support in the rover simulator
2014-02-17 10:11:40 +11:00
Randy Mackay
46f4368522
AutoTest: adjust copter CIRCLE_RADIUS to 3000
2014-02-15 06:09:08 +11:00
Andrew Tridgell
87d43d766d
autotest: kill off lt-JSBSim too
...
on some systems it gets this name
2014-02-15 05:27:51 +11:00
Andrew Tridgell
9c2df97954
autotest: a useful CMAC test pattern from Paul
2014-02-15 05:27:51 +11:00
Andrew Tridgell
b666680d79
autotest: erase logs after downloading
2013-12-29 07:13:57 +11:00
Andrew Tridgell
6121b9c58e
autotest: switched to binary log download over MAVLink
2013-12-28 21:47:12 +11:00
Andrew Tridgell
66c97d7c91
autotest: removed px4io loading instructions
2013-12-28 10:19:40 +11:00
Andrew Tridgell
222ad82b5f
web: fixed icon
2013-12-07 20:32:53 +11:00
Andrew Tridgell
9546a96443
web: added icon for SiK firmware
2013-12-07 20:22:56 +11:00
Andrew Tridgell
d39598de6a
autotest: use mavflightview.py from $PATH
2013-11-22 22:04:18 +11:00
Andrew Tridgell
e1b01b205a
autotest: fixed clean build
2013-11-04 21:21:43 +11:00
Randy Mackay
9951c50e48
AutoTest: remove unnecessary wait from SaveWP test
2013-11-02 21:35:05 +09:00
Randy Mackay
67c9178cc5
AutoTest: wait 1sec when saving wp
2013-11-02 21:35:00 +09:00
Randy Mackay
4cf06aaae5
AutoTest: copter ch7 option to SaveWP
2013-11-02 21:34:57 +09:00
Andrew Tridgell
c6cbfdce9a
autotest: report initial and final altitude in alt hold tests
2013-10-17 17:22:19 +11:00
Andrew Tridgell
cb7303780f
autotest: tweak plane parameters
2013-10-15 09:51:54 +11:00
Andrew Tridgell
36cc266626
autotest: fixed wait_pitch()
2013-10-14 10:18:40 +11:00
Andrew Tridgell
dcb01d193d
autotest: fixed ACRO attitude locking in plane
2013-10-10 17:35:17 +11:00
Andrew Tridgell
8f558609a9
autotest: tweak plane autotest debugging
2013-10-10 09:54:20 +11:00
Randy Mackay
1951ca1874
AutoTest: slightly shorten copter loiter test
2013-10-09 13:02:38 +09:00
Randy Mackay
4c32f4dbdb
AutoTest: shorten simple and super simple tests
2013-10-05 22:50:47 +09:00
Randy Mackay
0cd49f3ca0
AutoTest: remove LAND from end of copter mission
2013-10-05 22:23:55 +09:00
Randy Mackay
01ba5a0e0c
AutoTest: add super simple test
2013-10-05 18:26:59 +09:00
Andrew Tridgell
4bc913791f
autotest: tweak plane parameters
2013-10-05 18:10:24 +10:00
Randy Mackay
e672b61bbb
AutoTest: enable battery monitoring by default
2013-10-03 11:16:40 +09:00
Randy Mackay
5f1ba85ce4
AutoTest: add copter battery failsafe test
2013-10-03 11:16:38 +09:00
Randy Mackay
6f337fe1e8
AutoTest: increase timeout for GPS glitch test
2013-09-26 14:43:04 +09:00
Randy Mackay
62d298e141
AutoTest: add copter gps glitch test in auto mode
2013-09-24 21:41:33 +09:00
Randy Mackay
cc00ac96ca
AutoTest: add copter gps glitch test
2013-09-24 21:41:07 +09:00
Randy Mackay
c6a99ac24a
AutoTest: add support for GPS glitching
2013-09-24 21:41:04 +09:00
Andrew Tridgell
66165c4918
autotest: make default param files end in .parm
...
this matches what MP wants in its compare params diaglog
2013-09-23 08:48:01 +10:00
Andrew Tridgell
dcb60e190d
autotest: run mavproxy.py from $PATH
2013-09-17 21:05:00 +10:00
Andrew Tridgell
b98ce84b15
autotest: fixed heading in CMAC location
...
point along the runway
2013-09-16 11:39:32 +10:00
Andrew Tridgell
6fd2b71fbd
autotest: added takeoff to CMAC-circuit.txt
2013-09-16 11:39:11 +10:00
Andrew Tridgell
1f84399704
autotest: small adjustment to rover parameters
2013-09-12 20:43:14 +10:00
Andrew Tridgell
4f33e4e114
autotest: fixed handling for wiki and xml generation
2013-09-12 10:01:30 +10:00
Andrew Tridgell
bfd61fec15
param_metadata: support .pde files for parameter autodocs
2013-09-12 09:51:59 +10:00
Andrew Tridgell
0c37bcbb10
autotest: don't show console in autotest
2013-09-09 19:55:38 +10:00
Andrew Tridgell
35519b9298
autotest: update rover default parms
2013-09-09 19:55:25 +10:00
Andrew Tridgell
ad9a605603
autotest: removed APM1-1280 from rover build
...
it no longet fits with the new L1 controller
2013-09-09 19:14:39 +10:00
Andrew Tridgell
c15d784976
autotest: added comment for typical command line
2013-09-04 13:16:14 +10:00
Andrew Tridgell
8bb35f5dad
firmware: fixed link name
2013-08-30 20:21:43 +10:00
Andrew Tridgell
35ae989675
firmware: update MP icon
2013-08-30 16:33:45 +10:00
Andrew Tridgell
835740b387
firmware: added MissionPlanner link to top level
2013-08-30 16:18:14 +10:00
Andrew Tridgell
4f118a85b2
autotest: fixed import paths for pymavlink
...
assumes installed package now
2013-08-30 13:01:36 +10:00
Randy Mackay
2abb886d8f
AutoTest: remove override of RTL_ALT_FINAL parameter
2013-08-30 10:35:46 +09:00
Andrew Tridgell
b69fb19794
autotest: added templates for JSBSim port numbers
2013-08-15 09:47:24 +10:00
Andrew Tridgell
64082100aa
autotest: added docs links
2013-08-15 09:08:08 +10:00
Andrew Tridgell
33cbe6151a
SITL: support multiple instances of SITL running at once
2013-08-14 16:35:24 +10:00
Andrew Tridgell
917b51a46b
autotest: added command line args to test script
2013-08-13 13:42:36 +10:00
Andrew Tridgell
ef104b6629
autotest: wait for a higher altitude on takeoff
...
otherwise left circuit can crash
2013-07-22 13:27:06 +10:00
Randy Mackay
d9824dc23e
AutoTest: rename and remove copter mission files
2013-07-16 21:41:06 +09:00
Andrew Tridgell
81bb4f26a1
autotest: update plane test with more modes
...
added tests for FBWB, STABILIZE, CRUISE, ACRO and CIRCLE
2013-07-16 13:23:48 +10:00
Andrew Tridgell
2802814a66
autotest: cope with slower updating roll in MAVLink for plane
...
need less precision in horizontal roll test
2013-07-15 13:11:41 +10:00
Randy Mackay
0ba6bf8721
AutoTest: relax stability patch max distance
2013-07-10 20:54:12 +09:00
Randy Mackay
cf6684ac0c
AutoTest: fix to copter getting stuck in Failsafe test
2013-07-10 13:03:40 +09:00
Andrew Tridgell
764d382aef
autotest: display map results on timeout
2013-07-09 08:48:17 +10:00
Andrew Tridgell
f1f9b98008
autotest: use TECS in autotest for plane
2013-07-04 17:04:56 +10:00
Randy Mackay
f7f575eb58
AutoTest: reduce time of copter fly_circle
...
Circle_Rate parameter was increased so we can reduce the time of the
test
2013-06-26 21:55:52 -10:00
Andrew Tridgell
93db4a4a5b
autotest: consider lack of symlinks to be a soft error
...
some people use VMWare shared drives, which don't do hard links
2013-06-24 13:06:54 +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
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
7eb40d151c
autotest: added TOC link
...
thanks to Gary for the suggestion!
2013-05-30 12:19:24 +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
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
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
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
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
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
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
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
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
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
636573f0fd
autotest: added some useful test missions for ArduPlane
2013-04-17 11:49:34 +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
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
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
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
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
4fd3adbcb9
Rover: run rover sim reniced
2013-03-22 11:22:15 +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
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
5db1dbd8d1
autotest: fixed python path for mavtemplate
2013-03-12 11:49:43 +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
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
Andrew Tridgell
843692ee5d
autotest: more tweaks to Rascal parameters
2013-01-16 15:16:26 +11:00
Andrew Tridgell
a11705915c
autotest: tweaks to Rascal tuning
2013-01-15 21:35:53 +11: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
Andrew Tridgell
4e183f4321
autotest: move hash link to new github repo
2013-01-13 19:03:46 +11:00
Andrew Tridgell
66073ee94f
autotest: ensure JSBSim is dead on restart
2013-01-09 13:31:05 +11:00
Andrew Tridgell
9d6d59b1dd
autotest: fixed jsbsim on fedora
2013-01-09 13:31:03 +11:00
Andrew Tridgell
d5d2fc667f
autotest: use mktemp instead of tempfile
...
more portable
2013-01-09 13:31:01 +11:00
Andrew Tridgell
3fda7bbeac
autotest: fixed log dumping
2012-12-22 14:50:32 +11:00
Andrew Tridgell
f4d3cd42d7
autotest: enable throttle failsafe for ArduCopter
2012-12-22 13:29:09 +11:00
Andrew Tridgell
7b2d65e3e7
autotest: added HAL_BOARD to build config
2012-12-22 12:55:22 +11:00
Andrew Tridgell
1fcffc6de9
autotest: increase speed in fly square test for ArduCopter
...
should prevent occasional timeouts
2012-12-01 08:08:54 +11:00
Andrew Tridgell
f1206ed363
autotest: tweak the rover mission a bit
2012-11-29 20:53:21 +11:00
Andrew Tridgell
74f50012a5
autotest: allow for wildcard list of steps to be specified
2012-11-29 20:53:21 +11:00
Andrew Tridgell
3ea89eb987
autotest: cope with rover already being close to home in RTL
2012-11-28 16:31:38 +11:00
Andrew Tridgell
b2c71dac1b
autotest: larger distance error allowed in fly simple test
2012-11-28 11:41:22 +11:00
Andrew Tridgell
a7fa6e7c61
autotest: fixed failsafe test for arducopter
2012-11-28 11:10:18 +11:00
Andrew Tridgell
fdeb6d897d
autotest: added Rover testing in autotest
2012-11-28 10:43:11 +11:00
Andrew Tridgell
a620665772
autotest: first version of a rover simulator in python
2012-11-28 00:11:54 +11:00
Andrew Tridgell
eaf868a0b6
autotest: run build_examples.sh in autotest
2012-11-24 21:12:05 +11:00
Andrew Tridgell
58a0cfc0b3
params: fixed ordering of vehicle parsing
...
this keeps it consistent in the wiki
2012-11-20 20:37:02 +11:00
Andrew Tridgell
4683df4a21
params: fixed parsing of value lists with -1 elements
2012-11-20 20:27:00 +11:00
Andrew Tridgell
71f8166818
autotest: fix a race condition with baro noise on startup
...
we need to wait for a full GPS fix
2012-11-19 11:56:46 +11:00
Andrew Tridgell
1ce3876d24
pysim: fixed testwind script
2012-10-31 10:26:48 +11:00
Lee Pike
a141e16729
Pysim: add effects of wind by calcualting a drag vector (force).
2012-10-31 10:15:32 +11:00
Andrew Tridgell
a9af6e95cb
APM: higher throttle on takeoff in ArduPlane autotest
2012-08-30 07:37:26 +10:00
Andrew Tridgell
681e67201d
APM: fixed orientation on runway in autotest
2012-08-29 17:17:38 +10:00
Andrew Tridgell
d93861f4d2
autotest: removed the --wind options
...
SIM_WIND_* options now control wind
2012-08-28 20:18:23 +10:00
Andrew Tridgell
51247ad6c1
autotest: loiter can be a bit slow to circle sometimes
2012-08-27 13:19:21 +10:00
Andrew Tridgell
c1405bddb3
APM-autotest: fixed inside loop test
...
pitch 80 may not be reached due to granularity of the MAVLink logging
2012-08-27 11:45:07 +10:00
Andrew Tridgell
697b2074a5
SITL: added SIM_WIND_* parameters
...
this allows control of the simulated wind during a flight
2012-08-25 17:49:26 +10:00
rmackay9
93f918f3e0
AutoTest: reduced descend throttle for arducopter's change_alt test.
2012-08-19 12:33:21 +09:00
Andrew Tridgell
7cc9ec4d61
autotest: ArduCopter on a 1280 is not supported any more
2012-08-19 12:30:15 +10:00
Andrew Tridgell
00f0092ae4
SITL: updated ArduPlane autotest parms
...
a bit more xtrack and fixed steering parameter names
2012-08-18 16:34:02 +10:00
Andrew Tridgell
a6327e254c
SITL: use rudder steering in APM autotest
2012-08-15 12:53:05 +10:00
Andrew Tridgell
533aab4f66
SITL: added a test script for starting in Kingaroy
...
we use this for OBC testing
2012-08-15 12:39:34 +10:00
Andrew Tridgell
b6b12532da
SITL: make it easier to start ArduPlane SITL at any location
...
this generates a jsbsim startup XML file from a template
2012-08-15 12:39:34 +10:00
rmackay9
6603e7724d
AutoTest: set RTL's APPROACH_ALT to zero to force the copter to land instead of hanging out at 2m and causing the auto test to time out
2012-08-14 12:03:32 +09:00
rmackay9
c574393995
AutoTest: update failsafe timeout to 180 to give it more time to pass.
2012-08-14 11:25:10 +09:00
Andrew Tridgell
6b12ad79ff
APM: tweak Rascal autotest settings
2012-08-09 10:03:52 +10:00
wiseman
af0d2de2ed
Use MAVPROXY_CMD instead of MAVPROXY
2012-07-23 21:30:50 -07:00
wiseman
05de9e425c
Added run_sim_mission.
2012-07-23 21:29:24 -07:00
Andreas M. Antonopoulos
c0f8f6251b
param_parser: input validation bug fix
2012-07-16 23:37:13 -07:00
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
Andrew Tridgell
e5ec810c92
autotest: fixed check of return code for build_all.sh
2012-02-20 09:17:08 +11:00
Andrew Tridgell
c3d6e64efb
autotest: fixed directory for build_all.sh
2012-02-20 08:41:40 +11:00
Jason Short
1c9bb25f09
AP TEST fixes for new throttle control
2012-02-19 12:38:57 -08:00
Andrew Tridgell
4a766e1abd
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
9700afaf10
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
66b95c14c5
autotest: added build_all.sh to autotest
2012-02-19 17:05:28 +11:00
Andrew Tridgell
92b3f86996
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
ffa3330f93
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
3e7cc2499b
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
090068bee4
autotest: use more rudder for steering
...
this helps the landing a lot
2012-02-14 15:16:35 +11:00
Andrew Tridgell
1e7d3f5d48
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
d62cc01b65
autotest: adjusted APM parameters
...
enable compass and tweak tuning
2012-02-14 11:26:42 +11:00
Andrew Tridgell
8f18d08eb5
autotest: added a lot more interal checking
...
check each of the sub-tests pass for overall pass
2012-02-14 11:26:42 +11:00
Andrew Tridgell
27cd2893af
autotest: fixed the directory that the git hash is fetched in
2012-02-14 09:06:24 +11:00
Andrew Tridgell
d574c78c2c
autotest: fixed displayed git hash in autotest
2012-02-13 20:29:55 +11:00
Andrew Tridgell
669516cb15
autotest: fixed git hash parsing
2012-02-13 18:02:35 +11:00
Andrew Tridgell
d5b96fe9bd
make it easy to run simulator under valgrind
2012-02-13 16:22:53 +11:00
Jason Short
9c5f77926f
to speed up testing suite
2012-01-28 22:52:39 -08:00
Jason Short
973b0b72c5
Landing now disarms automatically.
2012-01-28 22:52:17 -08:00
Jason Short
d11eaa9265
Tweaks
2012-01-10 23:43:44 -08:00
Jason Short
7890b784b2
Added altitude
2012-01-10 23:42:26 -08:00
Jason Short
351be7c305
Made timer unsigned
2012-01-10 23:42:26 -08:00
Andrew Tridgell
861222f81d
autotest: cope with startup messages in a different order
2012-01-09 18:09:04 +11:00
Andrew Tridgell
06b16a156e
autotest: make history pages use the css style
2012-01-09 18:09:04 +11:00
Jason Short
0be68e679b
updated throttle to keep altitude
2012-01-07 22:27:25 -08:00
Jason Short
431d472695
enabled failsafe on SIM parameters
2012-01-06 10:22:26 -08:00
Jason Short
c1314bc814
Added failsafe test
2012-01-06 10:22:13 -08:00
Jason Short
6d827d0087
Added RTL with Auto_land test
...
Fixed Simple Mode test
2012-01-05 22:13:20 -08:00
Jason Short
193848cea6
thought the commented out function was too cool to loose, but not using it now
...
changed the WP index number
2012-01-04 09:52:25 -08:00
Jason Short
fa2d84e557
Looking for larger than 255 numbers
2012-01-04 09:51:36 -08:00
Andrew Tridgell
2a3d4efb38
pysim: support octax
2012-01-04 22:15:17 +11:00
Andrew Tridgell
64b541037e
autotest: change to an octa frame for autotest
...
this will be a useful experiment
2012-01-04 22:03:37 +11:00
Andrew Tridgell
efa649e51a
autotest: fix for new sim_multicopter.py command
2012-01-04 21:49:19 +11:00
Andrew Tridgell
9df96d0e07
pysim: added more frame types
2012-01-04 21:45:58 +11:00
Andrew Tridgell
eab1ae59d0
pysim: accept frame type in sim_arducopter.sh
2012-01-04 19:34:28 +11:00
Andrew Tridgell
45b4e07776
pysim: show frame type at startup
2012-01-04 19:34:11 +11:00
Andrew Tridgell
ed5c9d4c47
rename sim_quad.py to sim_multicopter.py
2012-01-04 19:14:42 +11:00
Andrew Tridgell
ba9423f7de
pysim: added --frame option
2012-01-04 19:13:47 +11:00
Andrew Tridgell
1670f1f65b
pysim: generalise the quadcopter code for multicopters
...
this allows for arbitrary multicopter motor arrangements
2012-01-04 19:13:15 +11:00
Jason Short
986b42a45b
Fixed Loiter Timeout bug, added more wind by default.
2011-12-29 23:02:02 -08:00
Jason Short
a9e1e9a8db
Turn off Super Simple by default
2011-12-29 23:02:02 -08:00
Jason Short
a29aa020ff
Made wind not reverse itself to be more natural
2011-12-29 23:02:02 -08:00
Andrew Tridgell
ddab189e42
autotest: update copies of pymavlink in autotest
2011-12-29 08:30:08 +11:00
Andrew Tridgell
8b9eb0dad1
autotest: fixed arducopter autotest
...
no longer says "Please run setup"
2011-12-26 20:10:10 +11:00
Jason Short
5038fcecd8
Added more detail
2011-12-23 14:42:49 -08:00
Jason Short
c9b2d1c3c2
Added fix for Takeoff Test
2011-12-23 14:42:49 -08:00
Andrew Tridgell
d626fcb52f
added a copy of fdpexpect
2011-12-23 12:20:58 +11:00
Andrew Tridgell
30425063d8
more errno fixes for MacOS
2011-12-23 12:07:32 +11:00
Andrew Tridgell
d007ee996d
fixed errno handling for MacOS
2011-12-23 11:59:25 +11:00
Andrew Tridgell
e4ed3cb583
fixed typo in fly_simple()
2011-12-22 10:25:31 +11:00
Andrew Tridgell
ab40539a76
autotest: increare tail wheel friction
...
this keeps the plane moving in a straight line a bit more
2011-12-19 11:36:21 +11:00
Andrew Tridgell
86b86c1bdf
autotest: bit more throttle on takeoff
...
needed for increased rolling friction
2011-12-19 11:25:59 +11:00
Andrew Tridgell
991ce9077c
autotest: add a DO_CHANGE_SPEED to arduplane test
...
this slows down the Rascal for landing
2011-12-19 11:25:59 +11:00
Andrew Tridgell
5dd453e535
autotest: improved the Rascal ground reactions
...
this gets the friction and bounciness of the undercarriage much closer
to a real model
2011-12-19 11:25:59 +11:00
Andrew Tridgell
345093e982
autotest: make the Rascal a tail dragger again
...
good for testing wheeled takeoff
2011-12-18 18:57:20 +11:00
Andrew Tridgell
42d7bf7fce
autotest: added automated landing test for ArduPlane
2011-12-18 17:31:46 +11:00
Andrew Tridgell
ac5a76715b
autotest: updates ArduPlane parameters
2011-12-18 17:31:45 +11:00
Andrew Tridgell
882b4cd739
autotest: fixed prog name
2011-12-16 20:10:12 +11:00
Andrew Tridgell
b1f912a355
autotest: fixed working directory in sample scripts
2011-12-16 20:10:07 +11:00
Jason Short
e6fd8a689e
added SuperSimple and notes
2011-12-15 20:51:41 -08:00
Jason Short
ced4cf1538
testing updates
2011-12-15 20:51:41 -08:00
Jason Short
6e81b1a6f8
Added new tests
2011-12-15 20:51:41 -08:00
Jason Short
da8d342a08
Added Land control_mode
2011-12-15 20:51:41 -08:00
Jason Short
88b3708dcf
added altitude to circle mission
2011-12-15 20:51:40 -08:00
Andrew Tridgell
eac97725f5
autotest: fgrate option has been removed from mavproxy
2011-12-13 21:34:53 +11:00
Andrew Tridgell
d68abb99a8
loosen RTL criterion (wind affected)
2011-12-13 20:05:39 +11:00
Andrew Tridgell
8847ee518d
autotest: fixed loiter hold time
...
hold time was larger than the timeout
2011-12-13 19:08:47 +11:00
Andrew Tridgell
bb50154f1c
autotest: fixed wind specification for arduplane test
2011-12-13 19:04:00 +11:00
Andrew Tridgell
2cc67d0a61
autotest: added a 5m/s wind blowing south in plane test
2011-12-13 15:29:13 +11:00
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
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
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
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
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
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
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
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
Jason Short
a47f28cfdb
tweak to loiter turns command
2011-11-20 00:22:53 -08: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
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
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
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
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
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
Andrew Tridgell
7bbbe7f7fc
make the web site a bit prettier
2011-11-09 23:25:28 +11:00
Andrew Tridgell
5ed2c02bbd
autotest: fixed mission end handling
2011-11-09 20:27:36 +11:00
Andrew Tridgell
87eefc0b34
autotest: fixed pexpect timeout
2011-11-09 20:27:15 +11:00
Andrew Tridgell
f4da7e96d2
always convert GPX
2011-11-09 20:27:00 +11:00
Jason Short
47ef43ad08
Mission update
2011-11-08 23:45:05 -08:00
Andrew Tridgell
bbc00a95c8
autotest: fixed typos in mission file
2011-11-09 17:50:46 +11:00
Andrew Tridgell
e0cb4507ec
autotest: try harder to kill child processes
2011-11-09 17:44:14 +11:00
Andrew Tridgell
9b3e35fb62
autotest: list failed tests
2011-11-09 17:21:53 +11:00
Andrew Tridgell
21e7c627af
autotest: improved error checking and child termination
...
we now report pass/fail for each test
2011-11-09 17:21:53 +11:00
Jason Short
b792c130ae
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2011-11-08 21:43:24 -08:00
Jason Short
4fbd363a8f
New mission test
2011-11-08 21:43:18 -08:00
Andrew Tridgell
6e32905f81
autotest: avoid the need for killall
...
this ensures we cleanup child processes cleanly, so we don't need the
killall any more
2011-11-09 15:46:06 +11:00
Andrew Tridgell
481e06638a
autotest: check for valgrind on the host
2011-11-08 18:07:19 +11:00
Andrew Tridgell
122e09323c
autotest: fixed home altitude for CMAC
2011-11-08 08:14:46 +11:00
Andrew Tridgell
c7ac328613
autotest: dump all logs
2011-11-07 23:56:59 +11:00
Andrew Tridgell
8c5873564b
autotest: dump all GPS points, even if fix==0
...
for some reason HIL gives fix 0 sometimes
2011-11-07 22:57:32 +11:00
Andrew Tridgell
c750f85280
autotest: enable dumping of DataFlash logs at end of test
2011-11-07 22:56:13 +11:00
Andrew Tridgell
469b8586ca
autotest: started adding tests for required tools
...
try to give useful error messages
2011-11-07 22:56:13 +11:00
Andrew Tridgell
3aee902be1
fixed permissions of valgrind log file
2011-11-04 10:05:40 +11:00
Andrew Tridgell
6e72c88a83
autotest: run SIL binary under valgrind
...
this lets us find uninitialised variables in the APM code, and other
common C/C++ errors
2011-11-04 10:00:06 +11:00
Andrew Tridgell
40c87dd295
fixed home location
2011-11-02 10:26:24 +11:00
Andrew Tridgell
b6dcfa416b
autotest: a complete mission now flies
...
with the TCP buffering fixed, the mission flies quite well with standard parameters
2011-11-02 09:38:44 +11:00
Andrew Tridgell
19d5e983ba
autotest: fixed path to SIL binary
2011-11-02 09:38:44 +11:00
Andrew Tridgell
7a0d39c197
autotest: added a mission to ArduCopter testing
...
the mission is not flown well at all, but its a start
2011-11-01 22:44:21 +11:00
Andrew Tridgell
beab1500c1
autotest: ArduCopter test can now fly a square
...
the copter now takes off, yaws to north, flies a 50m square, then
does a loiter test for 10s and lands
2011-10-31 18:31:16 +11:00
Andrew Tridgell
0b484afbbe
First version of APM autotest
...
This does SIL testing of ArduPlane and ArduCopter. For now it just does
a basic LOITER test of ArduCopter. It produces logs and a kml of the
flight on apm.tridgell.net
2011-10-31 13:50:34 +11:00