Commit Graph

3232 Commits

Author SHA1 Message Date
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