Commit Graph

3625 Commits

Author SHA1 Message Date
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
Peter Barker efefdfa037 Tools: build_binaries.py: support config.mk 2017-10-26 09:25:35 +11:00
Peter Barker 47ffad7cdc Tools: autotest: copy generate_manifest aside for build_binaries.py 2017-10-26 07:57:48 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas 63ca1f755e Tools: Replay: fix compiler warning for printf string
format ‘%ld’ expects argument of type ‘long int’, but argument has type ‘uint64_t {aka long long unsigned int}’
2017-10-25 20:27:55 +11:00
Peter Barker e3320ca953 Tools: autotest.py: run build_binaries.py instead of build_binaries.sh
Note we still copy the script sideways.  This is probably not
required for a python script.
2017-10-25 12:02:19 +11:00
Peter Barker 9e7d2e837a Tools: build_binaries.py: translate build_binaries.sh into python 2017-10-25 12:02:19 +11:00
Peter Barker 5d02dc4a30 Tools: generate_manifest.py non-fatal if not all vehicle dirs exist 2017-10-25 12:02:19 +11:00
Peter Barker 0f99196972 Tools: build_binaries.sh references renamed generate-manifest.py 2017-10-25 12:02:19 +11:00
Peter Barker e8f660f4a9 Tools: rename generate-manfest.py to generate_manifest.py 2017-10-25 12:02:19 +11:00
Andrew Tridgell b88f2f1da3 autotest: fixed exception in convertgpx 2017-10-22 16:26:24 +11:00
Andrew Tridgell 71e2c86783 autotest: added more CMAC startup locations
this allows matching to RealFlight positions
2017-10-21 13:01:07 +11:00
Staroselskii Georgii 62cb2b6845 waf: boards: add Edge 2017-10-20 13:03:08 -07:00
Andrew Tridgell 3a78255e54 Frame_Params: added WLToys V383 parameters
for HeliQuad frame
2017-10-03 10:16:41 +11:00
Gabriel Moyano 42add82e1a Tools: Vagrant with suppport for ARM hf
g++-arm-linux-gnueabihf and pkg-config-arm-linux-gnueabihs were added in initvagrant.sh in order to crosscompile for ARM hf architecture
2017-09-30 21:03:46 +10:00
Peter Barker 6bd5ac78f5 Tools: LogAnalyzer: fix string-method-on-int bug for unknown modes 2017-09-30 09:19:17 +10:00
cclauss c6aaa12e94 Tools: LogAnalyzer: Fix undefined name VehicleType
Tools: TestAutotune.py: Fix undefined name VehicleType

__VehicleType__ is used on line 58 but is never defined or imported.

Tools: TestPerformance.py: Fix undefined name VehicleType

__VehicleType__ is used on line 19 but is never defined or imported.

Tools: TestParams.py: Fix undefine name VehicleType

__VehicleType__ is used on line 21 but is never defined or imported.

Tools: TestThrust.py: Fix undefine name VehicleType

__VehicleType__ is used on line 19 but is never defined or imported.

Tools: TestVibration.py: Fix undefined name VehicleType

__VehicleType__ is used on line 21 but is never defined or imported.
2017-09-30 09:19:01 +10:00
cclauss d91a3250a6 Tools: TestParams.py: Fix undefine name VehicleType
__VehicleType__ is used on lines 47, 53, and 56 but is never defined or imported.  This could result in a NameError runtime exception.
2017-09-29 10:31:30 +10:00
Peter Barker a629bb7f2f Tools: LogAnalyzer: TestGPSGlitch: flake8 compliance 2017-09-28 11:44:54 +10:00
Peter Barker 7a077b5fa1 Tools: LogAnalyzer: TestGPSGlitch: tabs to spaces 2017-09-28 11:43:30 +10:00
cclauss 5729838a85 Tools: UnitTest.py: Change usage of next()
__lit.next()__ is not Python 3 compatible but __next(lit)__ is compatible with both Python 2 and 3.

In Python 2.6 and later, it is safe to merely switch from lit.next() to next(lit). See: http://python3porting.com/improving.html#the-next-next Both the automated tools 2to3 and futurize consider this "fixer" to be a "safe" change as we saw in #6954
2017-09-28 09:45:29 +10:00
Andrew Tridgell 776355ef2b autotest: fixed heli test
need to wait for motor runup
2017-09-27 20:54:21 +10:00
Lucas De Marchi beabae6a98 global: use static method to construct AP_AHRS_NavEKF 2017-09-26 03:01:21 +01:00
Lucas De Marchi c9fbf7b722 global: use static method to construct AP_NavEKF3 2017-09-26 03:01:21 +01:00
Lucas De Marchi e2fe36357a global: use static method to construct AP_NavEKF2 2017-09-26 03:01:21 +01:00
Lucas De Marchi 72fd2d6f05 global: use static method to construct AP_SerialManager 2017-09-26 03:01:21 +01:00
Lucas De Marchi 40fd1b346c global: remove rangefinder from AP_AHRS_NavEKF
AP_AHRS_NavEKF doesn't use the rangefinder, it just delegates the
calls to the right estimator.

For libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp the initialization
order has also been modified to match the order on vehicles. It's more
correct since it passes a reference when EKF2/EKF3 are already
constructed, while thos constructors use a pointer.  Ideally these
should be moved to an init() method though, or use a get_instance().
2017-09-26 03:01:21 +01:00
Lucas De Marchi 9027a55696 global: use static method to construct RangeFinder 2017-09-26 03:01:21 +01:00
Lucas De Marchi 53c82b4aaf global: use static method to construct DataFlash_Class 2017-09-26 03:01:21 +01:00
Lucas De Marchi 8094482f21 global: use static method to construct AP_GPS 2017-09-26 03:01:21 +01:00
Lucas De Marchi 87b30b4552 global: use static method to construct AP_InertialSensor 2017-09-26 03:01:21 +01:00
Lucas De Marchi c1a957fbf3 global: use static method to construct Compass 2017-09-26 03:01:21 +01:00
Lucas De Marchi 91feec0e14 global: use static method to construct AP_Baro 2017-09-26 03:01:21 +01:00
cclauss 654bb6ffce Tools: runplanetest.py: Remove redundant parenthesis
This syntax error was mistakenly introduced in #6999.
2017-09-25 14:55:51 +01:00
Lucas De Marchi cd81b27c05 build: protect ap_version.h from inclusion 2017-09-23 21:37:45 -07:00
cclauss a906d31c23 Tools: runplanetest.py: Resolve undefined name
Fixes: #6839

Undefined names can raise [NameError](https://docs.python.org/2/library/exceptions.html#exceptions.NameError) at runtime.
2017-09-24 13:54:58 +10:00
cclauss e5256d0bd5 Tools: TestPitchRollCoupling.py: Change usage of next()
__lit.next()__ is not Python 3 compatible but __next(lit)__ is compatible with both Python 2 and 3.
2017-09-24 12:36:03 +10:00
Peter Barker ac3cb355c4 Tools: LogAnalyzer: fix bugs, handle newer log formats
Tools: LogAnalyzer: avoid fatal error if mag data is all zeros

Tools: LogAnalyzer: correct comparisons against logdata.vehicleType

Tools: LogAnalyzer: handle logs with TimeUS in place of TimeMS

Tools: LogAnalyzer: handle logs with CTUN.ThO in place of CTUN.ThrOut

Tools: LogAnalyzer: correct motor average value
2017-09-24 12:34:23 +10:00
Peter Barker a87814b325 Tools: rename runfliptest.sh to runfliptest.py
As this is a Python script
2017-09-24 08:52:40 +10:00
cclauss d2eec2db29 Tools: runfliptest.sh: Resolve undefined name
Fixes: #6839 (partial fix)

Undefined names can raise [NameError](https://docs.python.org/2/library/exceptions.html#exceptions.NameError) at runtime.
2017-09-24 08:50:37 +10:00
cclauss d583bb9cbc Tools: update_wiki.py: fix syntax error
SyntaxError: print() is a function in Python 3
2017-09-23 21:44:56 +10:00
cclauss f266c82040 Tools: magfit_flashlog.py: fix syntax errors
SyntaxError: print() is a function in Python 3
2017-09-23 21:44:11 +10:00
José Roberto de Souza c6b19131ba ardupilotwaf: AeroFC: Remove unused tools
before
BUILD SUMMARY
Build directory: /home/zehortigoza/dev/ardupilot/build/aerofc-v1
Target               Text    Data  BSS    Total
------------------------------------------------
bin/arducopter       860324  2032  55220  917576
bin/arducopter-heli  844204  2028  55028  901260

after
BUILD SUMMARY
Build directory: /home/zehortigoza/dev/ardupilot/build/aerofc-v1
Target               Text    Data  BSS    Total
------------------------------------------------
bin/arducopter       852248  2024  55156  909428
bin/arducopter-heli  836120  2020  54964  893104
2017-09-21 13:40:41 -07:00
Lucas De Marchi 015242c89b Tools: add params for Aero Compute Board
These are the parameter for Aero Compute Board to fly Intel Aero RTF
without the flight controller, using just the internal sensors
on the Linux side.
2017-09-21 07:59:20 -07:00
Peter Barker 5a19301606 Tools: autotest: add a test for setting of modes using CMD_DO_SET_MODE 2017-09-19 01:24:11 +01:00
mirkix 6bc4ab638a Tools: Add SITL tilthvec frame and default parameters 2017-09-18 21:20:39 +10:00
Peter Barker 27650c08aa Tools: autotest: use -z in place of -v for checking variable settedness
Some bash versions out there don't like -v
2017-09-18 08:26:22 +10:00
Peter Barker 78a0298af0 Tools: autotest.py: look at EKF flags to determine armability 2017-09-15 15:57:11 +01:00
Peter Barker d475b91564 Tools: Replay: pass a lambda function to LR_MsgHandler_PARM to set parameters
This avoid duplication of parameter setting logic.
2017-09-14 13:43:50 +01:00
Randy Mackay ebea292d63 Tools: add frame params for eLAB 470 quad 2017-09-13 17:55:05 +09:00
Peter Barker 406f4a9ca7 Tools: generate-manifest: print errors to stderr 2017-09-13 10:09:00 +10:00
Lucas De Marchi 83b9518a49 build: remove raspilot 2017-09-12 15:06:19 -07:00
Peter Barker 0062084c40 Tools: Replay: option to print packet counts out at end 2017-09-12 19:01:59 +01:00
Francisco Ferreira efc42edabe waf: remove URUS 2017-09-11 10:04:11 -07:00
Marco Robustini b4f46b14f0 Tools: add Marco's flying field to locations file 2017-09-11 17:58:01 +01:00
Peter Barker 20bfb82a7b Tools: autotest.py: add --no-clean and --no-configure options 2017-09-11 12:45:27 +10:00
Peter Barker e505635ddd Tools: sim_vehicle: make gdb-stopped work again 2017-09-11 12:30:00 +10:00
Peter Barker 7f2882f54b Tools: LogAnalyzer: cope with renamed GPS fields 2017-09-11 12:05:12 +10:00
Peter Barker 2c0e2aab15 Tools: LogAnalyzer: derive motor count from frame type MSG 2017-09-11 12:01:24 +10:00
Francisco Ferreira 84efe7e6f5
Tools: ci: reduce ccache sizes 2017-09-08 16:33:15 +01:00
Francisco Ferreira be88b5a6e8
Tools: ci: get ccache statistics for SITL test 2017-09-08 16:33:15 +01:00
Francisco Ferreira 129fde128a
Tools: ci: let waf decide number of jobs for building SITL test 2017-09-08 16:33:15 +01:00
Francisco Ferreira aa6b997a0b
Tools: ci: use number of CPUs to choose number of jobs on Make builds 2017-09-08 16:33:15 +01:00
Francisco Ferreira c073263c8d
Tools: ci: disable ccache for Make builds 2017-09-08 16:33:15 +01:00
Francisco Ferreira 80e784c93d
Tools: ci: only do Make builds in some special cases
build using Make system for PX4-v3 or, if it is a cron job, for all PX4 boards and SITL
2017-09-08 16:33:14 +01:00
davidaroyer bde8252359 waf: add support for Aerotenna OcPoC-Zynq hardware 2017-09-08 07:30:49 -07:00
Peter Barker 2738fc34f0 Tools: autotest.py: exit if step not matched
Also, stop shadowing a variable
2017-09-08 21:51:26 +10:00
Peter Barker b5e206f72f Replay: print some statistics on exit 2017-09-06 02:30:38 +01:00
Peter Barker 6928618de8 Tools: autotest.py: allow specification of a buildlogs directory 2017-09-01 23:39:38 +10:00
Peter Barker 681a5b5c2c Tools: initvagrant: allow autotest to run 2017-09-01 23:39:38 +10:00
Luis Vale Gonçalves c046824ce7 Added our testing location
Added testing location at Tagus Park, Oeiras, Portugal
2017-08-31 14:16:10 -07:00
Jacob Walser 19086e34f0 Frame_params: update BlueROV2 defaults for 3.5.1 2017-08-30 17:49:34 -04:00
Peter Barker f0096d3c7a Tools: apmrover2.py: add a test for MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES 2017-08-30 15:54:47 +01:00
Peter Barker 324d9f3c7d Tools: apmrover2.py: add a test for MAV_CMD_DO_GET_BANNER 2017-08-30 15:54:47 +01:00
Peter Barker 1b7122d733 Tools: add a --speedup parameter to autotest to control speed of all sims 2017-08-29 22:49:40 +01:00
Francisco Ferreira 2645760d19
Tools: sim_vehicle.py: fix small bug introduced in e298e87
Thanks to @cclauss for finding this
2017-08-29 12:16:23 +01:00
Peter Barker e298e87791 sim_vehicle: add --callgrind option 2017-08-28 13:47:27 +01:00
cclauss 0f08207bdb Tools: define reduce() for Python 3
`reduce()` is called on line 55.  Python 3 dropped reduce() as a builtin.  https://docs.python.org/3/whatsnew/3.0.html#builtins encourages the rewriting of reduce() calls as explicit for loops or list comprehensions but I am not confident to try that in this context.
2017-08-28 11:43:39 +10:00
Peter Barker 24e616af7d Tools: autotest.py: factor write_fullresults 2017-08-26 17:54:32 +01:00
Andrew Tridgell 8d0d4fe40a Tools: added script to decode Saleae CSV capture file 2017-08-26 09:56:25 +10:00
Peter Barker 0334cc1c88 Tools: correct copter's fly_throttle_failsafe failure case 2017-08-26 09:36:09 +10:00
cclauss 13894506f4 from math import sqrt
Make the call match the import
2017-08-25 09:04:15 -07:00
cclauss b26b6f07bd from math import sqrt
sqrt() is called on lines 198, 200, 208.  Without this change, sqrt() is an undefined name.
2017-08-25 09:04:15 -07:00
Francisco Ferreira 415cb41c7f
Tools: add gdbserver option to Rover autotest
commit 38297c4 missed changing Rover file
2017-08-25 02:38:12 +01:00
Peter Barker a7b919f025 Tools: do not attach gdb to gdbserver unless --gdb is given 2017-08-24 21:37:06 +10:00
Miguel Arroyo 38297c4d19 Tools: Adds GDBServer with screen option for debugging 2017-08-24 21:37:06 +10:00
khancyr db3c387916 Tools: update relay pins for brushed motors in SITL 2017-08-24 20:10:32 +09:00
Lucas De Marchi bfe2acac33 build: add -Wno-attributes for PX4
This will allow us to use [[fallthrough]] attribute as an
statement.
2017-08-22 23:59:13 -07:00
Randy Mackay cd8661c665 Replay: integrate simpler Log_Write_EKF 2017-08-23 11:19:14 +09:00
Andrew Tridgell f5d91f63d2 autotest: fixed firefly parameters 2017-08-20 09:37:00 +10:00
khancyr e116ec4eb0 Rover: update SITL parameters 2017-08-17 09:47:39 +09:00
Randy Mackay 7df73c50e8 SITL: remove unnecessary THR_MAX parameter default 2017-08-17 09:39:40 +09:00
Lucas De Marchi 47968cda09 scripts: don't set PKG_CONFIG_PATH globally
It was done only for Bebop, but we build it statically so it has
actually no effect.
2017-08-16 10:51:59 -07:00
Lucas De Marchi 8a9a08ed9b build: generalize link fix 2017-08-16 10:51:59 -07:00
Miguel Arroyo a2f327678b waf: Fix for lttng linking 2017-08-16 10:51:59 -07:00
Jacob Walser 8121091fb6 Sub: Don't configure RC params in SITL 2017-08-16 11:37:46 -04:00
Francisco Ferreira d41dd7e7e7
waf: add workaround for PE linker not removing unused methods 2017-08-15 21:51:08 +01:00
Michael du Breuil 1b6c3aeea1 Replay: Avoid linking AFS 2017-08-15 15:14:56 +01:00
Randy Mackay 9b63c8751f SITL: rover default params in alphabetical order 2017-08-15 20:47:19 +09:00
Randy Mackay 1582bd85af SITL: update rover default parameters 2017-08-15 20:47:19 +09:00
Peter Barker d8e260874d Tools: copyit must always be given fourth, src, parameter 2017-08-15 13:09:45 +10:00
Peter Barker 953eefa024 Tools: include Sub in the list of known vehicles for PrintVersion 2017-08-15 11:49:35 +10:00
Peter Barker a2af13c17e Tools: calibrate SITL sub RC in autotest's sub parameters 2017-08-14 15:32:25 +09:00
Daniel Orbach 3c66663880 Tools: autotest.py: Squashed the code for default.* steps in run_step(). 2017-08-14 12:16:29 +10:00
Daniel Orbach 91e25bb937 Tools: autotest.py: Made use of shutil.copy2() where appropiate. 2017-08-14 12:16:29 +10:00
Daniel Orbach befd8b028b Tools: autotest.py: Moved all imports to top of file. 2017-08-14 12:16:29 +10:00
Daniel Orbach e951df7d50 Tools: autotest.py: Simplified binary_path through lookup table 2017-08-14 12:16:29 +10:00
Daniel Orbach 29ab76e714 Tools: autotest.py: Slightly cleaned up run_tests. 2017-08-14 12:16:29 +10:00
Daniel Orbach 04791139c0 Tools: autotest.py: Separated function definitions and script code. 2017-08-14 12:16:29 +10:00
Andrew Tridgell 4c6922e413 Tools: fixed ardusub build
and manifest generation without PX4IO
2017-08-10 09:35:31 +10:00
Peter Barker 1c2e1eeaf8 Tools: provide dummy function to avoid linking the AP_Camera 2017-08-09 16:18:22 +01:00
Andrew Tridgell 1901cb6c7f waf: added --disable-header-checks
the headers checks are most of the re-build time when editing class
headers. Disabling them makes development much faster
2017-08-08 00:42:19 -07:00
Andrew Tridgell 42b181b652 Tools: updates to build_binaries.sh (use waf)
this switches to waf for all the px4 builds, plus adds px4pro It also
removes apm1/apm2 for plane build, and removes the download directory
for PX4IO
2017-08-08 11:15:09 +10:00
Peter Barker 2437260f8a Tools: copter horizontal fence test waits for disarm then rearms 2017-08-04 17:44:43 +01:00
Peter Barker dd09bb338e Tools: wait for vehicle to disarm after handling throttle failsafe 2017-08-04 17:44:43 +01:00
Andrew Tridgell 78f6a5a177 Tools: improve devid decode 2017-08-01 20:17:11 +10:00
Andrew Tridgell 224dc439ab Tools: updated parameters to remove ELEVON and VTAIL settings 2017-08-01 08:25:32 +10:00
Andrew Tridgell 2fb94597ba autotest: adjust default params for new mixing 2017-08-01 08:25:32 +10:00
Kevin Lopez Alvarez 34c977f046 waf: Initial waf support for ppro 2017-07-24 13:45:37 +10:00
Kevin Lopez Alvarez 33f6b30ef4 Tools: initial FMUv4pro support 2017-07-24 13:45:37 +10:00
Peter Barker ebc8dc4afc Tools: LogAnalyzer: fix whitespace 2017-07-22 10:40:22 +10:00
Peter Barker a6fd812051 Tools: LogAnalyzer: use repr in place of deprecated backticks 2017-07-22 09:28:28 +10:00
Peter Barker cb56cf38d0 Tools: LogAnalyzer: remove vehicle-type-is-first-MSG-assumption 2017-07-22 09:15:59 +10:00
Peter Barker 44d1c77b0c Tools: LogAnalyzer: use print_function 2017-07-22 09:09:51 +10:00
Peter Barker c383d64954 Tools: ardusub.py: increase timeout to allow Valgrind to pass 2017-07-20 15:45:15 +10:00
Peter Barker dff026e30c Tools: Replay: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Francisco Ferreira eda5d9265f
Tools: add new no-emit option to param_parse.py so that only validation is done 2017-07-18 14:15:39 +01:00
Francisco Ferreira 83359e898a
Tools: update CI ccache version to 3.3.4
ccache 3.3.x uses CPP2 enabled by default so remove enabling it
2017-07-18 14:15:39 +01:00
Francisco Ferreira 540548f0aa
Tools: CI: only set shell to verbose after including profile
Travis has a very long .profile script, which is already shown in configure step, so there is no need to log it again in the build step
2017-07-18 14:15:38 +01:00
Matt 3fd393bc21 FRAME_PARAMS: Solo final parameters for AC 3.5.0+
This is the final list of parameters the Solo requires for ArduCopter
3.5.0+ that differ from ArduCopter 3.5.0 defaults.  I ran a
`mavparmdiff` on the defaults vs Solo to generate this list.  I added
`FRAME_TYPE` back even though it is default just because it is rather
critical. I removed all the parameters that are individual vehicle
specific (calibrations, pressure, etc).
2017-07-17 09:09:35 +09:00
Peter Barker 7042d3e9c9 Global: all vehicles get AP_Relay and AP_ServoRelayEvent libraries 2017-07-17 00:06:31 +01:00
Michael du Breuil 31924e46d3 Tools: Parameters: Permit kHz as a unit 2017-07-16 08:26:52 +10:00
khancyr 5c8b8cc9a1 Tools: update rover skid param 2017-07-08 16:07:13 +09:00
Peter Barker 6a7ed2646c Tools: Replay: Use GCS_Dummy GCS singleton 2017-07-07 16:18:37 +01:00
Peter Barker 86d8252166 Tools: correct sim_vehicle's --tracker option 2017-07-07 16:18:37 +01:00
Peter Barker 84e4e282f0 Tools: autotest: use copter-single for most of copter-coax parameters 2017-07-05 17:34:09 +01:00
Peter Barker a6de3b6865 Tools: use heli params for most of heli-dual params 2017-07-05 17:34:09 +01:00
Peter Barker 791b1f43e9 Tools: allow heli autotest to use different frame 2017-07-05 17:34:09 +01:00
Peter Barker 9948bed2a2 Tools: use rover params for most of rover-skid params 2017-07-05 17:33:32 +01:00
Peter Barker cb81f9c8b3 Tools: allow Rover to use inheritted config files 2017-07-05 17:29:55 +01:00
Peter Barker 59647b3434 Tools: autotest: correct Copter params file handling 2017-07-05 17:29:55 +01:00
Andrew Tridgell 392d990950 autotest: added dspoiler parameters for plane
and simplify vtail and elevon parameters
2017-07-03 11:17:42 +10:00
Gustavo Sousa 930f3b4aca build: boards: enable --upload option for linux boards
Make it use rsync command. That's a workaround to allow user using --upload
option, which in fact appends the 'rsync' to the command chain. A bad
side-effect of this is that the build summary is output twice for a command
like 'waf copter --upload'.
2017-07-02 08:58:26 -07:00
Peter Barker 29de7b1a17 Replay: provide a log bitmask to Dataflash constructor 2017-06-29 15:43:38 +01:00
Randy Mackay 59503f15cb Tools: update eLAB VEK AI parameters 2017-06-29 16:14:15 +09:00
khancyr 71bb0b24ed Autotest: remove SKID_STEER_OUT from default param 2017-06-28 18:53:51 +01:00
Randy Mackay bee666cd7a Tools: update eLAB VEK rover param file 2017-06-28 15:40:21 +09:00
murata 0a57177cee Tools: eLab LAB445 parameter file 2017-06-28 10:26:25 +09:00
Peter Barker 34e611be59 Tools: autotest: wait for plane to disarm before downloading logs 2017-06-27 03:10:43 +01:00
Peter Barker 05ea121d0c Tools: autotest: disarm rover before downloading logs 2017-06-27 03:10:43 +01:00
Randy Mackay d934088660 Tools: update realflight simulator params 2017-06-26 17:28:48 +09:00
Randy Mackay 62903b7639 Tools: add realflight standard params 2017-06-26 13:08:05 +09:00
Randy Mackay e6f1e14b61 Tools: fix eLab VEK parameter file 2017-06-24 13:29:59 +09:00
Pierre Kancir 4270bac49e Rover: update default param file for new skid steering 2017-06-24 13:17:34 +09:00
Randy Mackay 58dd0592ad Tools: eLAB VEK default param update
We should always require arming, thanks @khancyr for noticing this!
2017-06-21 18:20:59 +09:00
Randy Mackay f8ee82e708 Tools: remove old 3DR standard param files 2017-06-21 15:16:49 +09:00
Randy Mackay 0037ec086a Tools: rename param files for eLAB 2017-06-21 15:08:38 +09:00
Randy Mackay 3159361970 Tools: add param file for eLAB VEK AI rover 2017-06-21 15:08:38 +09:00
Randy Mackay 74f5ddb823 SITL: add copter-beacon parameter file
This allows easier testing of the Beacon code in SITL
2017-06-20 20:42:36 +09:00
Jacob Walser b752594fe5 param_metadata: Markdown parameter formatter 2017-06-20 14:53:17 +10:00
Stephen Dade b6816285e5 Tools: APM source is not required to be in Cygwin dir 2017-06-14 18:03:25 +01:00
kmine b3bf72020f Tools: added my name to GitSuccess 2017-06-14 16:00:46 +09:00
Randy Mackay 32cb3f8764 Tools: add e-flight convergence parameter file 2017-06-12 09:41:33 +09:00
Peter Barker 10b69b46e1 Replay: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Pierre Kancir c25c92bfb6 Params: add battery monitor for SITL rover and gazebo 2017-06-07 20:29:02 +10:00
Lucas De Marchi d02013c91b build: aerofc-v1: add default param file into ROMFS 2017-06-06 18:42:17 -07:00
Lucas De Marchi f6d43aea25 build: px4: allow to embed defaults file into ROMFS 2017-06-06 18:42:17 -07:00
cafoo 3e3db064d3 Tools: add my name to Git_Success.txt 2017-06-05 20:33:20 +09:00
Hiroshi Iwamoto edf667ad6e Tools: add my name to GIT_Success.txt
the member of JAPAN drone software engineering school.
2017-06-02 21:04:37 +09:00
Andrew Tridgell 228cba2524 autotest: fixed default frame type in sim_vehicle.py 2017-06-02 16:53:55 +10:00
Ikumi Motoshige aa9891fe59 Tools: add my name to GIT_Success.txt 2017-06-02 15:31:50 +09:00
Nobuyuki Arai 3bdd4c0cd6 I added my name to the list in GIT_Success.txt because of assignment of 3rd course, "Drone software engineer". 2017-05-30 10:02:43 -07:00
hrykyn b09ebbb891 autotest: add locations
adding location of Hata-drone-field, JAPAN
2017-05-28 07:30:53 -07:00
hrykyn 4cc5587348 GIT_Success: add name
adding Hiroyuki Yano the member of JAPAN drone software engineering school, course 1&2(not course 3)
2017-05-28 07:30:53 -07:00
Jacob Walser 1a52acc99e Frame_params: Remove calibration parameters from bluerov2 standard 2017-05-27 11:30:56 -04:00
Jacob Walser 193e590592 Frame_params: add standard bluerov2 parameter file 2017-05-27 11:30:56 -04:00
murata 75e770c83c Tools: add support for dodeca-hexa 2017-05-27 14:21:13 +09:00
Peter Barker 2ddf7f99b5 Tools: autotest: option to run different frame 2017-05-26 16:53:07 +09:00
Peter Barker 96cfba971c Tools: vehicleinfo: factor out a default_frame method 2017-05-26 16:53:07 +09:00
Peter Barker 3a9ac2ef40 Tools: pull out vehicle metadata into a library 2017-05-26 16:53:07 +09:00
Pierre Kancir 971c8d5948 Tools: use parm inheritance for gazebo iris model 2017-05-25 10:02:32 +10:00
Peter Barker d1fb2e7c53 Tools: use parm inheritance for copter models 2017-05-25 09:58:53 +10:00
BrainMixer b57280125c Tools: add name to GitSuccess.txt 2017-05-24 10:43:41 +09:00
Andrew Tridgell fd6625e09d Frame_params: drop target temp for Solo to 45 2017-05-24 08:41:16 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas 023e3b6e30 Tools: Add comments explaining why a couple of units are not SI 2017-05-17 18:07:25 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas 02e7c49394 Tools: remove non-ASCII characters in comments, Travis chokes on them 2017-05-17 18:07:25 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas d7c7deacdf Tools: Follow SI units conventions
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
http://www.bipm.org/en/publications/si-brochure/
http://www1.bipm.org/en/CGPM/db/3/2/   g_n unit for G-force
one further constrain is that only printable (7bit) ASCII characters are allowed

Add a validation so that Travis can validate the units
Use full text unit information when generating .wiki, .rst and .html documentation
Use both unit symbol and unit full text when generating .xml
2017-05-17 18:07:25 +10:00
Miguel Arroyo d9546523a3 Tools: sim_vehicle.py fix for Python 3 2017-05-17 11:15:34 +10:00
Andrew Tridgell cd52c5a5c5 Tools: make build_all.sh use waf 2017-05-09 14:05:20 +10:00
Lucas De Marchi eb61bb86ee Tools: build_binaries: split configure, clean and build on waf
All 3 together breaks PX4 boards that have to go through the external
CMake build system.
2017-05-08 17:07:31 -07:00
Lucas De Marchi d04dab3a30 Tools: build_binaries: fix typo and binary name 2017-05-08 17:07:31 -07:00
Lucas De Marchi cb2f472445 Tools: add aerofc-v1 to autobuild 2017-05-08 10:09:27 +09:00
kouseii c84024942b Tools: add name to Git_Success 2017-05-08 09:56:37 +09:00
Peter Barker ee16205438 Tools: ardupilotwaf: include startup tone in ROMFS 2017-05-01 13:28:27 +01:00
Peter Barker ca5bf02d7c autotest: quote words as they go into generated ritw file 2017-04-29 11:31:26 +10:00
Andrew Tridgell 55ac480e91 Tools: added decode_devid.py 2017-04-29 10:13:23 +09:00
Francisco Ferreira 2f326fe5e0 build: remove obsolote mkblctrl from PX4 builds 2017-04-27 13:32:43 +01:00
Peter Barker e90c62ffc6 autotest: run_in_terminal_window gets SITL_RITW_MINIMIZE
This is handy when running gdb repeatedly; don't
need to find the iconified window all the time.
2017-04-26 14:12:10 +10:00
Randy Mackay f6888d3544 Tools: remove often unsupported character from Git_Success
Sorry Eduardo this character causes a lot of editors trouble so replacing with a close alternative
2017-04-26 11:45:47 +09:00
qtn89 3250e4cc62 Added name to GIT_Success.txt
Testing Git Tutorial
2017-04-26 11:45:39 +09:00
Andrew Tridgell 4240d3f739 Autotest: support tilttri-vec quadplane 2017-04-24 16:54:41 +10:00
Andrew Tridgell 385d1c1951 waf: cope with spaces in directory name in mavgen 2017-04-22 13:48:19 +10:00
Lucas De Marchi cacfc4cb2f Tools: set mavlink log backend for Intel Aero RTF 2017-04-22 10:58:26 +09:00
Randy Mackay 3df5484a39 Tools: update intel aero default params
Increase expected barometer noise, reduce roll gains
2017-04-20 14:07:03 +09:00
Randy Mackay 56281f9c79 Tools: update intel aero default params 2017-04-20 10:58:11 +09:00
Andrew Tridgell c8d6311047 waf: added -Werror=switch
match the stm32 build, so errors are found in SITL
2017-04-19 20:48:42 +10:00
Reza Farrahi M aa0de36b2e Tools: fix wxpython package name on Arch 2017-04-19 02:18:30 -07:00
Randy Mackay 41d999994a Tools: update intel aero rtf default parameters 2017-04-18 20:32:36 +09:00
Matt 29adf300ee Tools: update default Solo parameters running AC3.5 2017-04-18 11:00:26 +09:00
Pierre Kancir b541949262 WAF: Px4.py remove unused PX4_UAVCAN_ROOT and UAVCAN_LIBUAVCAN_PATH 2017-04-17 13:32:27 -07:00
Randy Mackay 835aa56777 Tools: intel aero params enable failsafes 2017-04-15 18:39:13 +09:00
Pierre Kancir d4bd61d859 APMRover2: unhide default NAVL1_PERIOD with a define
set the correct value to param
2017-04-15 13:48:40 +10:00
Pierre Kancir c73584c9b8 CPUInfo: example fix travis warning
missing function declaration
implicit cast
some style fix
2017-04-13 19:56:16 +01:00
Pierre Kancir eb4298ca3e Hello: example fix travis warning
missing function declaration
implicit cast
some style fix
2017-04-13 19:56:16 +01:00
Eugene Shamaev 59ef501a19 waf: add support for building with UAVCAN 2017-04-10 22:38:13 +01:00
Andrey Kolobov 2ed63d24bd XPlane: adding airfoils required to for XPlane
needed to load some of the RC sailplane models used for SITL
2017-04-10 19:11:24 +10:00
Stephen Dade 78d1ea4727 SITL: Added missing files to win_sitl and removed -j4 2017-04-10 10:09:18 +10:00
Stephen Dade 024c91de20 SITL: Added setup scripts for Windows (Cygwin) users 2017-04-10 10:09:18 +10:00
Andrey Kolobov a8b36a9be8 autotest: An X-Plane soaring mission file 2017-04-08 20:01:33 +10:00
Andrey Kolobov c06cfc84ff autotest: Parameter file for an X-Plane RC sailplane model called Vee-gull 005 2017-04-08 20:01:21 +10:00
Jacob Walser b1906d6c04 autotest: (Sub) only execute one circle instead of four 2017-04-07 14:47:48 -04:00
Jacob Walser 82cebe47dc autotest: (Sub) dont wait_alititude after mission 2017-04-06 14:06:46 -04:00
Jacob Walser 52d2ccaa29 autotest: Fix Sub RCInput channels 2017-04-06 13:52:29 -04:00
Jacob Walser 2940673994 default_params: (Sub) Remove old parameters from defaults file 2017-04-05 13:29:06 -04:00
Anastasia Solari 4055869d7f Name added - gitsuccess.txt
hello!
2017-04-03 21:49:17 +10:00
Thomas Hehn 38f0cd0957 Added myself to the GIT_Success list. 2017-03-31 02:24:56 -07:00
Guilherme Sousa b20b0fbbd3 default-params: Added parameter files for octa and octa-quad 2017-03-29 22:43:14 +11:00
Guilherme Sousa 442715ab1b autotest: Added new frame parameters for hexa, octa and octa-quad options 2017-03-29 22:43:14 +11:00
Guilherme Sousa 30dc71547e default_params: Added parameters for hexa testing in SITL 2017-03-29 22:38:11 +11:00
Guilherme Sousa 1b89021bf8 GIT_TEST: Added myself to GIT_Success.txt 2017-03-29 22:38:11 +11:00
Adhita Selvaraj 21951569b7 Tools: Modified GIT_Success.txt 2017-03-29 20:05:07 +09:00
Tom Pittenger 3aac2c114d Update GIT_Success.txt 2017-03-28 09:59:37 -07:00
shaunaqnarindra 0a93895812 Update GIT_Success.txt 2017-03-28 21:37:02 +11:00
kbnguyen 2034918281 Added name to GIT_Success 2017-03-28 10:43:56 +09:00
Andrew Tridgell 8387e1e69c autotest: added parameters for heli-dual model 2017-03-25 16:22:10 +11:00
Lucas De Marchi fab0358a0f build: document special fields in px4 boards 2017-03-24 12:06:19 +11:00
Lucas De Marchi 2ff720f99f Frame_params: add default params for Intel Aero RTF 2017-03-24 12:06:19 +11:00
Lucas De Marchi 05c5a2ac9b build: add adc driver for aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi 81a9a70910 ROMFS: use different UART for errors in aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi 3eb16fd881 build: PX4: install rc.<board-name> as init script 2017-03-24 12:06:19 +11:00
Lucas De Marchi b1b07f4e70 build: make bootloader path relative to ROMFS
Differentiating if the path should be relative to the build dir or the
ROMFS dir based purely on the type of the item is not a good approach.
This prepares the way to have more files on ROMFS with different names
on src and dst.
2017-03-24 12:06:19 +11:00
Lucas De Marchi 8db111e0a0 build: do not add sercon for aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi d3df9c8d39 build: use dummy tone_alarm on aerofc
This allows us to use tone_alarm in the init script besides the calls
from ArduPilot code.
2017-03-24 12:06:19 +11:00
Lucas De Marchi b17acfee12 Add aerofc support
Flight Controller board that comes on Intel Aero RTF Drone.
2017-03-24 12:06:19 +11:00
Andre Kjellstrup bc8a212b68 one SITL location corrected 2017-03-23 14:24:43 -07:00
Vedarth Sharma e23bb6702d Add my name to GIT_Success.txt 2017-03-22 20:31:42 +09:00
Mahtab Sandhu be04cf120d doing my bit 2017-03-21 13:01:06 -07:00
Peter Barker f5e8facc87 Tools: LogAnalyzer: add NaN check 2017-03-21 09:38:21 +11:00
Pierre Kancir 1bb4e3c9b7 AP_IRLock_SITL: make port variable 2017-03-18 19:58:11 +11:00
Pierre Kancir fb79c96448 sim_vehicle.py: add gazebo rover 2017-03-18 19:58:11 +11:00
spsancti 551fa67673 Added myself to GIT_Succsess (and proud of it) 2017-03-17 19:45:15 +00:00
Count-Darth c35c722f4a Adding my name to GIT_Success.txt! 2017-03-17 18:00:55 +00:00
Nishchay-sopho 63da8dbb3c Update GIT_Success.txt 2017-03-17 14:25:54 +01:00
Andre Kjellstrup 7c817b2761 Adding SITL locations 2017-03-16 16:35:43 +01:00
Grant Morphett 4ee313c046 Build Rover: Fix build so correctly updates firmware-version.txt 2017-03-16 11:09:18 +11:00
Warren Eather c2c69702ba Update locations.txt 2017-03-15 22:20:49 +11:00
GuillermoGuevara c2905fc7f6 Update
Is it better this way :)
2017-03-14 21:29:28 +01:00
Randy Mackay e3bca10e9a Tools: fix Solo param file name 2017-03-14 11:36:08 +09:00
Randy Mackay 6e47eaf3c2 Tools: initial Solo default params
These are not perfect but it's a start
2017-03-14 11:10:19 +09:00
Jacob Walser 8c64728ffd autotest: Add auto mission to Sub autotest 2017-03-10 15:46:30 +11:00
Michael du Breuil c3b047cc5d Tools: Update runplanetest.py to reflect reworded ground start messages 2017-03-08 00:59:56 -08:00
Andrew Tridgell 2f8e9db606 autotest: fixed update of pymavlink 2017-03-08 16:40:10 +11:00
Jacob Walser 8e1d065d4e scripts: Generate Sub parameters 2017-03-04 09:31:51 -08:00
Opemipo Ogunkola 2631bdbe64 Add name to GIT_Success.txt 2017-03-03 09:30:28 -08:00
Jacob Walser 2c4e6a8fb6 web-firmware: Add Sub link to firmwares page 2017-03-01 14:44:55 +11:00
Randy Mackay c9ff028ec3 Tools: update IRIS param file for AC3.5 2017-02-28 16:43:09 +09:00
Randy Mackay cc67335b26 Tools: update EnRoute frame parameters 2017-02-28 14:09:41 +09:00
Randy Mackay bc89432019 Replay: fix rangefinder instantiation 2017-02-27 15:18:14 +09:00
Jacob Walser ec15f0fee5 autotest: Add Sub 2017-02-25 17:50:18 +11:00
Jacob Walser 289aab06bc scripts: Add Sub 2017-02-25 17:50:18 +11:00
Peter Barker e2f15e5fdb Tools: create a GCS_Replay class
Avoids a segfault as we assume gcs() returns an object
Provides some usefult debug as to what we're sending to the GCS as
 debug
2017-02-23 23:03:54 -08:00
Peter Barker 3f7d58fe2c sim_vehicle.py: allow a list of defaults files to be specified 2017-02-23 22:46:33 -08:00
Peter Barker f5c89117f6 Replay: remove unused variables
Also avoids segmentation fault on exit
2017-02-23 17:18:47 +11:00
Peter Barker 64d4e094fb Tools: sim_vehicle.py: correct formatting (NFC) 2017-02-23 11:07:37 +11:00
Peter Barker b256bc1dc0 Tools: sim_vehicle.py: add a warning when frame not found
We don't always have configuration for a frame type, but
it is atypical to run sim_vehicle like that.
2017-02-23 11:07:37 +11:00
Peter Barker 3be8c1e70b Tools: sim_vehicle.py: move metadata into _options
This centralises configuration information in _options and
removes duplication of data
2017-02-23 11:07:35 +11:00
Peter Barker fec23f6abe Tools: sim_vehicle.py: print possible frame types in help message 2017-02-23 11:07:05 +11:00
Peter Barker dd9de7dfb5 Tools: sim_vehicle.py: improve help about vehicle types 2017-02-23 11:06:28 +11:00
Peter Barker aec7091faa autotest: Add support for Sub in sim_vehicle.py 2017-02-21 11:26:14 +11:00
Andrew Tridgell 41b9d7c2c9 autotest: added tailsitter parameters 2017-02-18 17:31:10 +11:00
Andrew Tridgell 94fb390bda autotest: added sim_vehicle.py support for tailsitter 2017-02-18 17:26:43 +11:00
Pierre Kancir 332735d2ee SITL: update default param for skid steer rover 2017-02-16 09:45:08 +11:00
Lucas De Marchi 65f2c9eca1 build: remove batt_smbus from waf as well
It has been removed from make build system, but not from waf.
2017-02-12 01:14:04 +00:00
priseborough f9bf825094 Tools: Add analysis file for optical flow calibration data
Calculate and display recommended values of FLOW_FXSCALE and FLOW_FYSCALE from an optical flow sensor calibration test
Save plots to flow_calibration.pdf file
Save calibration parameters to flow_calibration.param file

Signed-off-by: priseborough <p_riseborough@live.com.au>

Tools: Address optical flow calibration script review comments

Tools: LogAnalyzer: stop executing TestOptFlow on insufficient data
2017-02-08 20:41:36 +11:00
Peter Barker 043b7598d1 Tools: correct error path for corrupt logs 2017-02-07 11:37:38 +11:00
Andrew Tridgell 496ed18530 autotest: sort libraries by name 2017-02-07 10:37:24 +11:00
Lucas De Marchi 00ef0cec2e build: shut up cmake regarding deprecated macros
Yes, we know we are using them. Remove warnings like:

CMake Deprecation Warning at /usr/share/cmake/Modules/CMakeForceCompiler.cmake:93 (message):
  The CMAKE_FORCE_CXX_COMPILER macro is deprecated.  Instead just set
  CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
  cmake/toolchains/Toolchain-arm-none-eabi.cmake:37 (cmake_force_cxx_compiler)
  /home/lucas/p/dronecode/ardupilot/build/px4-v2/modules/PX4Firmware/CMakeFiles/3.6.2/CMakeSystem.cmake:6 (include)
  CMakeLists.txt:204 (project)
2017-02-06 09:27:22 -08:00
Lucas De Marchi 3d29010366 build: allow to pass flags to cmake
These are flags to cmake itself, not to the compiler and is not in the
form of -DXX=YY
2017-02-06 09:27:22 -08:00
Lucas De Marchi bbc7a8b3e4 build: make instal-apt-ci.sh easier to synchronize with .travis.xml 2017-02-06 09:27:22 -08:00
Pierre Kancir 38b6ced640 Tools: sim_vehicle add option to disable mavproxy launch && better exit handling 2017-02-06 11:35:54 +01:00
Andrew Tridgell 2bb3d395cf autotest: setup for firefly6 quadplane parameters 2017-02-06 16:18:58 +11:00
Andrew Tridgell de59f27e14 autotest: fixed parameter generation for recursive libraries 2017-02-06 15:12:32 +11:00
Mirko Denecke b77ce1df6c Tools: update BBBmini Device Tree location 2017-02-03 09:10:36 +11:00
mirkix 655a6e0df7 Tools: remove BBBmini DTB 2017-02-03 09:10:36 +11:00
Pierre Kancir a6c82a0919 SITL: add an option to launch SITL from a directory 2017-02-02 04:26:37 +00:00
Lucas De Marchi 1bf17fa50f build: remove version that is not required anymore
Now bootloader, board name and px4io pass the name directly to the PX4
build system so we don't need to keep the version.
2017-01-30 18:59:34 -08:00
Lucas De Marchi 1a58d3c447 build: px4: pass px4io name directly 2017-01-30 18:59:34 -08:00
Lucas De Marchi da297d2028 build: px4: pass board name directly 2017-01-30 18:59:34 -08:00
Lucas De Marchi c81d32a0b2 build: px4: pass bootloader name directly
Don't derive the bootloader name from the version. Other boards using
the PX4 layer may not necessarily have "px4fmu" name, let alone the
version.
2017-01-30 18:59:34 -08:00
Andrew Tridgell 5d7d190394 autotest: setup PKG_CONFIG_PATH for Parrot libiio 2017-01-30 14:01:43 +11:00
Andrew Tridgell 6747f42986 waf: ensure that we can link to a package before using it
this copes with a PKG_CONFIG_PATH that points at a package for the
wrong architecture
2017-01-30 13:55:57 +11:00
Andrew Tridgell 9d592e005d waf: removed install of oreoled.bin 2017-01-29 16:31:06 +11:00