Commit Graph

3155 Commits

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