Commit Graph

3625 Commits

Author SHA1 Message Date
Andrew Tridgell c44a8309f9 AP_Bootloader: fixed strncmp bug 2018-06-28 11:35:13 +10:00
Andrew Tridgell 28ad2287c8 AP_Bootloader: for fast boot don't init USB 2018-06-28 11:35:13 +10:00
Andrew Tridgell b6e057dfb9 AP_Bootloader: use RTC sig for fast boot 2018-06-28 11:35:13 +10:00
Andrew Tridgell bff796af4e Tools: removed annoying print msgs 2018-06-28 11:35:13 +10:00
Andrew Tridgell 8ae6b2e026 waf: fixed dependency of hwdef.h on hwdef.dat 2018-06-27 11:37:45 +10:00
Andrew Tridgell d12cf0ab59 waf: added -Werror on signed comparison 2018-06-27 11:37:45 +10:00
Evan Hammac 37accc96f6 Tools: Added Tyndall AFB to locatons.txt file 2018-06-27 09:37:25 +10:00
Lucas De Marchi 49d08ba72a Global: remove minlure
Minlure is a port of ArduPilot to Minnow Board connected to daughter
board. Very few of those were produced and nobody is flying with it.

It served its purpose and all the the improvements to ArduPilot remain
regardless of it not being supported anymore. Now it's just adding
maintenance work with no clear benefit, so pull the plug.
2018-06-26 07:32:08 -07:00
Andrew Tridgell fe4a18d5f3 Tools: updated bootloader binaries
faster upload, and fixed a number of bugs
2018-06-25 21:22:31 +10:00
Andrew Tridgell f3a2d63747 Tools: don't generate a _with_bl file for the bootloader itself 2018-06-25 21:22:31 +10:00
Andrew Tridgell 77929dabb3 Tools: fixed python3 error in make_intel_hex.py 2018-06-25 21:22:31 +10:00
Andrew Tridgell 0546ea69d1 AP_Bootloader: fixed build with no uarts 2018-06-25 21:22:31 +10:00
Andrew Tridgell 0ebd05aa1a AP_Bootloader: support changing baudrates on UARTs 2018-06-25 21:22:31 +10:00
Andrew Tridgell fe4aa4bbc7 AP_Bootloader: support uarts and usb for bootloading 2018-06-25 21:22:31 +10:00
Andrew Tridgell 5b208b401f AP_Bootloader: skip erasing already erased pages 2018-06-25 21:22:31 +10:00
Andrew Tridgell b5fc7f10f3 AP_Bootloader: added flash size limiting on old CPUs 2018-06-25 21:22:31 +10:00
Andrew Tridgell 4fbd1e409f AP_Bootloader: make flashing a bit faster 2018-06-25 21:22:31 +10:00
Andrew Tridgell 1c73c133a9 waf: fixed binary generation order 2018-06-24 20:24:06 +10:00
Andrew Tridgell 949af17fa4 Tools: save _with_bl.hex files in firmware download 2018-06-24 20:15:38 +10:00
Andrew Tridgell 623a30be55 waf: build hex file with and without bootloader
this allows for DFU tools without losing parameters
2018-06-24 16:47:23 +10:00
Andrew Tridgell f73ca2a6ba waf: speed up the bootloader build
don't need to build all libraries
2018-06-24 15:57:51 +10:00
Andrew Tridgell f202ff87e2 Tools: only build one target for revo-mini 2018-06-24 08:26:28 +10:00
Andrew Tridgell 4997898c5b Tools: added bootloaders for new boards 2018-06-24 08:26:28 +10:00
Andrew Tridgell 3900949d19 Tools: build a lot more board binaries 2018-06-24 08:26:28 +10:00
Tom Pittenger 49de205a06 Tools: Git Success - Tom Pittenger 2018-06-23 19:39:54 +10:00
Peter Barker b555370e07 Tools: build_binaries: remove build directory before configure
with recent changes this should actually be marginally faster than
keeping old build products around
2018-06-23 17:51:45 +10:00
Andrew Tridgell 5b46adf3fb waf: fixed chibios upload 2018-06-23 17:06:53 +10:00
Andrew Tridgell e2d29fe1db Tools: install intelhex package for CI 2018-06-23 17:06:38 +10:00
Andrew Tridgell 8fbe57c82e Tools: added new bootloaders 2018-06-23 17:06:38 +10:00
Andrew Tridgell 338ff6ae64 waf: automatically build intel hex fw when possible
this combines the bootloader and application code into a single binary
2018-06-23 17:06:38 +10:00
Andrew Tridgell 4cafcc4eae travis: added revo-bootloader to CI
this ensures the bootloader build will keep working
2018-06-23 17:06:38 +10:00
Andrew Tridgell ae1d1cad5e Tools: added a script to build all bootloaders 2018-06-23 17:06:38 +10:00
Peter Barker b94e31b21a Tools: remove warning about native clang builds
These appear to be stable now
2018-06-22 16:49:05 +10:00
Andrew Tridgell 290f050575 waf: enable gccdeps, using gcc dependencies
this is considerably faster than the way dependency system
2018-06-22 11:13:03 +10:00
Andrew Tridgell ad49f4fdbf waf: fixed declaration of ap_romfs_embedded.h 2018-06-22 11:13:03 +10:00
Andrew Tridgell a7ce864296 AP_Bootloader: added mcu files 2018-06-22 08:06:41 +10:00
Andrew Tridgell c1d4362555 AP_Bootloader: added MCU descriptions 2018-06-22 08:00:31 +10:00
Andrew Tridgell 14f66461a7 HAL_ChibiOS: shrink build size for bootloader
thanks to @sh83 for the idea
2018-06-22 08:00:31 +10:00
Alexander Malishev c28296e6f2 AP_Bootloader: added simple std c function to reduce flash space 2018-06-22 08:00:31 +10:00
Andrew Tridgell f0e0b1baaa AP_Bootloader: only build bootloader when --bootloader configured 2018-06-22 08:00:31 +10:00
Andrew Tridgell 4c2c2012a6 waf: allow for "./waf bootloader"
easier build of the bootloader
2018-06-22 08:00:31 +10:00
Andrew Tridgell 0ae25787c0 waf: added a --bootloader configure option
this selects hwdef-bl.dat instead of hwdef.dat, allowing for
bootloader config to be kept in the same directory as the main
hwdef.dat
2018-06-22 08:00:31 +10:00
Andrew Tridgell 6771a3d65a waf: support Hex USB IDs in px_uploader.py 2018-06-22 08:00:31 +10:00
Andrew Tridgell e7c43b9df7 AP_Bootloader: initial version of ChibiOS bootloader 2018-06-22 08:00:31 +10:00
Peter Barker 7cdb05ccc0 Tools: add default-parameter-filename sanity check 2018-06-21 19:32:46 +10:00
Peter Barker 5665feb29e Tools: Replay: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
Peter Barker e9a07bdd6f Tools: create CHIBIOS_GIT_VERSION build-time define 2018-06-18 19:10:37 +01:00
Shingo KANEKO 0199a6b273 Tools: Add my name 2018-06-18 09:59:17 +09:00
haru ad6fca8e57 Tools: Update GIT_Success.txt 2018-06-16 11:15:37 +09:00
Peter Barker 09a9abb3a8 Tools: include AP_RTC in all waf builds 2018-06-15 08:01:22 +10:00
Peter Barker 684482295e Tools: include Gripper in all builds 2018-06-11 19:07:39 +01:00
Randy Mackay 8c485e1a9e Tools: set ground effect comp in tradheli default parameters 2018-06-08 09:51:50 +09:00
Randy Mackay ccb1042074 Tools: update sitl rover default params 2018-06-08 09:19:25 +09:00
Andrew Tridgell 76750a1d9d scripts: added fmuv5 to autobuild 2018-06-08 09:56:41 +10:00
Andrew Tridgell 11b327e336 scripts: update decode_devid.py for new IMUs 2018-06-06 07:15:41 +10:00
Peter Barker 0b8b23baf6 Tools: adjust tests for vfr_hud getting absolute altitude 2018-06-05 09:38:20 +10:00
Michael du Breuil dcc25838fb CI: Run param parse last, on all CI instances
This makes param parse failures much more obvious in the CI logs, as
well as ensuring that both Semaphore and Travis will fail on bad
parameter data (which should reduce user confusion when one service
passes and the other fails).
2018-06-05 09:11:09 +10:00
Randy Mackay 3ecc0ea6c8 Tools: add hydrotek boat default parameters 2018-05-29 16:07:55 +09:00
Yuuji Awata 945a392409 Tool: Add name to GIT_Success.txt 2018-05-29 08:20:30 +09:00
Randy Mackay f2ac48a33e Tools: update holybro kospi1 default 2018-05-28 10:42:21 +09:00
Randy Mackay 268fac0fba Tools: default params for Holybro Kospi1 2018-05-28 10:11:45 +09:00
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
Peter Barker 15450b956d Tools: sim_vehicle.py: make --tracker work again 2018-03-21 11:46:47 +11:00
chobits 8b72809e37 Tools: fix motor rpm display in flightgear 2018-03-21 08:50:04 +09:00
Peter Barker 2b87f6dcca Tools: autotest: replace use of distutils.dir_utils
distutils.dir_utils.mkpath was throwing a file-not-found error
2018-03-21 10:27:58 +11:00
Peter Barker 8511c2c04b Tools: autotest: factor out apply_parameters_using_sitl
Three of our models start a SITL instance to apply parameters
then restart it so that the parameter changes can take effect.

Factor that functionality out.
2018-03-20 08:39:12 +11:00
Peter Barker fe3b882bea Tools: autotest: move close method up to common.py 2018-03-20 08:39:12 +11:00
Peter Barker 31ba99e58a Tools: autotest: use buildlogs_path for all buildlogs 2018-03-20 08:39:12 +11:00
Peter Barker b2cb6e196c Tools: autotest: pull common MAVProxy options into common.py 2018-03-20 08:39:12 +11:00
Peter Barker b908af10b7 Tools: autotest: remove non-working dump-logs script
We removed CLI from ArduPilot; this script will no longer work
2018-03-20 08:39:12 +11:00
Peter Barker 5fbb385c31 Tools: autotest: avoid exception when using Python3 on MacOSX
File "./Tools/autotest/sim_vehicle.py", line 999, in <module>
location)
File "./Tools/autotest/sim_vehicle.py", line 573, in start_vehicle
run_in_terminal_window(autotest, cmd_name, cmd)
File "./Tools/autotest/sim_vehicle.py", line 476, in
run_in_terminal_window
tabs = p.findall(out)
TypeError: cannot use a string pattern on a bytes-like object
SIM_VEHICLE: Killing tasks
2018-03-19 12:36:55 +11:00
Lucas De Marchi 5282ed3a1b Tools: use ins singleton 2018-03-16 00:37:35 -07:00
Peter Barker b348cfa985 Tools: autotest: flake8 compliance
Taking the opportunity to make massive changes while we're destroying
history anyway.
2018-03-15 07:54:21 +09:00
Pierre Kancir 259dda810d Tools: use base class to share code between vehicle tests
Autotest: common.py add new base class and test

Autotest : Common add heartbeat handling on wait_mode timeout

Autotest: common.py add reach_heading_manual and reach_distance_manual

Autotest: new autotest implementation for Rover

Autotest : rover add drive_square test

Autotest: new autotest implementation for Copter

Autotest: new autotest implementation for Plane

Autotest: new autotest implementation for Sub

Autotest: new autotest implementation

Autotest: new autotest implementation for QuadPlane

Autotest : Sub disable GCS_Failsafe on autotest to prevent timeout. The failsafe aren't currently tested on Sub
2018-03-15 07:54:21 +09:00
Peter Barker b1b978381a Tools: correct quoting in run_in_terminal_window.sh 2018-03-15 07:40:23 +09:00
Peter Barker 5ac5a68d17 Tools: param_parse.py: replace @PREFIX in values with library prefix 2018-03-14 15:44:00 +11:00
chobits 9405c19e85 Tools: fix copter propeller animation in FlightGear multiplayer 2018-03-14 09:42:55 +09:00
Peter Barker 9208308121 Tools: stop build_parameters.sh copying non-existent files
We stopped generating these files some time ago
2018-03-14 10:55:21 +11:00
Peter Barker a4d9d8ed6b Tools: add set -x to build_parameters.sh
This aids in diagnosing failures on autotest
2018-03-14 10:55:21 +11:00
Pierre Kancir b3c2e134f9 Autotest: raise set_rc timeout to prevent mavproxy to miss msg on speedup 2018-03-13 08:40:05 +09:00
Pierre Kancir 4558ef5b1e Autotest: correct Rover expected name in banner 2018-03-13 07:53:41 +09:00
Peter Barker 80cb2e343c Tools: build_binaries.py: print errors out at end of run 2018-03-09 19:09:34 -08:00
Peter Barker cff8a98aa5 Tools: autotest.py: remove building of APM binaries
We have not supported APM for years.

However, we retained the ability to build the APM firmware as
part of the autotest process.

This commit removes that ability.  Past this point the autotest server
will not build any firmware for the apm1 or apm2 boards.  There is no
intention to remove the existing firmware blobs.

Work is planned on build_binaries.py, thus this removal.
2018-03-09 19:09:34 -08:00
Andrew Tridgell 585c484be0 Tools: fixed syntax error in build_binaries.py 2018-03-10 07:44:25 +11:00
Huibean 7c499571ea add install-prereqs-mac.sh 2018-03-09 10:10:00 -08:00
Peter Barker 3a718366e1 Tools: Replay: use baro singleton 2018-03-08 21:20:05 -08:00
Peter Barker 8b9ce3869c Tools: add bisect-helper.py
This is the start of a tool to help bisect problems with ArduPilot.

Currently it only helps bisect build errors.
2018-03-09 10:38:48 +11:00
Peter Barker 9f41641378 Tools: make decode-devid print address in hex too 2018-03-07 19:12:50 +11:00
night-ghost 86e2e82e57 Tools: fixed bootloader binary - revo405_bl 2018-03-06 08:44:38 +11:00
Peter Barker b26d140316 Tools: ardupilotwaf: remove redundant --no-trigraph 2018-03-05 13:28:03 +00:00
Andrew Tridgell ba55f99419 waf: fixed python3 pickle error 2018-03-05 09:50:27 +11:00
Andrew Tridgell b6c0e65dee waf: set CYGWIN_BUILD on cygwin for px4
helps with missing/cmath
2018-03-03 13:35:39 +11:00
Andrew Tridgell 3e9f0f83f0 waf: fixed cygwin build for ChibiOS
keep path lengths to linker short
2018-03-02 17:11:31 +11:00
Andrew Tridgell 706a0c1b2f waf: define CYGWIN_BUILD for ChibiOS under cygwin
and for SITL
2018-03-02 17:11:31 +11:00
Andrew Tridgell 43f1b43b6c waf: auto-generate board targets for ChibiOS
this allows porting to a new board by just adding the hwdef.dat, with
no other changes
2018-03-02 12:52:50 +11:00
Andrew Tridgell 2075a3da7d waf: use pre_build hook for ChibiOS
this fixes dynamic uavcan building
2018-03-02 12:52:50 +11:00
Andrew Tridgell 7d5ed1bc9b waf: simplify board classes for ChibiOS
rely in hwdef.dat
2018-03-02 12:52:50 +11:00
Andrew Tridgell fed1579187 waf: auto-enable CAN for ChibiOS builds
use presence of CAN pins in hwdef.dat to automatically enable if
available
2018-03-02 12:52:50 +11:00
Andrew Tridgell 89430793dd waf: allow env variable overrides in hwdef.dat
this allows hwdef.dat to control files that are built and flags to the
build
2018-03-02 12:52:50 +11:00
Andrew Tridgell 61debe95e0 Tools: started on OMNIBUSF7V2 support 2018-03-02 12:52:50 +11:00
Andrew Tridgell 6b6c35a435 waf: use relative paths for ChibiOS build
this fixes the ChibiOS build on cygwin by reducing path lengths to
below the cygwin limit
2018-03-02 12:52:50 +11:00
Peter Barker 3f17ac765e Tools: build_binaries: raise a CalledProcessError on bad exit code
We've been silently ignoring bad exit codes.  Stop that.
2018-03-01 19:50:50 +11:00
Peter Barker 4d28fa8e09 Tools: build_binaries.py: catch exception on copy failure
Also correct some debug and add flake8 compliance
2018-03-01 19:50:50 +11:00
Andrew Tridgell 035da5047a waf: added fmuv2 build
based on fmuv3, but with 1M target flash
2018-03-01 15:25:55 +11:00
Peter Barker cbbd5d3410 Tools: remove unused build_binaries.sh script
This was left as a reference while working out problems with
build_binaries.py

It is now causing confusion.
2018-03-01 13:52:16 +11:00
Peter Barker 053d789843 Tools: ardupilotwaf: disable SLP vectorization for clang++ in SITL
There appears to be a problem caused by clang++'s optimisations to do
with SLP vectorizations.

It *looks* like it doesn't push enough operands into one of the vectors,
so you end up with a division by zero when attempting to execute an SSE
instruction.
2018-03-01 13:12:10 +11:00
Jacob Walser 9897ff60de Frame_params: Add BlueROV2 Heavy param file 2018-02-28 13:22:08 -05:00
Peter Barker 18135b4764 Tools: build-with-disabled-features: update deps 2018-02-27 07:43:13 +09:00
Peter Barker 67257e545e Tools: add how-to-use comment to build-with-disabled-features 2018-02-22 10:18:44 +10:00
Peter Barker 705e6287b9 Tools: add a build-with-disabled-features script 2018-02-22 10:18:44 +10:00
Peter Barker 6fb9210c95 Tools: vagrant: install gcov for coverage and pexpect for autotest 2018-02-16 12:50:49 +11:00
Luis Vale Gonçalves e88be33c9e Updated the usbmodem line for upload
Added a * to enable recognition of usbmodems
2018-02-16 10:17:45 +11:00
Andrew Tridgell 4dc88c6022 waf: added crazyflie2 2018-02-14 18:27:00 +11:00
Andrew Tridgell 320c3b53a4 waf: make it easier to list USB IDs to load fw to 2018-02-14 18:27:00 +11:00
ljwang 59ee3c8f62 AP_HAL: support mini-pix 2018-02-14 18:27:00 +11:00
Pierre Kancir fe36c09bb0 Tools: correct Gazebo-iris param 2018-02-14 09:45:25 +09:00
Peter Barker 50ccbb5d0c Tools: autotest: correct speedup parameter handling 2018-02-13 17:15:05 +11:00
Peter Barker aeb99c675b Tools: autotest: remove racey mavproxy.expect
The autopilot could well have emitted the statustext before we
start to expect() it
2018-02-13 17:15:05 +11:00
Peter Barker bae67c479b Tools: update instructions on how to use Vagrant VM 2018-02-13 13:49:41 +09:00
Peter Barker 0a7ae22398 Tools: Vagrant: use install-prereqs-ubuntu for installation 2018-02-13 13:49:41 +09:00
Alexey Bulatov 7302618bbc waf: add support UAVCAN for Edge board 2018-02-13 13:52:44 +11:00
nicknunno 72b698bf96 Tools: update AION default param
Add servo-function reversed, compass offset maximum
2018-02-12 16:56:46 +09:00
Andrew Tridgell 7c0e18f0c7 Tools: added more bootloader details 2018-02-10 19:13:18 +11:00
Andrew Tridgell 04be33c0c5 Tools: added skyviper bootloader 2018-02-10 19:13:18 +11:00
Andrew Tridgell 2cbf04a3d0 waf: use new bootloader path 2018-02-10 19:13:18 +11:00
Andrew Tridgell d6f3ef0be1 Tools: moved bootloaders to Tools/bootloaders 2018-02-10 19:13:18 +11:00
Andrew Tridgell 8b5291975b waf: disable uavcan and fatfs on skyviper-v2450 2018-02-08 22:10:46 +11:00
Andrew Tridgell 36695fe1f6 waf: create abin files for some px4 builds
needed for skyviper web UI upload
2018-02-08 18:56:51 +11:00
Andrew Tridgell 507fcb0f27 Tools: moved make_abin.sh into Tools/scripts
will be used in px4 build
2018-02-08 18:56:51 +11:00
Andrew Tridgell 258ae49952 waf: support PX4 boards with no microSD or USB 2018-02-08 18:56:51 +11:00
Andrew Tridgell 330fa815e8 Frams_params: updates for new pos controller for skyviper 2018-02-08 18:56:51 +11:00
Andrew Tridgell 86d43061e9 waf: added skyviper-v2450-px4 build 2018-02-08 17:36:33 +11:00
Andrew Tridgell 238db04187 Frame_Params: set TMODE_ENABLE=2 for the F412 2018-02-08 17:36:33 +11:00
Andrew Tridgell ca12d99430 Frame_Params: fixed orientation on F412 2018-02-08 17:36:33 +11:00
Andrew Tridgell 2db74a642b waf: added skyviper-f412-rev1 board
older board with SPI 20789
2018-02-08 17:36:33 +11:00
Andrew Tridgell 76703a80c4 Frame_params: disable unpopulated serial ports 2018-02-08 17:36:33 +11:00
Andrew Tridgell 3b5bb3cae2 Frame_params: default to CC2500 radio for F412 2018-02-08 17:36:33 +11:00
Andrew Tridgell b0c16f7eb9 waf: auto-build abin files for ChibiOS 2018-02-08 17:36:33 +11:00
Andrew Tridgell d208dc69d3 Tools: moved make_abin.sh into ChibiOS scripts 2018-02-08 17:36:33 +11:00
Andrew Tridgell 5eb29f94ce Frame_Params: update config for Skyviper-2450 2018-02-08 17:36:33 +11:00
Andrew Tridgell 779de02acb waf: disable double-promotion warnings on ChibiOS
these are not useful
2018-02-08 17:36:33 +11:00
Andrew Tridgell 674bf12f6e Frame_params: fixed ordering of F412 motors 2018-02-08 17:36:33 +11:00
Andrew Tridgell ebeda12953 Frame_params: added defaults for SkyViper-F412 2018-02-08 17:36:33 +11:00
Andrew Tridgell 4570213665 scripts: added make_abin.sh script
used to create binary for install of SkyViper 2450GPS via web UI
2018-02-08 17:36:33 +11:00
Andrew Tridgell 5c259459ea waf: build with AP_TempCalibration 2018-02-08 17:36:33 +11:00
Andrew Tridgell 0258c5baf4 waf: added AP_Radio to build 2018-02-08 17:36:33 +11:00
Patrick José Pereira 6ca1c03767 Tools: Skip reinstall of existing packages in install-prereqs-arch
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-02-08 09:54:37 +09:00
Patrick José Pereira 8aa00e88e2 Tools: Correct submodule update script in install-prereqs-arch
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-02-08 09:54:37 +09:00
Patrick José Pereira d73f534bc7 Tools: Check if symbolic link already exist in install-prereqs-arch
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-02-08 09:54:37 +09:00
Andrew Tridgell 13a3c56a02 waf: added board name to ChibiOS build 2018-02-07 20:33:45 +11:00
Andrew Tridgell 1c0b598c05 waf: fixed permissions on px_mkfw.py 2018-02-07 20:33:45 +11:00
Siddharth Purohit d1a497f223 waf: add more wraps to compile uavcan 2018-02-07 20:33:45 +11:00
Siddharth Purohit b1499ee8f2 waf: add option to compile with uavcan for chibios boards 2018-02-07 20:33:45 +11:00
Andrew Tridgell 3d50bbe2c0 waf: added mini-pix build target 2018-02-07 20:33:45 +11:00
Andrew Tridgell 6ee0c48ab1 waf: added revo-mini build type 2018-02-07 20:33:45 +11:00
Siddharth Purohit 90ca9626cc waf: use gcc/g++ by default if available else throw warning 2018-01-31 12:22:23 +11:00
Siddharth Purohit 8f074d52c1 autotest: fix setup of sitl for macosx 2018-01-31 12:22:23 +11:00
Michael du Breuil a7cdca030c Tools: Split sitl tests into per vehicle tasks 2018-01-23 13:34:54 +09:00
Andrew Tridgell 4bc3a649cc waf: default port list for uploader 2018-01-20 17:40:07 +11:00
Andrew Tridgell d7c62602ed waf: added AP_RCProtocol to list of libraries for all vehicles 2018-01-20 17:40:07 +11:00
Peter Barker 7c232323da waf: added support for Sparky2 STM23F405 board 2018-01-20 17:40:07 +11:00
Alexey Bulatov e16ac3da23 ardupilotwaf: Disable exceptions for UAVCAN on linux boards 2018-01-17 07:24:17 -08:00
Alexey Bulatov 0998ac102b ardupilotwaf: Add libraries instead of assignment 2018-01-17 07:24:17 -08:00
Robert Clarke 69b9438e7f Tools: use posixpath for compatability with git on Windows (MSYS) 2018-01-16 11:05:45 +09:00
Andrew Tridgell 4f0839a493 waf: improved dependencies in ChibiOS build 2018-01-16 09:46:21 +11:00
Andrew Tridgell 681792acf3 waf: added skyviper-v2450 build target
derived from fmuv3
2018-01-15 11:46:02 +11:00
Andrew Tridgell 360a8d99bf Frame_params: bring 2450 params in line with release 2018-01-15 11:46:02 +11:00
Andrew Tridgell c708201fc6 waf: added flag for no FATFS in ChibiOS 2018-01-15 11:46:02 +11:00
Andrew Tridgell ce9473f0e8 waf: fixed handling of waf clean with new hwdef generation 2018-01-15 11:46:02 +11:00
Andrew Tridgell 2978649cd4 waf: moved to generated loader script 2018-01-15 11:46:02 +11:00
Andrew Tridgell 9482ab1840 waf: use common makefile for ChibiOS if no custom present 2018-01-15 11:46:02 +11:00
Andrew Tridgell e3f4860666 waf: cope with serial exceptions in px_uploader.py
this allows the loader to continue on a USB removal/reinsert
2018-01-15 11:46:02 +11:00
Andrew Tridgell 5af4f8b364 waf: added mindpx-v2 build target 2018-01-15 11:46:02 +11:00
bugobliterator 3aba8bf706 waf: add mac usb com ports to list of devices for upload 2018-01-15 11:46:02 +11:00
Andrew Tridgell a2681f1d1c waf: support ChibiOS FMUv4 2018-01-15 11:46:02 +11:00
Andrew Tridgell 964f081bab waf: fixed comment 2018-01-15 11:46:02 +11:00
Peter Barker 550ab6ac62 waf: chibios trigraph warning fix 2018-01-15 11:46:02 +11:00
Andrew Tridgell b48b436923 waf: implement --default-parameters option for ChibiOS 2018-01-15 11:46:02 +11:00
Andrew Tridgell 40ba4645e6 Frame_params: added SkyViper 2450GPS params for ChibiOS 2018-01-15 11:46:02 +11:00
Andrew Tridgell 38022d03b6 waf: disable gtest build on ChibiOS 2018-01-15 11:46:02 +11:00
Andrew Tridgell 4e6c26cf77 waf: simplify chibios libch.a building 2018-01-15 11:46:02 +11:00
Andrew Tridgell ec81f905f4 autotest: added some new locations for testing 2018-01-15 11:46:02 +11:00
Andrew Tridgell e026a408f3 waf: added AP_RAMTRON and AP_IOMCU to build 2018-01-15 11:46:02 +11:00
bugobliterator 925e3a2dcb waf: added ChibiOS support 2018-01-15 11:46:02 +11:00
Andrew Tridgell 9869b98da3 waf: added ap_version_append_int()
used for date defines
2018-01-15 11:46:02 +11:00
mirkix d3d46a7f2c Linux_HAL_Essentials: set default pwm to 0us 2018-01-11 16:35:10 +00:00
Matt 9f1c96bb09 Tools: Solo AC 3.6 parameters
Parameters for a 3DR Solo running ArduCopter 3.6, since there are some
differences from 3.5.
2018-01-11 11:14:12 +09:00
Matt a766551a48 Tools: Solo AC 3.5 disable log prearm check
There are still intermitant false-positive logging failure happening in
ArduCopter.  This disables the logging arming check for the time being.
This was set back to 1 a few months ago thinking the issue was fixed.
But it turns out it is not.
2018-01-11 11:13:53 +09:00
Stephen Dade aa7389b455 Tools: Fixed Cygwin SITL package names and made install easier for new users 2018-01-09 14:40:43 +00:00
Peter Barker c56529f39c Tools: waf: remove GCS_Console 2018-01-09 13:46:22 +00:00
Peter Barker 8a15c69aff Tools: add --fresh-params option to sim_vehicle.py
This will rebuild and use the XML file we generate from our
source code which conveys information about our parameters.

When using this option, "param help PARAMETERNAME" should reflect
changes made to the parameter metadata for PARAMETERNAME.
2018-01-08 14:49:35 +00:00
Randy Mackay af7bb7cbd7 Tools: update eLAB VEK default parameters
Add default steering feedforward value
2018-01-04 16:15:28 +09:00
Randy Mackay 7b0b9f10de Tools: AION R1 default params use steering feed-forward
Also add wheel encoder defaults
2018-01-04 14:03:52 +09:00
Randy Mackay 368698d173 Tools: AION R1 default remove compass-external
compass-external settings should normally not need to be set
2018-01-04 14:02:53 +09:00
NickNunno 94eceddf69 Tools: update AION R1 default parameters
Added default presets to match documentation & hardware setup.
2018-01-04 13:51:04 +09:00
mirkix 793578c0a9 ardupilotwaf: add new board PocketPilot 2017-12-27 16:01:55 +00:00
mirkix 7126b0c5ae Linux_HAL_Essentials: add PocketPilot PRU Firmware 2017-12-27 16:01:55 +00:00
Peter Barker e76865eb9c Tools: Replay: AP_AHRS no longer requires GPS in constructor 2017-12-27 00:58:02 +00:00
Patrick José Pereira 560d8b88d8 Tools: Add gazebo-bluerov2 on vehicleinfo.py
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-12-26 09:12:56 +11:00
Randy Mackay dcb37a2454 Tools: default param file for AION R1 rover 2017-12-23 14:25:25 +09:00
Matt 41f2e8869e FRAME_PARAMS: Solo mag and arming param update
Updates the arming check to all
Updates the required compass parameters
Updates the compass_typemask to disable the LIS3MDL
2017-12-23 10:58:03 +09:00
Patrick José Pereira 0e6fc54a0e Tools: Add BATT_MONITOR on sub.parm
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-12-21 11:26:51 -05:00
Andrew Tridgell 0b78817b81 Tools: added apj_tool.py
used to change embedded parameters in firmware
2017-12-18 11:14:59 +11:00
Peter Barker 0b4dcdde35 Tools: param_parse.py: allow whitespace between vehicles
Also add sanity check that the vehicles you're limitting to we know
about
2017-12-16 11:08:35 +11:00
Peter Barker d1128e7be4 Tools: param_parse.py: replace comments with debug statements 2017-12-16 11:08:35 +11:00
Peter Barker eeb15d7fd5 Tools: param_parse.py: make comment consistent 2017-12-16 11:08:35 +11:00
Peter Barker 825832be93 Tools: param_parse.py: add a map for vehicle name to a true-name to be used in code
Where true-name is something like "Rover" and the normal name remains
the directory name (e.g. "APMrover2")
2017-12-16 11:08:35 +11:00
Peter Barker e0125a68e7 Tools: param_parse.py: use single regex for params everywhere 2017-12-16 11:08:35 +11:00
Peter Barker a45ab6b84c Tools: param_parse.py: correct example comment 2017-12-16 11:08:35 +11:00
Peter Barker b6415b34d1 Tools: do not build combined parameters as part of build_autotest 2017-12-16 11:08:35 +11:00
Peter Barker 94afaebdb7 Tools: autotest builds each vehicle parameters individually 2017-12-16 11:08:35 +11:00
Peter Barker ea2c156c7f Tools: param_parse.py: understand tagging of parameters for specific vehicles 2017-12-16 11:08:35 +11:00
Andrew Tridgell 88abd34d40 Replay: fixed build with no create() 2017-12-14 08:12:28 +11:00
Peter Barker 8c516fb29c Tools: autotest: add max-alt fence 2017-12-13 10:04:50 +09:00
Randy Mackay 19af2f7d1d Tools: add decibel as valid param Unit 2017-12-12 07:59:41 +09:00
Andrew Tridgell 20d44136b0 autotest: fixed handling of core files 2017-12-12 08:45:56 +11:00
Peter Barker 75e8424e3f Tools: autotest: add a test for driving a simple RTL mission
In particular, we weren't setting NAV_CONTROLLER_OUTPUT.wp_dist
correctly before a recent commit from Randy
2017-12-09 22:34:07 +11:00
khancyr fac89ed437 Tools: autotest: move common functionality to common.py
Tools: don't need to pass option on first mavproxy

Tools: reformat common.py and add commun function

Tools: use new common functions

Tools: move functions from rover to commun and reorder

Tools: add and use set_rc function with timeout

Tools: fix style for pep8
2017-12-02 22:28:22 +11:00
Guglie 42e5b180cb Tools: fix sim_vehicle.py terminal tab when using --no-mavproxy 2017-12-02 09:34:10 +11:00
Peter Barker 3dc6c34465 Tools: LogAnalyzer: fix various Tests for newer-style logs
Tools: LogAnalyzer: don't continue if we fail to set vehicle type from MSG

Tools: LogAnalyzer: cope with renamed CTUN.BarAlt attribute

Tools: LogAnalyzer: cope with renamed CTUN.BarAlt attribute

Tools: LogAnalyzer: cope with missing THR_MIN parameter
2017-12-02 09:26:09 +11:00
Peter Barker 7257fb6284 Tools: LogAnalyzer: correct join() in GPSGlitch test 2017-12-01 10:30:56 +11:00
Mark Whitehorn fd5039f8cd Tools: link SBusOut library 2017-11-30 10:20:04 +11:00
Peter Barker b7a293ca5f Tools: autotest: move fetching of banner and version
Moved these to before log download.

They fail randomly after log download.
2017-11-28 09:47:46 +11:00
Peter Barker 5ee9361941 Tools: generate_manifest: include firmware type as differentiator 2017-11-24 12:12:35 +11:00
Peter Barker ada7d700c2 Tools: support for units on fields
Tools: add units to minimal log format

Tools: add units to CHEK message
2017-11-23 10:40:30 +11:00
Peter Barker fa68738726 Tools: waf: avoid trigraph warnings by adding -Wno-trigraphs 2017-11-23 10:40:30 +11:00
HeBin c700e69541 Tools: add Robsense PhenixPro Devkit Board support 2017-11-22 10:10:21 -08:00
Dr.-Ing. Amilcar Do Carmo Lucas 5c07a44a6d Tools: Fix a race condition on the regression tests on Windows
Added \r\n to the expect() string as recomended at:
http://pexpect.readthedocs.io/en/stable/overview.html#find-the-end-of-line-cr-lf-conventions
this should work on both windows and linux systems

pexpect says it will always do a minimal (non greedy) matching and docs explicitly say that a .+ expression will always return only one character. These lines in autotest are looking for \S+, which, believing the documentation, would only return one character of the log file path.
Now we know that's not true, neither for Linux or for Windows (given the logs from @karthikdesai), so I can only assume that it does a greedy match but only for the characters it has received at the time expect is called.
Apparently, in the machines we are using autotest, it isn't a problem since MAVProxy is likely fast to give its output to pexpect before the expect method is called. On @karthikdesai's machine that wasn't happening since his machine was more or less loaded.
Concluding, this looks like a correct fix in the sense that it extends the regex pattern to wait for the end of line (and probably other places could benefit from it too).
2017-11-22 17:01:05 +09:00
Andrew Tridgell 766a2a4bc0 Tools: link volz library 2017-11-21 14:10:54 +11:00
Patrick José Pereira df6d2659ac autotest: Add RAT Beach for ArduSub
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-11-20 17:27:47 +09:00
murata 0934bdb5dc Tools: remove default values from eLAB 445 params 2017-11-16 22:48:13 +09:00
Jacob Walser 83bb1e7f4a Frame_params: (BlueROV2/Sub-3.5.2) update tilt servo reversal 2017-11-14 18:10:45 -05:00
Peter Barker 2f76f83ab7 Tools: autotest: add and use progress function
Based on work done by khancir
(https://github.com/ArduPilot/ardupilot/pull/6360)

Tools: arduplane.py change print to progress function
Tools: quadplane.py change print to progress function
Tools: ardusub.py change print to progress function
2017-11-14 16:02:05 +11:00
Pierre Kancir 76bb081d60 Tools: autotest: add python headers to scripts
Tools: arduplane.py add python header

Tools: apmrover2.py add python header

Tools: arducopter.py add python header

Tools: ardusub.py add python header

Tools: quadplane.py add python header
2017-11-14 14:47:32 +11:00
Jacob Walser 305f203dd3 Frame_params: (BlueRov2/Sub-3.5.2) Reset to defaults 2017-11-13 21:08:55 -05:00
Jacob Walser 67eefe3d6a Frame_params: (BlueRov2/Sub-3.5.2) Use integers for APInts 2017-11-13 20:57:43 -05:00
Jacob Walser acb65b99ac Frame_params: add file for BlueROV2 on Sub 3.5.2 2017-11-13 15:42:04 -05:00
ravsrivera f7641d7b01 Tools; Added name to Git_Success.txt 2017-11-08 14:24:20 +09:00
uavdlsu 8ba42480f7 Tools: Added Clarisse Crespo to GIT_Success.txt 2017-11-08 14:24:19 +09:00
marcsay 477a0af83c Tools: added name to GIT_Success.txt 2017-11-08 14:24:18 +09:00
Andrew Tridgell bf9779b63a autotest: default plane simulator to 'plane'
this is good enough for most people and avoids an external dependency
2017-11-06 15:44:26 +11:00
guglie e741cb28d2 fix wait_unlimited with an infinite sleep loop
this fixes issue #7180
2017-11-06 13:39:59 +11:00
el-shweikh 160ce436e3 Tools: added name to GIT_Success.txt 2017-11-01 14:12:56 +09:00
TsuyoshiKawamura 3467be6695 Tools: update eLAB-445 parameter file 2017-11-01 14:07:43 +09:00
Andrew Tridgell d55b66efe1 autotest: added HMAS location 2017-10-31 18:02:52 +11:00
Peter Barker 8c03425f37 Tools: enable INS batch logging during Rover autotest 2017-10-27 16:33:45 +11:00
Peter Barker b6404ff26b Tools: build_binaries.py: handle badly formed config.mk 2017-10-26 17:22:06 +11:00
Peter Barker c498f17bc8 Tools: autotest: fix apmrover2 race condition on banner 2017-10-26 17:20:38 +11:00
Peter Barker 93810ab42a Tools: sim_vehicle.py: clarify comment about vagrant and mavlink-out 2017-10-26 15:03:58 +11:00
Peter Barker 89fa44a224 Tools: sim_vehicle.py: flake8 compliance 2017-10-26 15:03:58 +11:00
Peter Barker 163b354448 Tools: autotest: rover: add test for braking 2017-10-26 14:45:19 +11:00