Commit Graph

923 Commits

Author SHA1 Message Date
Andrew Tridgell 6c74782997 autotest: added QMAC to locations list
Queanbeyan Model Aircraft Club, where CASA OC tests are run in
Canberra
2015-09-07 08:07:17 +10:00
Andrew Tridgell ee91a41405 autotest: added H_RSC_MIN/MAX to heli parms 2015-09-01 16:34:20 +10:00
Andrew Tridgell 717c04d507 autotest: fly CopterAVC mission as a helicopter
this ensures heli gets basic testing
2015-09-01 16:34:20 +10:00
Randy Mackay a21eed9695 AutoTest: reduce MOT_THST_EXPO to 0.5 2015-08-31 21:53:43 +09:00
Randy Mackay 53b65675b2 SITL: param change to for copter optflow testing 2015-08-27 20:57:35 +09:00
Grant Morphett 50b732d2af web-firmware: Added an icon and link for AntennaTracker 2015-08-27 09:23:57 +09:00
Andrew Tridgell 6caea9e07c autotest: fixed sim_vehicle.sh with no realpath 2015-08-24 10:47:41 +10:00
Andrew Tridgell 2e5d517691 autotest: added basic helicopter parameters 2015-08-13 18:58:14 +10:00
Fredrik Hedberg e2027a8414 SITL: Add HELI_DUAL_FRAME and HELI_COMPOUND_FRAME. 2015-08-13 18:23:30 +10:00
Andrew Tridgell 730b5d228e autotest: cope with symlinks in vehicle path 2015-08-13 15:14:23 +10:00
Andrew Tridgell 596cac58d0 autotest: removed the need for run_cmd.sh 2015-08-13 14:56:33 +10:00
Andrew Tridgell 5cc7c456a7 autotest: fixed sense of test for autotest directory
fixes PR#2593
2015-07-23 14:36:18 +10:00
John Hsu 94bf440e8f autotest: added Gazebo frame type 2015-07-20 09:10:48 +10:00
John Hsu c75a231846 autotest: added OSRF location 2015-07-20 09:10:48 +10:00
mirkix 1226cc7dae Tools/autotest: Add location Bremerhaven 2015-07-13 11:04:53 +09:00
Andrew Tridgell 338ae68537 autotest: allow run without $PATH setup 2015-07-09 14:06:03 +10:00
Andrew Tridgell 01eb27908f autotest: fixed typo 2015-07-09 11:59:24 +10:00
Andrew Tridgell 7f425a97a3 autotest: use current autotest directory if possible 2015-07-09 11:53:46 +10:00
Andrew Tridgell 34689cf949 autotest: cope with mavproxy logging msg changes 2015-06-30 14:06:17 +10:00
Peter Barker d4a34b3da1 SITL: abort sim_vehicle.sh if build fails a second time
Previously a build could fail and we would end up running the old code
2015-06-25 10:16:24 +10:00
Andrew Tridgell 7e23912d17 autotest: added -b option for build target to sim_vehicle.sh 2015-06-19 16:39:45 +10:00
Grant Morphett 0645474b3b autotest: Fixed the LOG_BITMASK for Rover in SITL. 2015-06-18 17:54:19 +10:00
Andrew Tridgell 43d6060ba7 autotest: removed "Library Parameters" heading in autodocs 2015-06-16 10:01:03 +10:00
Andrew Tridgell 46926765c4 autotest: support general models 2015-06-15 09:20:56 +10:00
Randy Mackay fbec1e63ad autotest: fix typo in Bitmask keyword for autodocs 2015-06-05 09:19:26 +09:00
Randy Mackay 7c851b781b autotest: allow Bitmask keyword in autodocs 2015-06-04 21:31:41 +09:00
Andrew Tridgell f4c61acbc2 autotest: removed old python antennatracker simulator 2015-06-01 14:20:27 +10:00
Andrew Tridgell 074a6cad91 autotest: use new tracker simulator in sim_vehicle.sh 2015-06-01 12:54:06 +10:00
Andrew Tridgell b6ed86465b autotest: prioritise .cpp projects over .pde projects 2015-05-30 15:21:25 +09:00
Andrew Tridgell 337cd3d4a7 autotest: allow RebootRequired keyword in autodocs 2015-05-29 16:35:33 +10:00
Andrew Tridgell 320b69c375 autotest: make sim_vehicle.sh work better on windows 2015-05-25 16:50:27 +10:00
Andrew Tridgell 532839d7dd autotest: remove old python simulators 2015-05-25 12:22:28 +10:00
Andrew Tridgell 9f09ac64cf autotest: enable internal MAVLink gimbal
and add -B option to help debugging
2015-05-25 12:20:27 +10:00
Andrew Tridgell 0d20167294 autotest: removed earth-frame rates usage
work only with rates in body frame
2015-05-25 08:42:21 +10:00
Andrew Tridgell 8f5c663463 autotest: show -M option in usage for sim_vehicle.sh 2015-05-24 15:24:02 +10:00
Andrew Tridgell 90aa834102 autotest: use internal simulator backends when possible 2015-05-23 17:14:52 +10:00
Andrew Tridgell 2392481945 autotest: remove old ROS runsim code 2015-05-22 16:09:58 +10:00
Andrew Tridgell d734e700fc autotest: support last_letter in sim_vehicle.sh 2015-05-22 16:07:44 +10:00
Andrew Tridgell 088fb95192 autotest: make last_letter run at 500Hz 2015-05-22 16:07:43 +10:00
Andrew Tridgell a661187ac0 autotest: added some debug to last_letter startup 2015-05-21 21:17:38 +10:00
Andrew Tridgell 4c96ec26e5 autotest: fixed the -e option for sim_vehicle.sh 2015-05-21 21:16:32 +10:00
Andrew Tridgell dfc7878b14 autotest: fixed cpp files for parameter parsing 2015-05-21 11:42:32 +10:00
Andrew Tridgell 64ace3c0c1 autotest: removed 'make configure' 2015-05-21 10:54:19 +10:00
Andrew Tridgell dd7c42be67 autotest: setup offsets for 2 SITL compasses 2015-05-16 07:07:35 +10:00
Randy Mackay c86a396ca0 SITL: allow easier slowing of copter test 2015-05-13 22:40:03 +09:00
Lucas De Marchi 35b550f03d autotest: fix usage of tabs instead of space
Python 3 is stricter with regard to using tabs instead of space (PEP8):
	Spaces are the preferred indentation method.

	Tabs should be used solely to remain consistent with code that
	is already indented with tabs.

	Python 3 disallows mixing the use of tabs and spaces for
	indentation.

	Python 2 code indented with a mixture of tabs and spaces should
	be converted to using spaces exclusively.
2015-05-13 20:51:37 +09:00
Randy Mackay 2ac30a53ad SITL: remove copters 3rd accel scaling from params 2015-05-12 16:43:02 +09:00
Randy Mackay 2ad5011177 SITL: slow down autotest for slow VMs 2015-05-12 16:31:32 +09:00
Andrew Tridgell fb245cd77b autotest: removed unmaintained jenkins autotest code
this can be revived later if there is interest
2015-05-11 11:27:48 +10:00
Andrew Tridgell 68515d0324 autotest: fixed CopterAVC test 2015-05-11 11:26:54 +10:00
Andrew Tridgell 044a09425b autotest: cope with environments with no $DISPLAY 2015-05-11 09:19:54 +10:00
Andrew Tridgell 068b862888 autotest: use buildlogs directory consistently 2015-05-11 08:37:49 +10:00
Andrew Tridgell aaff670ec4 autotest: use builtin JSBSim support for plane testing 2015-05-11 08:06:31 +10:00
Andrew Tridgell ebf358138f autotest: use internal sim code for JSBSim 2015-05-10 21:58:05 +10:00
Andrew Tridgell 6b668c08dc autotest: use internal rover sim in sim_vehicle.sh 2015-05-09 21:22:02 +10:00
Fabio Kruger d585d5691d autotest: Enables copy to clipboard from xterm shells. Useful to copy gdb output. 2015-05-08 16:42:43 +10:00
Ramón Roche a2a0d834aa autotest: provide a custom location to set as sim home
this helps to set a custom home location on sim, if the location is
outside of the locations in Tools/autotest/locations.txt

Usage:

sim_vehicle.sh -l 37.872991,-122.302348,20,260

The location needs to be in the same format as the locations defined in
locations.txt inside autotest
2015-05-08 13:51:37 +10:00
Michael Day a17f53254c autotest: Separated McMillan into McMillan and McMillan_East in locations.txt 2015-05-08 09:18:28 +09:00
Andrew Tridgell c27b605b86 autotest: fixed sim_vehicle -w for plane 2015-05-07 17:28:00 +10:00
Andrew Tridgell 98df4fe60e autotest: make sim command clearer in logs 2015-05-06 10:10:13 +10:00
Andrew Tridgell fe536a4b89 autotest: use internal copter sim for autotest 2015-05-05 16:56:40 +10:00
Andrew Tridgell d5b51f2129 autotest: use internal simulator for copter test 2015-05-05 16:56:39 +10:00
Andrew Tridgell 209896afc7 autotest: use builtin rover model for autotest 2015-05-05 16:56:39 +10:00
Andrew Tridgell 8c8c910ad0 autotest: removed the old AVR/2560 code in autotest
now checked with build_all
2015-05-05 10:39:31 +10:00
Andrew Tridgell 3d14b47d8b autotest: try to run at 10x, not 100x speed
if we run too fast mavproxy can't keep up
2015-05-05 09:45:59 +10:00
Andrew Tridgell 5d8a897330 autotest: use right sim backend for different vehicles 2015-05-05 09:45:59 +10:00
Andrew Tridgell 9204cab7d5 autotest: fixed rover test 2015-04-30 18:45:38 +10:00
Andrew Tridgell 1cbbf1ab9e autotest: start SITL in synthetic clock mode 2015-04-30 17:19:56 +10:00
Andrew Tridgell a262f9d31b autotest: disable the devrelease build for now
not being kept updated
2015-04-30 14:09:59 +10:00
Andrew Tridgell 3300de2c9d autotest: added some gyro and accel noise to copter sim
this noise should be kinematically consistent, so will be better for
the EKF
2015-04-21 21:33:27 +10:00
Andrew Tridgell 79f6d93dc9 autotest: change SIM_GPS_DELAY in parameters to 1
better matches uBlox
2015-04-21 21:05:07 +10:00
Andrew Tridgell 03b5305837 autotest: allow for negative col pitch in crrcsim heli
this allows for hovering upside down in acro mode
2015-04-21 20:45:30 +10:00
Andrew Tridgell 5f8c05b712 autotest: fixed extraction of defaults 2015-04-20 15:12:51 +10:00
Andrew Tridgell 76a81069c2 autotest: removed unused Rascal XML config 2015-04-20 09:09:23 +10:00
Andrew Tridgell ffd4662ec4 autotest: convert rover sim to use sim_wrapper.py 2015-04-20 08:36:52 +10:00
Andrew Tridgell dbeaccc3d9 autotest: auto-adjust frame rate for crrcsim 2015-04-20 08:20:50 +10:00
Andrew Tridgell 6897bfdc6b autotest: fixes for crrcsim with heli model 2015-04-20 08:05:29 +10:00
Andrew Tridgell e9b6863b23 autotest: changed to new crrcsim FDM protocol format 2015-04-19 15:49:05 +10:00
Andrew Tridgell 59e25d4b2c autotest: added CRRCSim frame targets 2015-04-19 12:08:27 +10:00
Andrew Tridgell 1cd114e300 autotest: added initial CRRCSim backend 2015-04-19 12:08:26 +10:00
Andrew Tridgell b5c40cad76 autotest: added gps_distance and gps_bearing
needed for CRRCSim backend
2015-04-19 12:08:26 +10:00
Andrew Tridgell b6ff19e86c autotest: make default rate depend on model type 2015-04-19 12:08:26 +10:00
Andrew Tridgell 633e7122e7 autotest: added some lateral thrust to helicopter simulator 2015-04-19 12:08:26 +10:00
Andrew Tridgell 6b21aceed0 autotest: moved constrain() into util.py 2015-04-19 12:08:26 +10:00
Andrew Tridgell d691cfc3d8 autotest: rename sim_multicopter.py to sim_wrapper.py
it now supports multiple vehicle types
2015-04-19 12:08:25 +10:00
Randy Mackay a04bc263f6 SITL: remove redundant takeoff from copter test 2015-04-16 21:00:38 +09:00
Randy Mackay d0036290c1 SITL: copter test displays which RTL failed 2015-04-16 21:00:17 +09:00
Randy Mackay 1af6fb13ad SITL: clear glitches before running test 2015-04-15 17:33:25 +09:00
Randy Mackay 90b02a2685 SITL: shorten GPS glitch duration for copter 2015-04-15 17:33:23 +09:00
Andrew Tridgell d4e9418ad4 autotest: rename jsmsim folder to jsb_sim
this prevents problems on windows with virtualbox. It tries to run
JSBSim as the directory 'jsbsim' and fails
2015-04-14 09:04:11 +10:00
Andrew Tridgell 82f6bb3c17 autotest: use common frame time handling 2015-04-13 10:08:12 +10:00
Andrew Tridgell 7f89f73ad1 autotest: use simulation time for all time delays 2015-04-13 10:08:12 +10:00
Andrew Tridgell d2a188c55d autotest: run plane test at maximum speed 2015-04-13 10:08:12 +10:00
Andrew Tridgell 9fdb74e006 autotest: run JSBSim in lock step mode
this requires an updated JSBSim
2015-04-13 10:08:11 +10:00
Andrew Tridgell e8c115b9c3 autotest: check for the right version of JSBSim 2015-04-13 09:06:21 +10:00
Andrew Tridgell 370edde286 autotest: no need for special SIGCONT handling any more 2015-04-13 06:08:35 +10:00
Randy Mackay 11d0801c99 SITL: fix copter-avc test 2015-04-08 15:24:48 +09:00
Randy Mackay 8335399525 SITL: fix copter test
Allow more time for fly_square
Allow more movement in loiter_glitch test
2015-04-08 12:18:22 +09:00
Randy Mackay 7eb710ed3a SITL: copter autotest uses sim time 2015-04-08 12:18:20 +09:00
Randy Mackay 9e1502e54a SITL: add wait_sim_seconds and get_sim_time 2015-04-08 12:18:18 +09:00
Randy Mackay 2799d15427 SITL: weaken simulated copter 2015-04-08 12:18:15 +09:00
Andrew Tridgell ee35c2aa35 autotest: update gimbal model to match new messages 2015-04-06 16:45:51 -07:00
Andrew Tridgell a0028e3faf autotest: fixed SITL without ROS installed 2015-04-01 12:28:41 -07:00
Andrew Tridgell 70855027f3 autotest: added Iris ROS simulator support
use -f IrisRos
2015-04-01 09:14:03 -07:00
Andrew Tridgell f82f0da2b3 autotest: support sims that do their own time control 2015-04-01 09:12:11 -07:00
Andrew Tridgell 5947160fd7 autotest: removed delta_time from update_position()
not available in some backends, and not needed
2015-04-01 09:11:25 -07:00
Andrew Tridgell cf15b4d4fc autotest: removed use of --nowait option 2015-03-27 18:03:24 -07:00
Andrew Tridgell 16f09a6eae autotest: added -S parameter for simulation speedup 2015-03-27 13:52:59 -07:00
Andrew Tridgell 0f540fc30c autotest: ignore SIGCONT with sim_vehicle.sh -G 2015-03-26 21:23:17 -07:00
Andrew Tridgell 97ee7e9fcc autotest: run copter SITL simulation at 400Hz
save a bit of CPU time
2015-03-25 22:30:46 -07:00
Andrew Tridgell c338002e0d autotest: fixed defaults extraction in autotest 2015-03-25 18:57:46 -07:00
Andrew Tridgell 0ea0b51ccd autotest: start plane sim during initial parameter load
this is now needed to get timestamps from JSBSim
2015-03-24 08:06:50 -07:00
Andrew Tridgell 38e9bd5336 SITL: provide simulation timestamp from JSBSim 2015-03-24 08:06:50 -07:00
Andrew Tridgell 45887a5d28 autotest: run rover and copter with synthetic clock 2015-03-22 18:57:43 -07:00
Randy Mackay e1abdadc06 AutoTest: allow 10sec for EKF to settle in AVC test 2015-03-21 21:51:41 +09:00
Randy Mackay 74b46818bd AutoTest: add 10sec before starting copter test
We should probably replace this with a check that the EKF has completed
it's initialisation and has not gone into constant position mode.
2015-03-14 11:03:15 +09:00
Georacer 9b29a9cd5d autotest: Enable SITL code to call an external ROS simulator for ArduPlane
sim_vehicle.sh code was modified to call the ROS/runsim.py file
instead of the default /jsbsim/runsim.py. ROS/runsim.py uses roslaunch
command to launch the last_letter simulator
https://github.com/Georacer/last_letter, which should be cloned
and compiled in the system.

GIT_Success.txt file was modified to depict the author's current
mindstate.

The location LGAT (Former National Airport of Athens, now an unofficial
model park) was added in the locations.txt file, since this is my
base of operations and start for my missions.
2015-03-14 09:07:52 +11:00
Andrew Tridgell 57273b41b4 autotest: removed 2560 build for copter 2015-03-13 22:58:21 +11:00
Andrew Tridgell 3c9af9e474 autotest: fixed hil mode start for sim_vehicle 2015-03-13 22:52:55 +11:00
Andrew Tridgell d44fff71cf autotest: disable ARMING_REQUIRE in autotest 2015-03-12 12:55:08 +11:00
Andrew Tridgell 08d0ac37a3 autotest: need accel offsets for 2 IMUs now 2015-03-12 12:50:30 +11:00
Andrew Chapman e90f5375d0 added octa-quad target for SITL, fixed octa motor order 2015-03-11 21:38:25 +09:00
Robert Lefebvre 45a12646be SITL: Initial improvements to tradheli simulation 2015-03-11 21:07:02 +09:00
Andrew Tridgell 3ca4142c91 SITL: added tradheli support
start with:

  sim_vehicle.sh -f heli --console --map
2015-02-24 16:16:05 +11:00
Andrew Tridgell cd2898b149 autotest: removed old table of contents link in generated paramater docs 2015-02-19 15:58:30 +11:00
Randy Mackay ae487ca88b AutoTest: remove calibrate level from copter tests 2015-02-03 14:29:11 +09:00
Andrew Tridgell 579048803c autotest: removed PX4IO firmware link 2015-02-03 09:51:42 +11:00
Paul Riseborough fe0c434d2b Simulator: Gimbal debug output changes 2015-02-03 09:49:17 +11:00
Paul Riseborough 84029f8f7c Simulator: Bypass angle limiting to allow debugging 2015-02-03 09:49:17 +11:00
Andrew Tridgell 9bdefd0bba autotest: updates for new GIMBAL_REPORT format 2015-02-03 09:49:16 +11:00
Andrew Tridgell c58397020a autotest: send targeted GIMBAL_REPORT messages 2015-02-03 09:49:15 +11:00
Andrew Tridgell 28cf93d300 autotest: added maths for correct gimbal joint limits
This adds (more) correct join rate limiting based on Pauls maths. It
avoids the coupling of the axes inherent in the last implementation

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2015-02-03 09:49:14 +11:00
Andrew Tridgell f63eb870cf autotest: change euler312 ordering conventions 2015-02-03 09:49:14 +11:00
Andrew Tridgell 791dfbff7e autotest: added mavlink gimbal simulation in copter SITL
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2015-02-03 09:49:13 +11:00
Andrew Tridgell edad8da613 pysim: added euler312 conversions 2015-02-03 09:49:13 +11:00
Randy Mackay 4de0710f88 AutoTest: copter params need accel2 offsets 2015-01-29 14:05:16 +11:00
Craig Elder ee30cb9537 Autotest: Add APM Planner logo 2015-01-28 16:33:57 -08:00
Craig Elder bd490e21d0 autotest: Added APM Planner 2.0 to Index page 2015-01-28 16:33:55 -08:00
Andrew Tridgell b4265cf467 autotest: fixes to quad view for new fg versions 2015-01-27 17:22:13 +11:00
Kevin Hester ad9c3d730c SITL: Numerous improvements to vagrant image and easier SITL for mac/windows
For full instructions/notes see Tools/vagrant/README.md

Notes:
* Old Vagrantfile updated to run faster and self init with our various
build dependancies.
* The sim_vehicle.sh script will now implicitly configure if necessary
* run_in_terminal_window.sh is now smart enough to use Screen sessions.  Or
if those are not available to warn the user but run the command with logging
going to a file in /tmp.
2015-01-23 11:00:04 +09:00
Randy Mackay d26121036f AutoTest: param file to enable SIM OptFlow 2015-01-22 14:40:23 +09:00
Andrew Tridgell b4ce3e0ba5 autotest: lock in the altitude before the FBWB test 2015-01-22 11:33:25 +11:00
Randy Mackay 4aba4b13ac AutoTest: enable BATT_MONITOR for Copter AVC 2015-01-21 14:38:11 +09:00
Randy Mackay 13fa029399 AutoTest: enable BATT_MONITOR for Plane 2015-01-21 14:38:08 +09:00
Randy Mackay 2a7f78a2cd AutoTest: reduce copter throttle when in stabilize
Simulated copter is flying too high and causing the land to timeout
2015-01-14 12:41:57 +09:00
Andrew Tridgell 82a08036f6 autotest: use small INS offsets so INS is recognised as being calibrated 2015-01-05 08:41:54 +11:00
Randy Mackay 765fa0e223 AutoTest: higher copter throttle when in stabilize 2014-12-31 15:23:00 +09:00
Randy Mackay 82a83200b1 AutoTest: minor fix to AVC copter params
remove unnecessary AHRS_EKF_USE because it's on by default now
2014-12-30 20:48:53 +09:00
Randy Mackay 4ea48f8f64 AutoTest: increase throttle for fly_square test 2014-12-30 20:48:12 +09:00
Grant Morphett 89602d60fd Autotest: Added BMAC (Belconnen Model Aero Club) to the locations list. 2014-12-07 10:58:08 +11:00
Andrew Tridgell 0d7ec0fbfe autotest: fixed buildlogs location for *.BIN 2014-11-13 21:52:48 +11:00
Andrew Tridgell e49cd68b83 autotest: save core and elf files
try to catch floating pt exception causes
2014-11-13 17:27:02 +11:00
Andrew Tridgell 7f82397467 autotest: ensure we get the BIN flight logs even on mission failure 2014-11-13 16:31:26 +11:00
Clay McClure 12c514553d AutoTest: copter test that zero alt defaults to current alt 2014-11-06 11:53:56 +09:00
Randy Mackay 95827e59c1 AutoTest: fix fly_mission to recognise end of mission
Copter's behaviour after completing a mission has changed so it does not
automatically switch to Loiter mode but rather stays at the last
waypoint.  This was confusing the fly_mission function.
2014-11-05 18:03:47 +09:00
Andrew Tridgell 05b903654e autotest: added link to devbuild tree 2014-10-30 11:13:36 +11:00
Andrew Tridgell c0f18272ed autotest: added developer build support
this creates firmware builds for developers in the devbuild directory
2014-10-30 11:12:17 +11:00
Randy Mackay 34352860e7 SITL: remove _randy sitl startup scripts
sim_vehicle.sh can be used instead and is far more flexible
2014-10-20 12:10:05 +09:00
Kristian Klausen 7b0046e75e Tools/autotest/sim_vehicle.sh: Added option to run the sim_vehicle framework with an external simulator 2014-09-11 20:09:06 +10:00
Andrew Tridgell 78c12ca9dd autotest: added skid steering support for rover in sim_vehicle.sh 2014-08-29 06:59:32 +10:00
Andrew Tridgell e836d1aa2b autotest: added CMAC_South
used to simulate takeoff to the south
2014-08-28 11:22:40 +10:00
Randy Mackay 68be36d4f8 AutoTest: reduce copter throttle when flying square
This will keep the copter lower during this test and resolve the timeout
during landing
2014-08-26 12:19:58 +09:00
Eric Liao e34b0847d7 3dr Berkeley moved - updated coords 2014-08-25 16:17:54 +09:00
Randy Mackay a0468db064 AutoTest: update sim_vehicle for antenna move 2014-08-14 20:56:07 +10:00
Andrew Tridgell 1f7305f516 autotest: support starting with HIL for plane 2014-08-13 21:35:26 +10:00
labtoast dfc9470e01 SITL: added missing parameters to sim_multicopter.py call 2014-08-11 11:22:16 +10:00
Andrew Tridgell 56f7d9285f autotest: added -N option to sim_vehicle.sh
useful for unusual builds
2014-08-09 22:50:15 +10:00
JD Russo 86baccffbd common.py: Removed timeout reset in wait_altitude
common.py:wait_altitude contained an if statement that, if the plane was changing altitude at all would reset tstart, making the timeout effectively useless. Removing this line allows wait_altitude to respect the timeout the user sets.
2014-08-07 12:40:34 +10:00
JD Russo dd93c6e0ca autotest_jenkins.py: Fixed spelling of prerequisites
Same change as in autotest.py, just correcting the spelling of 'prerequisites' in a couple places from the original misspelled 'prerequesites'
2014-08-06 19:12:02 -07:00
JD Russo 23dc2db036 autotest.py: changed 'prerequesites' to correct spelling
In a few places in autotest, the word 'prerequisites' was misspelled as 'prerequesites'. This is just a simple commit to fix that spelling.
2014-08-06 19:12:01 -07:00
Andrew Tridgell 06c3a0e96c autotest: fixed tracker sim for non-onoff mode 2014-08-03 18:16:50 +10:00
Andrew Tridgell a60590d1fe autotest: use run_in_terminal.sh for HIL 2014-07-27 22:12:08 +10:00
Andrew Tridgell 8ea098ad21 autotest: support antenna trackers with on/off servos in SITL 2014-07-23 18:41:34 +10:00
nwind21 485726258b autotest: Add code to detect if a hard link is not allowed (for VM's). 2014-07-15 12:22:48 +10:00
Randy Mackay ba25f051e7 AutoTest: reduce fence radius to 150m for testing 2014-07-14 11:25:30 +09:00
Arthur Benemann 8e0f3c152a Tools: Added 3DR Berkeley to the locations list on SITL 2014-07-06 20:34:20 +09:00
Aaron Curtis 068febda1f Tools: Fix broken duplicate check for adding new libraries to the data structure 2014-06-28 13:17:45 +10:00
Andrew Tridgell 94876dccb1 autotest: added Ballarat to autotest locations 2014-06-07 20:52:08 +10:00
Randy Mackay 4f75cbcce0 AutoTest: fix error reporting for copter AVC mission 2014-06-06 11:42:57 +09:00
Andrew Tridgell 69349f7fb0 autotest: added TomCarpark test location 2014-06-04 14:02:19 +10:00
Andrew Tridgell 0ca5a60f25 autotest: added -R to sim_vehicle.sh for reverse throttle 2014-06-04 09:40:07 +10:00
Andrew Tridgell 9ae32addc8 autotest: convert Rascal back to a tail dragger 2014-06-03 16:16:00 +10:00
Andrew Tridgell 0a79efae61 autotest: fixed problem with initial JSBSim headings to east
this avoids an auto-trim problem in JSBSim
2014-06-03 16:15:22 +10:00
Andrew Tridgell 4607fe9bf1 autotest: cope with newer versions of JSBSim 2014-06-03 16:14:16 +10:00
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