Commit Graph

1104 Commits

Author SHA1 Message Date
Francisco Ferreira 2645760d19
Tools: sim_vehicle.py: fix small bug introduced in e298e87
Thanks to @cclauss for finding this
2017-08-29 12:16:23 +01:00
Peter Barker e298e87791 sim_vehicle: add --callgrind option 2017-08-28 13:47:27 +01:00
Peter Barker 24e616af7d Tools: autotest.py: factor write_fullresults 2017-08-26 17:54:32 +01:00
Peter Barker 0334cc1c88 Tools: correct copter's fly_throttle_failsafe failure case 2017-08-26 09:36:09 +10:00
Francisco Ferreira 415cb41c7f
Tools: add gdbserver option to Rover autotest
commit 38297c4 missed changing Rover file
2017-08-25 02:38:12 +01:00
Peter Barker a7b919f025 Tools: do not attach gdb to gdbserver unless --gdb is given 2017-08-24 21:37:06 +10:00
Miguel Arroyo 38297c4d19 Tools: Adds GDBServer with screen option for debugging 2017-08-24 21:37:06 +10:00
khancyr db3c387916 Tools: update relay pins for brushed motors in SITL 2017-08-24 20:10:32 +09:00
Andrew Tridgell f5d91f63d2 autotest: fixed firefly parameters 2017-08-20 09:37:00 +10:00
khancyr e116ec4eb0 Rover: update SITL parameters 2017-08-17 09:47:39 +09:00
Randy Mackay 7df73c50e8 SITL: remove unnecessary THR_MAX parameter default 2017-08-17 09:39:40 +09:00
Jacob Walser 8121091fb6 Sub: Don't configure RC params in SITL 2017-08-16 11:37:46 -04:00
Randy Mackay 9b63c8751f SITL: rover default params in alphabetical order 2017-08-15 20:47:19 +09:00
Randy Mackay 1582bd85af SITL: update rover default parameters 2017-08-15 20:47:19 +09:00
Peter Barker a2af13c17e Tools: calibrate SITL sub RC in autotest's sub parameters 2017-08-14 15:32:25 +09:00
Daniel Orbach 3c66663880 Tools: autotest.py: Squashed the code for default.* steps in run_step(). 2017-08-14 12:16:29 +10:00
Daniel Orbach 91e25bb937 Tools: autotest.py: Made use of shutil.copy2() where appropiate. 2017-08-14 12:16:29 +10:00
Daniel Orbach befd8b028b Tools: autotest.py: Moved all imports to top of file. 2017-08-14 12:16:29 +10:00
Daniel Orbach e951df7d50 Tools: autotest.py: Simplified binary_path through lookup table 2017-08-14 12:16:29 +10:00
Daniel Orbach 29ab76e714 Tools: autotest.py: Slightly cleaned up run_tests. 2017-08-14 12:16:29 +10:00
Daniel Orbach 04791139c0 Tools: autotest.py: Separated function definitions and script code. 2017-08-14 12:16:29 +10:00
Peter Barker 2437260f8a Tools: copter horizontal fence test waits for disarm then rearms 2017-08-04 17:44:43 +01:00
Peter Barker dd09bb338e Tools: wait for vehicle to disarm after handling throttle failsafe 2017-08-04 17:44:43 +01:00
Andrew Tridgell 224dc439ab Tools: updated parameters to remove ELEVON and VTAIL settings 2017-08-01 08:25:32 +10:00
Andrew Tridgell 2fb94597ba autotest: adjust default params for new mixing 2017-08-01 08:25:32 +10:00
Peter Barker c383d64954 Tools: ardusub.py: increase timeout to allow Valgrind to pass 2017-07-20 15:45:15 +10:00
Francisco Ferreira eda5d9265f
Tools: add new no-emit option to param_parse.py so that only validation is done 2017-07-18 14:15:39 +01:00
Michael du Breuil 31924e46d3 Tools: Parameters: Permit kHz as a unit 2017-07-16 08:26:52 +10:00
khancyr 5c8b8cc9a1 Tools: update rover skid param 2017-07-08 16:07:13 +09:00
Peter Barker 86d8252166 Tools: correct sim_vehicle's --tracker option 2017-07-07 16:18:37 +01:00
Peter Barker 84e4e282f0 Tools: autotest: use copter-single for most of copter-coax parameters 2017-07-05 17:34:09 +01:00
Peter Barker a6de3b6865 Tools: use heli params for most of heli-dual params 2017-07-05 17:34:09 +01:00
Peter Barker 791b1f43e9 Tools: allow heli autotest to use different frame 2017-07-05 17:34:09 +01:00
Peter Barker 9948bed2a2 Tools: use rover params for most of rover-skid params 2017-07-05 17:33:32 +01:00
Peter Barker cb81f9c8b3 Tools: allow Rover to use inheritted config files 2017-07-05 17:29:55 +01:00
Peter Barker 59647b3434 Tools: autotest: correct Copter params file handling 2017-07-05 17:29:55 +01:00
Andrew Tridgell 392d990950 autotest: added dspoiler parameters for plane
and simplify vtail and elevon parameters
2017-07-03 11:17:42 +10:00
khancyr 71bb0b24ed Autotest: remove SKID_STEER_OUT from default param 2017-06-28 18:53:51 +01:00
Peter Barker 34e611be59 Tools: autotest: wait for plane to disarm before downloading logs 2017-06-27 03:10:43 +01:00
Peter Barker 05ea121d0c Tools: autotest: disarm rover before downloading logs 2017-06-27 03:10:43 +01:00
Pierre Kancir 4270bac49e Rover: update default param file for new skid steering 2017-06-24 13:17:34 +09:00
Randy Mackay 74f5ddb823 SITL: add copter-beacon parameter file
This allows easier testing of the Beacon code in SITL
2017-06-20 20:42:36 +09:00
Jacob Walser b752594fe5 param_metadata: Markdown parameter formatter 2017-06-20 14:53:17 +10:00
Stephen Dade b6816285e5 Tools: APM source is not required to be in Cygwin dir 2017-06-14 18:03:25 +01:00
Pierre Kancir c25c92bfb6 Params: add battery monitor for SITL rover and gazebo 2017-06-07 20:29:02 +10:00
Andrew Tridgell 228cba2524 autotest: fixed default frame type in sim_vehicle.py 2017-06-02 16:53:55 +10:00
hrykyn b09ebbb891 autotest: add locations
adding location of Hata-drone-field, JAPAN
2017-05-28 07:30:53 -07:00
murata 75e770c83c Tools: add support for dodeca-hexa 2017-05-27 14:21:13 +09:00
Peter Barker 2ddf7f99b5 Tools: autotest: option to run different frame 2017-05-26 16:53:07 +09:00
Peter Barker 96cfba971c Tools: vehicleinfo: factor out a default_frame method 2017-05-26 16:53:07 +09:00
Peter Barker 3a9ac2ef40 Tools: pull out vehicle metadata into a library 2017-05-26 16:53:07 +09:00
Pierre Kancir 971c8d5948 Tools: use parm inheritance for gazebo iris model 2017-05-25 10:02:32 +10:00
Peter Barker d1fb2e7c53 Tools: use parm inheritance for copter models 2017-05-25 09:58:53 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas 023e3b6e30 Tools: Add comments explaining why a couple of units are not SI 2017-05-17 18:07:25 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas 02e7c49394 Tools: remove non-ASCII characters in comments, Travis chokes on them 2017-05-17 18:07:25 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas d7c7deacdf Tools: Follow SI units conventions
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
http://www.bipm.org/en/publications/si-brochure/
http://www1.bipm.org/en/CGPM/db/3/2/   g_n unit for G-force
one further constrain is that only printable (7bit) ASCII characters are allowed

Add a validation so that Travis can validate the units
Use full text unit information when generating .wiki, .rst and .html documentation
Use both unit symbol and unit full text when generating .xml
2017-05-17 18:07:25 +10:00
Miguel Arroyo d9546523a3 Tools: sim_vehicle.py fix for Python 3 2017-05-17 11:15:34 +10:00
Peter Barker ca5bf02d7c autotest: quote words as they go into generated ritw file 2017-04-29 11:31:26 +10:00
Peter Barker e90c62ffc6 autotest: run_in_terminal_window gets SITL_RITW_MINIMIZE
This is handy when running gdb repeatedly; don't
need to find the iconified window all the time.
2017-04-26 14:12:10 +10:00
Andrew Tridgell 4240d3f739 Autotest: support tilttri-vec quadplane 2017-04-24 16:54:41 +10:00
Pierre Kancir d4bd61d859 APMRover2: unhide default NAVL1_PERIOD with a define
set the correct value to param
2017-04-15 13:48:40 +10:00
Stephen Dade 78d1ea4727 SITL: Added missing files to win_sitl and removed -j4 2017-04-10 10:09:18 +10:00
Stephen Dade 024c91de20 SITL: Added setup scripts for Windows (Cygwin) users 2017-04-10 10:09:18 +10:00
Andrey Kolobov a8b36a9be8 autotest: An X-Plane soaring mission file 2017-04-08 20:01:33 +10:00
Andrey Kolobov c06cfc84ff autotest: Parameter file for an X-Plane RC sailplane model called Vee-gull 005 2017-04-08 20:01:21 +10:00
Jacob Walser b1906d6c04 autotest: (Sub) only execute one circle instead of four 2017-04-07 14:47:48 -04:00
Jacob Walser 82cebe47dc autotest: (Sub) dont wait_alititude after mission 2017-04-06 14:06:46 -04:00
Jacob Walser 52d2ccaa29 autotest: Fix Sub RCInput channels 2017-04-06 13:52:29 -04:00
Jacob Walser 2940673994 default_params: (Sub) Remove old parameters from defaults file 2017-04-05 13:29:06 -04:00
Guilherme Sousa b20b0fbbd3 default-params: Added parameter files for octa and octa-quad 2017-03-29 22:43:14 +11:00
Guilherme Sousa 442715ab1b autotest: Added new frame parameters for hexa, octa and octa-quad options 2017-03-29 22:43:14 +11:00
Guilherme Sousa 30dc71547e default_params: Added parameters for hexa testing in SITL 2017-03-29 22:38:11 +11:00
Andrew Tridgell 8387e1e69c autotest: added parameters for heli-dual model 2017-03-25 16:22:10 +11:00
Andre Kjellstrup bc8a212b68 one SITL location corrected 2017-03-23 14:24:43 -07:00
Pierre Kancir 1bb4e3c9b7 AP_IRLock_SITL: make port variable 2017-03-18 19:58:11 +11:00
Pierre Kancir fb79c96448 sim_vehicle.py: add gazebo rover 2017-03-18 19:58:11 +11:00
Andre Kjellstrup 7c817b2761 Adding SITL locations 2017-03-16 16:35:43 +01:00
Warren Eather c2c69702ba Update locations.txt 2017-03-15 22:20:49 +11:00
GuillermoGuevara c2905fc7f6 Update
Is it better this way :)
2017-03-14 21:29:28 +01:00
Jacob Walser 8c64728ffd autotest: Add auto mission to Sub autotest 2017-03-10 15:46:30 +11:00
Jacob Walser 2c4e6a8fb6 web-firmware: Add Sub link to firmwares page 2017-03-01 14:44:55 +11:00
Jacob Walser ec15f0fee5 autotest: Add Sub 2017-02-25 17:50:18 +11:00
Peter Barker 3f7d58fe2c sim_vehicle.py: allow a list of defaults files to be specified 2017-02-23 22:46:33 -08:00
Peter Barker 64d4e094fb Tools: sim_vehicle.py: correct formatting (NFC) 2017-02-23 11:07:37 +11:00
Peter Barker b256bc1dc0 Tools: sim_vehicle.py: add a warning when frame not found
We don't always have configuration for a frame type, but
it is atypical to run sim_vehicle like that.
2017-02-23 11:07:37 +11:00
Peter Barker 3be8c1e70b Tools: sim_vehicle.py: move metadata into _options
This centralises configuration information in _options and
removes duplication of data
2017-02-23 11:07:35 +11:00
Peter Barker fec23f6abe Tools: sim_vehicle.py: print possible frame types in help message 2017-02-23 11:07:05 +11:00
Peter Barker dd9de7dfb5 Tools: sim_vehicle.py: improve help about vehicle types 2017-02-23 11:06:28 +11:00
Peter Barker aec7091faa autotest: Add support for Sub in sim_vehicle.py 2017-02-21 11:26:14 +11:00
Andrew Tridgell 41b9d7c2c9 autotest: added tailsitter parameters 2017-02-18 17:31:10 +11:00
Andrew Tridgell 94fb390bda autotest: added sim_vehicle.py support for tailsitter 2017-02-18 17:26:43 +11:00
Pierre Kancir 332735d2ee SITL: update default param for skid steer rover 2017-02-16 09:45:08 +11:00
Andrew Tridgell 496ed18530 autotest: sort libraries by name 2017-02-07 10:37:24 +11:00
Pierre Kancir 38b6ced640 Tools: sim_vehicle add option to disable mavproxy launch && better exit handling 2017-02-06 11:35:54 +01:00
Andrew Tridgell 2bb3d395cf autotest: setup for firefly6 quadplane parameters 2017-02-06 16:18:58 +11:00
Andrew Tridgell de59f27e14 autotest: fixed parameter generation for recursive libraries 2017-02-06 15:12:32 +11:00
Pierre Kancir a6c82a0919 SITL: add an option to launch SITL from a directory 2017-02-02 04:26:37 +00:00
Peter Barker 817efe9b6d Tools: expect message for EKF readiness rather than sleeping
This solves a problem for me when running Valgrind as
30s was not sufficient
2017-01-26 16:53:13 +11:00
Andrew Tridgell 715db62a85 autotest: added quadplane-cl84 support 2017-01-25 19:01:15 +11:00
Andrew Tridgell 19b21b4012 autotest: fixed quadplane-tilttri params 2017-01-22 19:43:42 +11:00
Andrew Tridgell b27e4dbd0c autotest: added FRAME_CLASS for gazebo-iris 2017-01-20 21:19:55 +11:00
Randy Mackay 0b85921505 Tools: update param file for sitl optflow testing 2017-01-16 16:40:34 +09:00
Andrew Tridgell e52cff3f0b autotest: fixed throttle range for default parameters 2017-01-13 08:36:26 +11:00
Andrew Tridgell 978d32ff12 autotest: fixed JSBSim plane defaults 2017-01-12 21:30:17 +11:00
Andrew Tridgell a56090113c autotest: fixed sim_vehicle.py with -f heli 2017-01-12 17:39:37 +11:00
Andrew Tridgell fda31e67d9 autotest: fixed arducopter binary name 2017-01-12 17:39:37 +11:00
Andrew Tridgell 8504a8baad autotest: fixed sim_vehicle for new frame builds 2017-01-12 17:39:37 +11:00
Andrew Tridgell 34a7d47b3f autotest: fixed frame class for quadplane tri frames 2017-01-12 17:39:37 +11:00
Andrew Tridgell 3df55b575f Tools: fixed copter tri reverse default
SITL tricopter doesn't need reversed tail servo
2017-01-12 17:39:37 +11:00
Andrew Tridgell cf636a2ea5 autotest: fixed default parms for more vehicles 2017-01-12 17:39:37 +11:00
Andrew Tridgell a10e8b9b4b Tools: fixed quadplane parameters 2017-01-12 17:39:37 +11:00
Andrew Tridgell d07d2d9a40 Tools: adapt to new RC_Channel API 2017-01-12 17:39:37 +11:00
Peter Barker 1432763ca5 Tools: permit overriding shell to use when running in terminal window 2017-01-12 10:47:34 +11:00
Randy Mackay 9d315b0829 Tools: sim_vehicle spelling correction 2017-01-09 20:40:59 +09:00
Peter Barker 07ad28f8b0 Tools: rename FRAME to FRAME_TYPE
SITL was broken after 12d024e0c6
2017-01-02 10:46:32 +11:00
Randy Mackay daea22d4ac Tools: autotest scripts set FRAME_CLASS 2016-12-31 10:55:23 +09:00
Daniel Schonfeld ef637e4add a better way to determine if were running inside a vagrant box 2016-12-29 10:46:29 +11:00
Andrew Tridgell e71ee51a9c autotest: removed use of EKF_ENABLE parameter 2016-12-19 08:07:13 +11:00
Michael Day 37a165f5bf Tools: Added some Georgia fields to locations.txt 2016-12-14 09:53:57 +09:00
Michael Day 1ef298a06a Tools: Added Flicker field to locations.txt 2016-12-08 05:57:11 -08:00
Andrew Tridgell 57facb4a9d autotest: removed ARSPD_ENABLE parameters 2016-12-05 16:51:49 -08:00
Michael Day 3bdeac78c7 Tools: Add Range11 to locations.txt 2016-12-05 09:37:15 -08:00
Andrew Tridgell a191792e4b autotest: added octa-quad sim_vehicle.py option
this was missed in conversion from sim_vehicle.sh
2016-11-30 08:02:03 +11:00
Lars Kellogg-Stedman 95134d87b0 add support for a user locations.txt file to sim_vehicle
it is inconvenient to modify locations.txt in the source, because this
will lead to the file being constantly marked as modified by git (and
potentially included in pull requests by accident).

this commit adds support for a user-maintained list of locations.
This file lives by default in
`$XDG_CONFIG_DIR/ardupilot/locations.txt` (aka
`$HOME/.config/ardupilot/locations.txt`), but may also be specified in
the `ARDUPILOT_LOCATIONS` environment variable.
2016-11-15 19:42:54 +11:00
Peter Barker cd67c4c75c Tools: sim_vehicle.py strips comments in locations.txt 2016-11-15 13:52:59 +11:00
Justin Easter 4b04c6d46b autotest: fix MSL altitude, adjust heading 2016-11-12 08:19:28 -03:00
Justin Easter 950fde477d autotest: add two new locations
Perkins Field is a testing field.
KNUI: Webster Naval Outlying Field hosts the AUVSI SUAS Competition.
2016-11-11 15:23:31 +11:00
Pierre Kancir bec09b9a57 autotest: python3 support 2016-11-09 11:48:22 -03:00
Pierre Kancir 5786d66ea1 autotest: simplify start_sitl 2016-11-09 11:48:22 -03:00
Pierre Kancir 4462dcdd4d sim_vehicle.py: add python3 support 2016-11-09 11:48:22 -03:00
Jani Hirvinen 81bdabe6cb Update index.html 2016-11-08 12:26:30 +11:00
Jani Hirvinen 8ede423b34 Update index.html 2016-11-08 12:26:03 +11:00
Randy Mackay 31b5941c45 SITL: revert increase speed of yaw in copter sitl
ACRO_Y_EXPO's default has been set to zero so we need to revert the
change to the yaw input in the SITL autotest
2016-11-07 10:34:33 +09:00
Randy Mackay 964ddfb0d2 SITL: increase speed of yaw in copter sitl
This should resolve the SITL failures caused by the recent change to add
yaw expo to all manual flight modes
2016-10-27 10:44:44 +09:00
Peter Barker 30233ab9b8 Tools: unhide groups when generating parameters in autotest 2016-10-26 09:53:14 +11:00
Pierre Kancir 2cefaf8a4d autotest: update gazebo-iris parms 2016-10-19 18:04:09 +11:00
Andrew Tridgell d967074183 autotest: disable rebuild-on-failure by default
the waf build has much better dependencies, so on balance this is more
annoying than useful now
2016-10-19 09:58:54 +11:00
Andrew Tridgell fcc89a2577 autotest: fixed RC_CHANNELS_RAW -> RC_CHANNELS 2016-10-14 11:40:23 +11:00
khancyr bba5b0e530 autotest: update gazebo-iris parms 2016-10-13 20:40:49 +11:00
Andrew Tridgell ec1462dccf autotest: use minimal params for zephyr gazebo model 2016-10-13 12:03:20 +11:00
Andrew Tridgell 860f1918e8 autotest: update gazebo-iris parms to be minimal 2016-10-13 12:03:20 +11:00
John Hsu 4c14707611 SITL: set simulation names gazebo-iris and gazebo-zephyr in sim_vehicles.py 2016-10-13 12:03:20 +11:00
John Hsu 7cae83581b SITL: add Gazebo SITL params for Iris with IRLocak tracking, Zephyr elevon flying wing model, and update sim_vehicles.py with GazeboIris and GazeboZephyr labels. 2016-10-13 12:03:20 +11:00
josecoto de5b40d70e Update locations.txt 2016-10-11 19:47:53 +11:00
josecoto e6eafc4506 SITL- Add EPI Gijon location
This is the Politechnic School of Engineering (University of Oviedo, Spain) test ground location were our students test UAVs and SITL simulator
2016-10-11 19:47:53 +11:00
Peter Barker 068c310ed5 Tools: remove hard-coded FRAME global, specify same via parameter 2016-10-10 11:09:47 +11:00
Fnoop 2c0b687b9d Tools: Make default udpout ports scale by instance in sim_vehicle.py 2016-10-09 21:49:45 +11:00
Peter Barker edf6964487 Tools: autotest: emit lockfile name in case of contention
For those of us who want to remove the lockfile and can
never remember where it lives
2016-09-23 16:55:52 +10:00
Peter Barker c23ee3d35c Tools: tag run-in-terminal-window output with RiTW: 2016-09-19 12:55:42 +10:00
Peter Barker 909f7779c7 Tools: rearrange sim_vehicle.py to put all functions first 2016-09-19 09:13:53 +10:00