Commit Graph

3314 Commits

Author SHA1 Message Date
Michael du Breuil
177c4c2d44 Tools: Accept mAh as a unit 2018-05-26 08:49:02 +09:00
Eugene Shamaev
68ec9f4119 Tools: add CAN bus declaration for the intel aero board 2018-05-25 13:53:17 +10:00
Lucas De Marchi
2916a3f40c build: add --apstatedir for Linux boards
This is the --localstatedir that is found on other
buildsystems/programs + the package directory. We could provide a
--localstatedir instead to be similar to the others, but I thought it
would be too confusing for the help message.
2018-05-24 08:00:33 -07:00
Tom Pittenger
c59be8bafe Tools: add "octal" param unit 2018-05-23 14:02:45 -07:00
Jesse Millwood
014702fc64 Changed Argument Parsing for sim_vehicle.py
The arguments now properly pare the arguments passed through to the
ardupilot instance and to mavproxy.
2018-05-23 17:34:24 +10:00
Francisco Ferreira
ddb45a0813 waf: move skyviper-v2450-px4 definitions to board config 2018-05-22 08:35:01 +09:00
Eugene Shamaev
797fc84e92 Tools/CPUInfo: type conversion 2018-05-22 08:35:01 +09:00
Andrew Tridgell
a17979383d autotest: fixed single and coax motor ranges 2018-05-21 13:04:13 +10:00
Yuuya Fujiwara
abc8208028 Tools: Add name to GIT_Success.txt 2018-05-21 09:46:56 +09:00
seitakataro
a4e208c6cc Tools: Added my name to GIT_Success.txt 2018-05-21 09:42:56 +09:00
Peter Barker
d320e8517d Tools: correct check for realpath 2018-05-17 17:27:43 +10:00
Peter Barker
ee01687c55 Tools: fix autotest/valgrind on Vagrant virtual machines 2018-05-17 17:27:43 +10:00
Michael du Breuil
82d486add0 Tools: Add proximity as a common library 2018-05-16 23:21:41 +01:00
Andrew Tridgell
cc931e9a2a waf: allow F4Light USB ID to be recognised 2018-05-16 20:24:23 +10:00
murata
47b0e00b11 autotest: Added test field location. 2018-05-16 09:57:08 +09:00
Peter Barker
3615219c4c Tools: install-prereqs-ubuntu: correct check for realpath 2018-05-16 08:35:54 +10:00
Peter Barker
fd4463de68 Tools: add more information on test failure 2018-05-15 20:06:05 +09:00
Peter Barker
23a2ea4084 Tools: autotest: set rc to 1500 on RTL 2018-05-15 20:06:05 +09:00
Guilherme Sousa
dab3b93dc3 autotest: Improved motor failure test
This is based on https://github.com/ArduPilot/ardupilot/pull/6028 by
GuilhermeGSousa
2018-05-15 20:06:05 +09:00
Peter Barker
5f44327dab Tools: install-prereqs-ubuntu: only install realpath package if available
This has been rolled into coreutils in more recent Ubuntus
2018-05-15 12:52:03 +10:00
Buzz
0f39c4da80 Tools: install-prereqs-ubuntu.sh: increase verbosity
Make it a bit more verbose in regard to which script is running, helpful for new user/s especially.
2018-05-15 12:09:32 +10:00
Buzz
b3e8618f9d Tools: initvagrant.sh: increase verbosity
- it needs to be run as root, but did not check.
 - increase the verbosity a bit as during 'vagrant up' as its often unclear which script is actually running.
2018-05-15 12:08:56 +10:00
Buzz
f5b2d5ca66 Tools: jsbsim script should not re-install jsbsim if it's already installed
It's called unconditionally from other script/s that may be run repeatedly
2018-05-15 12:08:19 +10:00
Andre Kjellstrup
63c1439c39 geotag.sh - an advanced geotagging tool.
It can do all, tag by time, with offset, by CAM messages, detect and
help correct problems, and process multiple logs(flights) at once.
2018-05-15 11:30:21 +10:00
LAPTOP-HP031GUH\waga
6b13e211ba Tools: Add name to GIT_Success.txt 2018-05-14 06:08:14 +10:00
stephen.dade
ce31c55091 Tools - added extra packages for Cygwin environment setup scripts 2018-05-12 10:59:10 +09:00
Peter Barker
167553e8a5 Tools: autotest: tidy usage and simplify vehicle build steps 2018-05-11 13:43:33 +10:00
ChristopherOlson
087fd4effc Tools: Add default tuning params for single-rotor TradHeli
Tunes PSC, LOIT, NAV, ATC specific to Copter 3.6 and New Loiter
2018-05-11 12:28:14 +09:00
Peter Barker
f3d6d8e236 Tools: autotest: make Copter tests more reliable
RTL may disarm the vehicle on completion.  We RTL at several times in
the testing, and the subsequent tests were not rearming.  This means we
had a race condition.

We now explicitly wait to be disarmed by the RTL mode, and rearm the
vehicle.

This is an interim patch until we decide whether to make each "test"
self-contained, and have a precondition of "on ground and disarmed".
2018-05-11 08:07:21 +09:00
Daisuke IMAI
04dbb0dd9d Tools: Add name to GIT_Success.txt 2018-05-10 13:38:19 -07:00
Peter Barker
4847a61868 Tools: build all vehicles in build-with-disabled-features 2018-05-10 17:55:13 +09:00
Andrew Tridgell
6ab96fe8a9 Tools: don't publish elf files in build_binaries.py
these just confuse users of ChibiOS
2018-05-10 17:37:59 +10:00
Peter Barker
58f4b4b65d Tools: autotest: correct copter auto mission test 2018-05-09 14:23:51 +10:00
Peter Barker
513865ae4d Tools: autotest: flake8 compliance 2018-05-09 14:23:51 +10:00
Karthik Desai
40cd0cd17f Tools: autotest: Use the generic run_test.
If any of the tests throws an exception, it will be caught by the generic test function
that collects all errors and displays them before passing the result to the vehicle testcode.
Hence the name of the test and the exception that got raised get printed in a single
location. This nicely reduces code duplication.
2018-05-09 14:23:45 +10:00
Karthik Desai
7a20dd8b73 Tools: autotest: Added a generic run_test.
This function is called from every vehicle to run a test. If any of the tests throws an exception, it will be caught here, and the name of the test and the exception that got raised will be added to the fail_list
2018-05-09 14:23:40 +10:00
Karthik Desai
b485867db3 Tools: autotest: Check if the mode exists in the dictionary 2018-05-09 14:23:35 +10:00
Karthik Desai
d26c09ccac Tools: autotest: Add and raise exceptions for wait_* helper functions 2018-05-09 14:23:26 +10:00
Andrew Tridgell
9096bcf7b2 Tools: fixed reference to linux-debug 2018-05-09 14:17:32 +10:00
Pierre Kancir
cc50fff51f Tools: install-prereqs-ubuntu: add xterm to SITL install list 2018-05-09 13:38:36 +10:00
Dimitri Vasilkov
d2c247bb90 Added to success.txt, added UChicago to locations.txt 2018-05-08 13:42:31 -07:00
Patrick José Pereira
9dee2c4981 Tools: Add ardusub
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-08 09:58:13 +10:00
Patrick José Pereira
f4559113c5 Tools: Update build_docs script
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-08 09:58:13 +10:00
Peter Barker
cb2e3424ee Tools: add kilobytes as known unit 2018-05-08 09:36:01 +10:00
Randy Mackay
f8711f70c9 Tools: correct sitl rover-skid default params
steering rate P gain was too high, default is better
2018-05-05 10:13:06 +09:00
Lucas De Marchi
997d9f58de build: invert default for header checks
In the end the build time is always almost the same, but it's a pain to
change one header and have it check the world. CI continues to use the
check so we can get any mistake before merging.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
73edda697d build: align help options
While it's aesthetically nice to start the help message in a new line
looking at the code, the first \n screws the output leaving them not
aligned.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
9342bc5050 build: invert default for lttng
Since it's a debug option, particularly for the scheduler, leave it
disabled by default and let the user enable on demand.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
4697089a82 build: move Linux configuration options to its own sections 2018-05-04 11:47:04 -07:00
Peter Barker
4e53d9e1a8 Tools: correct flashing under Linux 2018-05-04 18:37:14 +10:00
Andrew Tridgell
3b143a99bf autotest: removed sitl-debug varient 2018-05-04 18:33:53 +10:00
stephen.dade
76cc014245 waf: Allow spaces in paths when compiling for ChibiOS targets 2018-05-04 12:47:06 +10:00
Andrew Tridgell
835484429d waf: don't build ChibiOS with debug by default
this makes builds (and rebuilds with ccache) faster
2018-05-04 12:17:12 +10:00
mirkix
f4a38d6f2a Linux_HAL_Essentials: PocketPilot: change pinorder to final design 2018-05-04 08:00:49 +10:00
Andrew Tridgell
9e76555152 autotest: added --no-extra-ports option for sim_vehicle.py 2018-05-02 19:24:20 +10:00
Pierre Kancir
a43183ec14 Tools: sim_vehicle.py: Allow to pass custom param file 2018-04-26 22:40:49 +01:00
Randy Mackay
94a1a025f1 Tools: update AION R1 default params 2018-04-26 14:07:08 +09:00
Andrew Tridgell
2aceab2b66 Replay: fixed build 2018-04-24 21:33:10 +10:00
khancyr
9ade6cd579 Replay: Remove AP_InertialNav 2018-04-24 21:33:10 +10:00
Randy Mackay
7f7a588002 Tools: add accel and turn-rate max and increase steering angle P
these parameters were added to Rover-3.3
2018-04-23 11:06:34 +09:00
Peter Barker
5b03835103 Tools: autotest: correct pattern match in get_parameter 2018-04-18 20:31:55 +09:00
Peter Barker
802e4c6315 Tools: autotest: add tests for relays 2018-04-18 20:31:55 +09:00
Karthik Desai
75ae59c0c8 Autotest: Remove frame initialisation.
This will otherwise override the --frame parameter. The init() function takes care of the initialisation
2018-04-17 23:00:04 +10:00
Randy Mackay
1b26f8527a Tools: remove RC params from eLAB445 param file 2018-04-17 08:35:36 +09:00
Randy Mackay
741d641876 Tools: remove unused real-flight default param files 2018-04-17 08:32:25 +09:00
Andrew Tridgell
5fb8fe927c waf: added AP_ROMFS to build 2018-04-17 08:44:44 +10:00
Andrew Tridgell
a14fbb201f Tools: added IO_Firmware for fmuv2 2018-04-17 08:44:44 +10:00
Randy Mackay
781a0b457b Tools: update WLToys v383 roll and pitch rate gains 2018-04-13 18:38:38 +09:00
Pierre Kancir
332560bdf7 Tools: add Skeytech location 2018-04-12 16:34:59 +01:00
murata
0fd71f909c autotest: Add the home ground of ArduPilot drone software engineer training school in Japan. 2018-04-12 14:21:58 +09:00
Andrew Tridgell
02f20b4114 HAL_ChibiOS: first version of OMNIBUSF7V2 board support
first F7 based board
2018-04-12 11:50:44 +10:00
Andrew Tridgell
827108617a waf: only generate an abin file when needed
this saves on user confusion
2018-04-11 15:09:49 +10:00
Michael du Breuil
f19d01332b Tools: Reintroduce arduplane to CI script 2018-04-11 13:26:29 +10:00
Peter Barker
b4682f8b2a Tools: scripts: build_binaries.py: understand magic ChibiOS boards 2018-04-10 15:48:31 +10:00
Peter Barker
1b3dc9faf7 Tools: scripts: build_binaries.py: remove tmpdir between all builds
This ensures we don't reuse build producs incorrectly.
2018-04-10 15:48:31 +10:00
Peter Barker
4a986264be Tools: build_binaries: add fmuv{2,3,4} and mindpx-v2 to common vehicles 2018-04-10 15:48:31 +10:00
Randy Mackay
2f26b3faa1 Copter: update HeliQuad param file
fix servo range and reverse params
2018-04-09 16:42:38 +09:00
Randy Mackay
80e5742d77 Tools: correct HeliQuad param file 2018-04-09 08:42:00 +09:00
Andrew Tridgell
8eaac031af waf: added AP_BLHeli 2018-04-07 09:10:29 +10:00
Andrew Tridgell
c50359a5b5 waf: throw an error if hwdef.dat can't be processed 2018-04-07 09:10:29 +10:00
Randy Mackay
8186ce0d32 Tools: add deg/s/s to valid parameter units 2018-04-05 12:14:59 +09:00
Peter Barker
9138c07fc5 Tools: install-prereqs-ubuntu: install wx for python on older Ubuntus
This installs wx on Trusty, so graphing from sim_vehicle.py works.
2018-04-04 07:58:23 +10:00
Peter Barker
1348e37ef0 Tools: Vagrant: install a mavinit.scr 2018-04-04 07:58:23 +10:00
Peter Barker
a03ddc6798 Tools: autotest: correct default parameter names and paths 2018-03-29 09:19:36 +11:00
Michael du Breuil
69cf009898 AutoTest: Update copter battery failsafe test 2018-03-27 22:12:21 +01:00
Michael du Breuil
8fbec1cfa3 Replay: Support GCS_MAVLink changes 2018-03-27 22:12:21 +01:00
Peter Barker
dca866c98d Tools: make parameter generation failure clearer 2018-03-26 12:39:23 +11:00
Andrew Tridgell
98ab1c13db Tools: fixed call to apj_tool in skyviper build 2018-03-24 16:11:50 +11:00
Peter Barker
cafa5382e9 Tools: Revert "Tools: autotest: use custom gcc for ChibiOS builds"
This reverts commit 78a3e1d07a.

Apparently we can release with the existing compilers, it builds and
flies just fine
2018-03-23 13:06:59 +11:00
Andrew Tridgell
97565ef97f Tools: added F412 bootloader 2018-03-23 12:28:16 +11:00
Peter Barker
6dfdb19711 Tools: include VisualOdom in common vehicle libraries 2018-03-23 09:28:07 +09:00
Karthik Desai
9de1813ae6 Autotest: Fix a race condition on the regression tests on Windows 2018-03-23 09:13:37 +09:00
Peter Barker
78a3e1d07a Tools: autotest: use custom gcc for ChibiOS builds 2018-03-23 11:06:24 +11:00
Peter Barker
a396a0d0fd Tools: build_binaries.py: copy more build products into output binaries directory 2018-03-23 11:06:24 +11:00
Peter Barker
53f4282458 Tools: include skyviper-v2450 in binaries produced 2018-03-23 11:06:24 +11:00
Peter Barker
44a063e818 Tools: ardupilotwaf: chibios: change directory before running make_abin.sh
Any waf build which is done outside of the git checkout will fail to create the abin without this, as it attempts to invoke git.

An example of this is the autotest system
2018-03-23 11:06:24 +11:00
Peter Barker
edd0f74ec0 Tools: ardupilotwaf: chibios: hand apj tool an absolute path to parameters
Any waf build specifying an --out which is not at the same level as the default "build" will fail without this
2018-03-23 11:06:24 +11:00
night-ghost
a5934c721e Bootloader: bl revo405_bl fixed reboot to DFU mode, also added "instant" reboot without delay 2018-03-23 07:48:40 +11:00
Peter Barker
5aa8890e5b Tools: autotest: fail convertgpx if zip or gpsbabel fail 2018-03-22 09:11:44 +11:00
Peter Barker
338af9e142 Tools: correct misleading comment on per-vehicle parameter descriptions 2018-03-21 21:05:42 +11:00