Commit Graph

3774 Commits

Author SHA1 Message Date
mirkix
f9d49913d9 ardupilotwaf: enable UAVCAN for bbbmini, blue and pocket 2019-01-21 08:08:59 +11:00
Andrew Tridgell
85ca38b630 waf: fixed git hash in generated APJ file 2019-01-19 17:19:41 +11:00
Peter Barker
6fc18792e4 Tools: autotest: sim_vehicle.py flake8 compliance 2019-01-19 09:33:03 +11:00
Peter Barker
9eea14054e Tools: Replay: fix build 2019-01-18 18:08:20 +11:00
Peter Barker
6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker
b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker
0bf55ce3f4 Tools: ardupilotwaf: DataFlash renamed to AP_Logger 2019-01-18 18:08:20 +11:00
Randy Mackay
b3b3385143 Tools: add ToshibaCAN to waf build 2019-01-18 17:30:28 +11:00
Andrew Tridgell
2f1f35ef03 autotest: sim_vehicle.py multicasting
Added multicasting support in sim_vehicle.py by using --mcast.
2019-01-18 11:56:48 +11:00
Andrew Tridgell
7eccf82f6d Tools: added VRBrain bootloaders 2019-01-18 11:49:19 +11:00
Akshath-Singhal
1a87edd102 Autotest: Create swarminit.txt
Stores shift in meters ENU and absolute heading for SITL instances
2019-01-18 10:16:18 +11:00
Akshath-Singhal
ec8cf10f7c Autotest: Shift Spawn locaton SITL
Added support to shift spawn location of vehicle by using --swarm="filepath" where filepath specifies the offset in ENU.
2019-01-18 10:16:18 +11:00
Pierre Kancir
3cb543f17c Tools: remove old XPlane plugin 2019-01-18 08:46:42 +11:00
Peter Barker
429217f392 Tools: autotest: correct division-by-zero error 2019-01-17 12:30:56 +11:00
Peter Barker
b66f80f452 Tools: autotest: allow heli tests to be run individually 2019-01-16 21:36:13 +11:00
Peter Barker
3a53c5f99c Tools: Replay: update Replay for Location/Location_Class merge 2019-01-16 11:45:29 +11:00
Tom Pittenger
99120cddf9 Frame_params: add SkykWalker X8 param files 2019-01-15 09:47:59 -07:00
Andrew Tridgell
bc88d74b2e Tools: updated IO_Firmware 2019-01-15 10:33:15 +11:00
Willian Galvani
8638446c36 Tools: update install-prereqs-arch.sh 2019-01-14 14:25:11 -07:00
Peter Barker
d0aaf34db5 Tools: autotest: add option to skip tests if they're annoying us in CI 2019-01-14 20:15:47 +11:00
Andrew Tridgell
1cf4a9b8d8 waf: fixed ROMFS compression to use zero timestamp
this makes the apj file indepenent of build date, which fixes this
issue:

https://discuss.ardupilot.org/t/arducopter-waf-build-repeatability/37182
2019-01-11 17:45:07 +11:00
Andrew Tridgell
36d908c524 Tools: fixed typo for CubePurple 2019-01-10 21:33:05 +11:00
Siddharth Purohit
719a6507ee Tools: build CubePurple on build server 2019-01-10 16:27:02 +11:00
Peter Barker
ecb3cabf72 Tools: add flight test for rangefinder in Copter 2019-01-09 16:55:42 +11:00
Peter Barker
55f751a8f4 Tools: autotest: add some tests for Copter parachute functions 2019-01-09 13:16:03 +11:00
JIMWAR
8fe39e8784 AP_Bootloader: fix return the size of flash sector
flash_base_page+num_pages already be more than last sector of flash,
there should be num_pages-flash_base_page when judge the last sector
2019-01-08 20:54:36 +11:00
Peter Barker
e93cff6e44 Tools: autotest: add test that rangefinder switch works 2019-01-08 12:39:40 +11:00
murata
6613c678a0 CI: Delete NuttX version processing 2019-01-08 10:06:20 +11:00
Stephen Dade
fb53e354c0 Tools: updated STM Tools url for ubuntu/arch install scripts 2019-01-06 18:32:51 +11:00
lordneeko
fb212907a1 Tools: Update SV2450 default.parm file for AC-3.6
Update default parameters for Skyviper 2450 GPS battery failsafes, changed in AC-3.6
2019-01-05 09:47:51 +09:00
Peter Barker
fe1ac46840 Tools: autotest: correct log Tee'ing 2019-01-04 13:41:36 +11:00
Peter Barker
7cb1051aee Tools: autotest: correct error message for mission upload/download 2019-01-02 20:33:17 +11:00
Michael du Breuil
7b259fb09f ardupilotwaf: Enable heap for scripting builds 2018-12-31 19:25:23 -07:00
Andrew Tridgell
d8291ef1d1 waf: fixed static link build
for bebop
2019-01-01 09:34:11 +11:00
Michael du Breuil
2c8b5c651d Tools: Remove unneeded AP_Buffer include 2018-12-31 11:41:43 +09:00
Andrew Tridgell
fc2b43313e Tools: fixed error in build_binaries.py 2018-12-28 16:24:18 +11:00
Andrew Tridgell
6e15b16511 Tools: restore px4 builds of stable and beta releases 2018-12-28 16:08:38 +11:00
Andrew Tridgell
9bc9d44c3b Tools: removed px4 builds from build_all.sh 2018-12-28 15:54:36 +11:00
Peter Barker
e6bfbe5f07 Tools: autotest: fix initial mode switch position race
Solves a race condition where an initial setting of mode via mavlink
could be overwritten by the vehicle polling the RC channels and changing
mode based on the new positions.

This will require each vehicle to specify the mode expected without an
RC inputs present and the expected mode once the RC defaults have been
installed.  These two modes will need to be different to eliminate the
race condition.
2018-12-27 15:15:59 +11:00
Andrew Tridgell
323fd121e4 Tools: fixed submodule update order for appveyor 2018-12-27 09:44:20 +11:00
Andrew Tridgell
d6715290ff Tools: fixed appveyor configure 2018-12-27 08:48:50 +11:00
Peter Barker
65bfe322af Tools: LogAnalyzer: cope with text version of mode in MODE line 2018-12-26 13:12:25 +09:00
Andrew Tridgell
cf582cdb12 CI: added appveyor build of SITL for MissionPlanner 2018-12-26 10:32:19 +11:00
Peter Barker
29042c95eb Tools: LogAnalyzer: understand more fields are allowed to have floats in 2018-12-25 00:27:06 +11:00
Andrew Tridgell
bac091262f waf: use ctx.fatal for old board error
thanks to @OXINARF
2018-12-22 11:06:59 +11:00
Andrew Tridgell
646c6f4361 waf: point developers at the new build 2018-12-22 11:06:59 +11:00
Andrew Tridgell
15853adb04 build: removed remaining make.inc files 2018-12-22 11:06:59 +11:00
Andrew Tridgell
9596358f3c CI: removed px4 builds 2018-12-22 11:06:59 +11:00
Andrew Tridgell
7c5d82ed15 waf: removed px4 build targets 2018-12-22 11:06:59 +11:00
anshks
aa85b281e3 Tools: added name to GIT_Success.txt 2018-12-22 08:29:33 +09:00
Andrew Tridgell
aa7221d1bf waf: build AP_RobotisServo 2018-12-22 08:13:14 +11:00
Peter Barker
320ea4d7f5 Tools: autotest: remove old run_test function 2018-12-21 11:53:38 +11:00
Andrew Tridgell
6cbbbcd51d autotest: removed check on JSBSim version
now works with latest release
2018-12-18 13:06:03 +11:00
Willem Eerland
6bf40b74b1 Tools: added TugGoat's modifications to the Rascal JSBSim model 2018-12-18 13:06:03 +11:00
Peter Barker
205fc7b55d Tools: autotest: convert QuadPlane to new tests framework 2018-12-18 10:06:09 +11:00
Peter Barker
69293f46f3 Tools: autotest: convert Heli to new tests framework 2018-12-18 10:06:09 +11:00
Peter Barker
3b57635ec9 Tools: autotest: convert Copter to new tests framework 2018-12-18 10:06:09 +11:00
Peter Barker
22cc55a500 Tools: autotest: give message rate in drain 2018-12-18 10:06:09 +11:00
Peter Barker
622549456c Tools: autotest: convert plane over to new tests structure 2018-12-18 10:06:09 +11:00
Peter Barker
7ad299c526 Tools: autotest: clarify arming tests messages 2018-12-18 10:06:09 +11:00
Peter Barker
36ad5d44bd Tools: autotest: convert ArduSub over to new tests framework 2018-12-18 10:06:09 +11:00
Peter Barker
7aa1d51585 Tools: autotest: move balancebot to new tests structure 2018-12-18 10:06:09 +11:00
cclauss
89be497897 Tools: Undefined name: 'AutoTestTimeoutException'
[flake8](http://flake8.pycqa.org) testing of https://github.com/ArduPilot/ardupilot on Python 3.7.1

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./Tools/autotest/apmrover2.py:688:27: F821 undefined name 'AutoTestTimeoutException'
                    raise AutoTestTimeoutException("Did not reach speed")
                          ^
./Tools/autotest/apmrover2.py:717:27: F821 undefined name 'AutoTestTimeoutException'
                    raise AutoTestTimeoutException("Did not stop")
                          ^
2     F821 undefined name 'AutoTestTimeoutException'
2
```
2018-12-17 17:53:22 +00:00
Peter Barker
1f8db08dab Tools: autotest: show test output filename in summary 2018-12-15 21:39:29 +11:00
Peter Barker
28b0267b6c Tools: autotest: add timeout on Rover test_rc_overrides 2018-12-15 21:38:48 +11:00
Peter Barker
686bfc367e Tools: autotest: tee MAVProxy output to per-test file 2018-12-15 17:11:44 +11:00
Peter Barker
fc1e211039 Tools: autotest: fix balancebot tests 2018-12-15 10:02:11 +11:00
Peter Barker
9eae7857dd Tools: autotest: make Rover use new tests framework 2018-12-15 10:02:11 +11:00
Peter Barker
8528bcf78c Tools: autotest: tee individual test output to separate files 2018-12-15 10:02:11 +11:00
Peter Barker
8541a28637 Tools: autotest: support named tests 2018-12-15 10:02:11 +11:00
Peter Barker
10c27e07d4 Tools: autotest: make aux switch test more reliable 2018-12-15 10:02:11 +11:00
Peter Barker
dd78a5a921 Tools: autotest: use wallclock time for reboot 2018-12-14 16:57:29 +11:00
Peter Barker
31d6daa1ae Tools: auotest: add test to ensure components are accepted if SYSID_ENFORCE 2018-12-14 12:44:31 +11:00
Peter Barker
da1f04e78c Tools: autotest: add a test for SYSID_ENFORCE 2018-12-14 12:44:31 +11:00
Peter Barker
e6c30f6405 Tools: autotest: use change_mode in apmrover2 for changing modes 2018-12-14 11:10:41 +11:00
Peter Barker
a320a54f66 Tools: autotest: new wait_heartbeat raises exception if none received 2018-12-14 11:10:41 +11:00
Peter Barker
ec288cd867 Tools: autotest: make reboot detection more reliable 2018-12-14 09:48:17 +11:00
Peter Barker
984ce514a7 Tools: autotest: make Rover tests stand-alone 2018-12-12 13:46:27 +11:00
Matt
211e7b1f1c Auto Build: Move solo targets to Copter only 2018-12-12 06:58:46 +11:00
HIdeaki Matsuo
3d1a3a0c04 Tools: Update GIT_Success.txt 2018-12-11 23:09:12 +09:00
Peter Barker
f442a0a1b7 Tools: autotest: remove bad calls to progress 2018-12-11 12:04:24 +11:00
Matt
000af43db6 Auto Build: Add Solo build targets
Adds Solo builds for the Cube Black and Cube Green to auto build.
2018-12-11 11:03:41 +11:00
Michael du Breuil
bb7abc2935 Tools: Allow specifying parameter metadata format
Also removes unneeded passing of a file pointer
2018-12-11 10:24:40 +11:00
Michael du Breuil
681d8416e2 Tools: Add an EDN parameter emitter 2018-12-11 10:24:40 +11:00
Peter Barker
0d34052cef Tools: autotest: move code up 2018-12-10 12:52:41 +09:00
Peter Barker
aff81d6f76 Tools: autotest: add test for SET_MESSAGE_INTERVAL 2018-12-10 12:52:41 +09:00
Peter Barker
723ad34dfb Tools: autotest: disable disarm_delay in case of rc getting stuck 2018-12-10 12:52:41 +09:00
Matt
441222e80b Frame_params: Update to Solo parameters
New changes related to motor PWM, motor output, slew time, and RC6 trim
2018-12-10 08:51:13 +09:00
Jani Hirvinen
38fc4975d8 autotest statistics tags 2018-12-09 18:02:57 +11:00
Peter Barker
0440106c16 autotest: allow autotest with valgrind to cope with new operator
this is needed for recent versions of valgrind. Without it valgrind
doesn't know that new clears memory
2018-12-07 08:40:39 +11:00
Peter Barker
8e63d61b9e Tools: autotest: tidy valgrind invocations 2018-12-07 08:40:39 +11:00
Andrew Tridgell
bdacc410ca waf: added check for memrchr()
needed on macos
2018-12-06 13:32:09 +11:00
Peter Barker
4ae8595da3 Tools: autotest: make fly_avc_test a little more self-contained 2018-12-06 10:02:03 +11:00
Michael Oborne
a24f870a0d apj_tool: fix binary writes 2018-12-06 08:34:26 +11:00
Andrew Tridgell
acf379cd77 autotest: allow sim_vehicle with valgrind to cope with new operator
this is needed for recent versions of valgrind. Without it valgrind
doesn't know that new clears memory
2018-12-05 09:09:56 +11:00
Matt
5d000613a5 Frame_params: Update Solo's required parameters
Adds Solo parameter files for  Copter 3.7 on both Cube Black and Cube
Green.  Updates the file names for the existing Solo Copter 3.6 and
Copter 3.5 parameter files.  The 3.7 files are now referenced by the
Solo's ChibiOS hwdef files.
2018-12-04 12:54:55 +09:00
Peter Barker
8949cdd87a Tools: waf: use ctx rather than build for fatal errors 2018-12-01 09:41:24 +11:00
John Wilbraham
8f5f664e9f Tools: added name to GIT_Success.txt 2018-11-30 15:06:25 +09:00
Peter Barker
dd88e6e85c Tools: autotest: correct wait_servo_channel_value error path
Also make flaps test a little more verbose
2018-11-29 09:48:31 +11:00
Peter Barker
a8fa17e7fd Tools: LogAnalyzer: exempt CTUN.DSAlt from NaN check 2018-11-29 08:35:39 +11:00