Commit Graph

2753 Commits

Author SHA1 Message Date
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
Andrew Tridgell 977cd3c486 waf: re-enable uavcan on FMUv2 2017-01-29 16:31:06 +11:00
priseborough c8bdf2fab8 Replay: enable replay to ignore EK3_ENABLE setting in log 2017-01-27 16:57:42 +09:00
murata 334da0d9d5 Tools: Unify from print or println to printf. 2017-01-27 18:20:22 +11:00
mirkix d0fce3b1d7 Linux_HAL_Essentials: Restructure BeagleBone PRU firmware for BBBmini and BeagleBone Blue 2017-01-26 23:15:52 -08:00
mirkix 61a88a9b5e ardupilotwaf: Add BeagleBone Blue 2017-01-26 23:15:52 -08:00
Andrew Tridgell 1dd6d568ab waf: removed remaining PX4 rangefinder drivers 2017-01-27 18:12:05 +11:00
Andrew Tridgell 2add60bc37 waf: removed PX4 trone driver 2017-01-27 18:11:29 +11:00
Randy Mackay 99ba42c26d Build: do not build PX4Firmware rgbled driver 2017-01-27 15:24:09 +09:00
Peter Barker 817efe9b6d Tools: expect message for EKF readiness rather than sleeping
This solves a problem for me when running Valgrind as
30s was not sufficient
2017-01-26 16:53:13 +11:00
Andrew Tridgell 715db62a85 autotest: added quadplane-cl84 support 2017-01-25 19:01:15 +11:00
Julien Beraud a5523a4b94 Frame_Params: Remove unexisting param
FRAME has disappeared and causes a crash at startup
2017-01-23 21:23:16 +11:00
Andrew Tridgell 19b21b4012 autotest: fixed quadplane-tilttri params 2017-01-22 19:43:42 +11:00
Andrew Tridgell b27e4dbd0c autotest: added FRAME_CLASS for gazebo-iris 2017-01-20 21:19:55 +11:00
Randy Mackay 0b85921505 Tools: update param file for sitl optflow testing 2017-01-16 16:40:34 +09:00
Mathieu OTHACEHE 4daa4e9df9 Tools: remove deleted parameters
RCx_REV and SERVO_RNG_ENABLE no longer exists, they need to be erased
from param files.
2017-01-13 20:19:30 +11:00
Randy Mackay 07e5b43132 Tools: add FRAME_CLASS to bebop parameter files 2017-01-13 07:46:27 +09:00
Andrew Tridgell e52cff3f0b autotest: fixed throttle range for default parameters 2017-01-13 08:36:26 +11:00
Andrew Tridgell 746b0dd376 Tools: fixed build_binaries for new build names 2017-01-12 21:37:33 +11:00
Andrew Tridgell 978d32ff12 autotest: fixed JSBSim plane defaults 2017-01-12 21:30:17 +11:00
Andrew Tridgell a56090113c autotest: fixed sim_vehicle.py with -f heli 2017-01-12 17:39:37 +11:00
Andrew Tridgell fda31e67d9 autotest: fixed arducopter binary name 2017-01-12 17:39:37 +11:00
Andrew Tridgell 8504a8baad autotest: fixed sim_vehicle for new frame builds 2017-01-12 17:39:37 +11:00
Andrew Tridgell 34a7d47b3f autotest: fixed frame class for quadplane tri frames 2017-01-12 17:39:37 +11:00
Andrew Tridgell 2a1408becf Tools: no need to build tri separately 2017-01-12 17:39:37 +11:00
Andrew Tridgell 3df55b575f Tools: fixed copter tri reverse default
SITL tricopter doesn't need reversed tail servo
2017-01-12 17:39:37 +11:00
Andrew Tridgell cf636a2ea5 autotest: fixed default parms for more vehicles 2017-01-12 17:39:37 +11:00
Andrew Tridgell a10e8b9b4b Tools: fixed quadplane parameters 2017-01-12 17:39:37 +11:00
Andrew Tridgell d07d2d9a40 Tools: adapt to new RC_Channel API 2017-01-12 17:39:37 +11:00
Peter Barker 1432763ca5 Tools: permit overriding shell to use when running in terminal window 2017-01-12 10:47:34 +11:00
Randy Mackay 9d315b0829 Tools: sim_vehicle spelling correction 2017-01-09 20:40:59 +09:00
Andrew Tridgell 90516f1064 autotest: fixed checkout bug in build_binaries.sh 2017-01-09 22:04:27 +11:00
Andrew Tridgell cc5e9da6ef autotest: added some debug to build_binaries.sh 2017-01-09 21:42:38 +11:00
Andrew Tridgell 2101f7c0c1 autotest: fixed stable build of multicopter frame types 2017-01-09 11:52:11 +11:00
Peter Barker 07ad28f8b0 Tools: rename FRAME to FRAME_TYPE
SITL was broken after 12d024e0c6
2017-01-02 10:46:32 +11:00
Brian_HPLaptop\Brian e950d93d49 git_test: first commit 2017-01-01 08:52:46 -08:00
Andrew Tridgell 7df30ffe4d scripts: avoid building redundent binaries for copter
hexa, octa, y6 and octa-quad are no longer needed if we have FRAME_CLASS
2017-01-01 16:48:59 +11:00
Randy Mackay daea22d4ac Tools: autotest scripts set FRAME_CLASS 2016-12-31 10:55:23 +09:00
Daniel Schonfeld ef637e4add a better way to determine if were running inside a vagrant box 2016-12-29 10:46:29 +11:00
Andrew Tridgell bebf16b804 Tools: added FMUv3 to autobuild 2016-12-20 10:34:57 +11:00
Pierre Kancir 9ca0873042 Autotest : add simple test for Rover 2016-12-19 13:32:27 +00:00
Andrew Tridgell bebc7e4519 Replay: removed EKF_ENABLE parameter 2016-12-19 08:07:13 +11:00
Andrew Tridgell e71ee51a9c autotest: removed use of EKF_ENABLE parameter 2016-12-19 08:07:13 +11:00
Andrew Tridgell b7081f42cd waf: exclude some files from ROMFS
no need to include oreoled on FMUv2 as its Solo only
2016-12-19 08:07:13 +11:00
Andrew Tridgell 321cad640c waf: trim PX4 config to reduce firmware size
removed unused drivers
2016-12-19 08:07:12 +11:00
Andrew Tridgell 95b848f2b6 waf: fixes for FMUv3 2016-12-19 08:07:12 +11:00
Andrew Tridgell 74a871576c waf: added FMUv3 to build 2016-12-19 08:07:12 +11:00
Andrew Tridgell 35bed59bd4 Tools: Add EKF3 and remove EK1 2016-12-19 08:07:10 +11:00
Michael Day 37a165f5bf Tools: Added some Georgia fields to locations.txt 2016-12-14 09:53:57 +09:00
na0h 439cc3e4c5 add name 2016-12-12 00:06:20 -08:00
Michael Day 1ef298a06a Tools: Added Flicker field to locations.txt 2016-12-08 05:57:11 -08:00
Andrew Tridgell 57facb4a9d autotest: removed ARSPD_ENABLE parameters 2016-12-05 16:51:49 -08:00
Andrew Tridgell 7c058c922f Tools: removed ARSPD_ENABLE parameters 2016-12-05 16:51:49 -08:00
Michael Day 3bdeac78c7 Tools: Add Range11 to locations.txt 2016-12-05 09:37:15 -08:00
Andrew Tridgell 7e0d904657 Tools: link in AP_FlashStorage 2016-12-02 09:49:39 +11:00
Randy Mackay cff13e4672 Pozyx: update uno sketch to work with AP_Beacon 2016-12-01 19:21:38 +09:00
Shingo Matsuura b2a1e0cdce Pozyx: add Arduino Uno sketch
This sketch should be loaded onto an Arduino Uno connected to a Pozyx system as described on the ArduPilot wiki
2016-12-01 19:20:37 +09:00
Randy Mackay d1f944d0c9 Replay: remove call to EKF1 logging 2016-11-30 17:57:09 +09:00
Randy Mackay 277ec38adc Replay: add AP_Beacon to build 2016-11-30 17:57:08 +09:00
Andrew Tridgell a191792e4b autotest: added octa-quad sim_vehicle.py option
this was missed in conversion from sim_vehicle.sh
2016-11-30 08:02:03 +11:00
Andrew Tridgell 4ef4016e5e mk: removed PX4 irlock driver 2016-11-28 08:39:07 +11:00
Andrew Tridgell 752a5035d0 waf: remove px4flow from build 2016-11-28 08:26:57 +11:00
Andrew Tridgell 619cdbe065 Tools: fixed bash syntax error in install-prereqs-ubuntu.sh 2016-11-27 06:27:15 +11:00
Randy Mackay 3576d06638 Tools: EX700 proximity ignores legs 2016-11-26 11:39:26 +09:00
Pierre Kancir 75a2a1cd6c Tools: Don't install libc6-i386 on 32bit Ubuntu 2016-11-21 17:03:04 +00:00
Lucas De Marchi 6c9f46bafb Replay: fix shadowed declaration
../../Tools/Replay/Replay.cpp: In member function ‘FILE* Replay::xfopen(const char*, const char*)’:
../../Tools/Replay/Replay.cpp:485:60: warning: declaration of ‘filename’ shadows a member of ‘Replay’ [-Wshadow]
 FILE *Replay::xfopen(const char *filename, const char *mode)
                                  ^
2016-11-16 22:28:11 -02:00
Peter Barker 78d7a144b1 Replay: add close-on-exec to fopen flags 2016-11-16 22:20:33 -02:00
Peter Barker 4543f1c548 Replay: check return value from fopen() of output files 2016-11-16 22:20:10 -02:00
HP\isamu 1ec7d9befe Tools: add new name to Git_Success 2016-11-17 08:53:30 +09:00
Julien Beraud c6107d812d waf: Don't use lttng in static builds
already done for libiio and libdl
2016-11-16 01:23:10 -02:00
Francisco Ferreira 32cd49264e travis: revert commit 52854a
Travis has fixed the issues with space so we can go back to building PX4 with make and waf
2016-11-16 02:24:27 +00:00
Grant Morphett b507679630 CPUInfo: Updated the Makefile to use WAF commands 2016-11-15 15:54:30 -02:00
Lars Kellogg-Stedman 95134d87b0 add support for a user locations.txt file to sim_vehicle
it is inconvenient to modify locations.txt in the source, because this
will lead to the file being constantly marked as modified by git (and
potentially included in pull requests by accident).

this commit adds support for a user-maintained list of locations.
This file lives by default in
`$XDG_CONFIG_DIR/ardupilot/locations.txt` (aka
`$HOME/.config/ardupilot/locations.txt`), but may also be specified in
the `ARDUPILOT_LOCATIONS` environment variable.
2016-11-15 19:42:54 +11:00