Lucas De Marchi
8967220652
waf: pass uselib_store in check_package()
...
This guarantees waf will always add the flags with our known prefix.
2016-07-13 15:24:42 -03:00
Andrew Tridgell
1b12371e25
waf: use define_name in libdl check
2016-07-13 15:24:42 -03:00
Andrew Tridgell
a5adae5fb4
waf: make linux check for libdl
...
needed for libiio
2016-07-13 15:24:42 -03:00
Andrew Tridgell
3322d7c321
waf: don't build bebop static
...
need dynamic for libiio
2016-07-13 15:24:42 -03:00
Andrew Tridgell
2980d47e23
waf: added check_package() function for pkg-config checks
...
this converts existing pkg-config checks to use check_package, which
sets up all the needed variables after a check.
This also disables libdl and libiio for static builds, where they make
no sense
2016-07-13 15:24:41 -03:00
Lucas De Marchi
ee62b61fc7
waf: use STDC format macros
2016-07-13 14:18:27 +10:00
Lucas De Marchi
8a27680fbb
build: check for endian.h and byteswap.h
2016-07-08 19:49:32 -03:00
Andrew Tridgell
1a3b292aa3
autotest: fixed run_in_terminal_window() on Linux
...
try to retain MacOS functionality too
2016-07-08 08:20:20 +10:00
Lucas De Marchi
e2498a1090
autotest: add function to kill tasks on MacOS
...
Like done on other cases, add an explicit function for that, which turns
the comment redundant.
2016-07-07 11:35:18 -03:00
Siddharth Bharat Purohit
4f0dad19ea
autotest: support mac osx terminal launch
2016-07-07 11:35:17 -03:00
Siddharth Bharat Purohit
71c2f69a63
waf: add support for sitl build on mac
2016-07-07 11:35:17 -03:00
snl1101
e15b1a8f2e
SITL: add Sterling to locations.txt
2016-07-01 11:21:56 +09:00
Gustavo Jose de Sousa
f426e2c681
Replay: build: use separate library
...
There are checks for APM_BUILD_Replay in the source code, so Replay tools needs
a separate static library.
2016-06-30 12:55:18 -03:00
Andrew Tridgell
d477905fbd
autotest: fixed XPlane with sim_vehicle.py
2016-06-30 20:26:14 +10:00
Andrew Tridgell
b1de768756
autotest: added quadplane-tilttri parameters
2016-06-30 17:00:56 +10:00
Andrew Tridgell
0f7b4a0cd1
autotest: fixed tricopter quadplane for sim_vehicle.py
2016-06-30 14:16:52 +10:00
Gustavo Jose de Sousa
a748c52f06
waf: bump to version 1.9.0
...
Some things worth mentioning:
- That version contains commits we had cherry picked on our submodule.
- There's a patch on top with a fix for the new process spawning used on
version 1.9.0. That has already been applied to upstream's master, but not
released yet.
- This patch also does necessary changes on our build system in order to
accommodate the upgrade. Basically:
- Use full task class names when calling create_task().
- Use always_run class attribute instead of the decorator, which is
deprecated.
2016-06-29 11:18:22 -03:00
Paul Riseborough
094dd9d769
Replay: Fix bug preventing use of IMT data during replay
2016-06-28 14:20:13 +10:00
Peter Barker
b23f983459
autotest: add --gdb option to autotest.py
2016-06-27 18:14:55 -03:00
Lucas De Marchi
3a5bc141bb
build: use format macros in all linux boards
...
This doesn't work for px4 since it manually defines __STDC_FORMAT_MACROS
in some px4 modules, which needs to be updated.
2016-06-25 12:51:55 -03:00
Andrew Tridgell
a8e5255b90
autotest: look in parent directories for vehicle type in sim_vehicle.py
...
this allows eeprom.bin per vehicle type without using -v
2016-06-24 11:28:18 +10:00
Lucas De Marchi
a9919420c6
waf: allow to disable libiio at configuration
...
We default to autodetection for libiio so if the libraries are available
we enable it. However this may not always be desired.
2016-06-23 19:08:13 -03:00
Lucas De Marchi
348678888b
waf: allow to disable lttng at configuration
...
We default to autodetection for LTTNG so if the libraries are available
we enable it. However this may not always be desired.
2016-06-23 19:07:26 -03:00
Peter Barker
febba9112f
sim_vehicle.py: simply ignore any failure to kill tasks
2016-06-23 18:39:09 -03:00
Peter Barker
2266223665
sim_vehicle.py: shell out to pkill if psutil is not available
2016-06-23 18:39:09 -03:00
Peter Barker
d9ad962b33
sim_vehicle.py: allow starting mavproxy without --sitl option
2016-06-22 21:25:11 +10:00
Peter Barker
51020387c8
sim_vehicle.py: allow model to be overridden on command line
2016-06-22 21:25:11 +10:00
Randy Mackay
a7422153cb
SITL: disable avoidance so we can trigger fence failsafe
2016-06-22 11:38:15 +09:00
David B. Bitton
f58ce71a77
Update initvagrant.sh
...
Made jsbsim origin URL more firewall friendly.
2016-06-21 13:03:35 -03:00
Peter Barker
6530c3bd91
autotest.py: exit with error if requested step not found
2016-06-20 11:48:07 +10:00
Andrew Tridgell
d9d53c82d0
autotest: added xplane as vehicle type
2016-06-19 13:59:15 +10:00
Randy Mackay
036349cd2f
SITL: set copter MOT_THST_HOVER default
2016-06-18 11:55:49 +09:00
Randy Mackay
ed90d00fff
SITL: throttle to 50 percent now that hover throttle automatically updates
2016-06-18 11:55:49 +09:00
Tom Pittenger
ed7af8c717
scripts: Add libc6-i386 to px4 package install.
...
Fixes https://github.com/ArduPilot/ardupilot/issues/4316
2016-06-16 08:06:06 -07:00
Peter Barker
eefdc32f51
Replay: print message when gap perceived in log
2016-06-07 14:00:14 +10:00
Peter Barker
f6c7a73170
Replay: command line option to disable FP exceptions
2016-06-07 12:45:38 +10:00
Peter Barker
53df307c2d
sim_vehicle.py: older python has no accessors for proc.status
2016-06-06 12:27:41 +10:00
Peter Barker
91e72de302
sim_vehicle.py: remove unused parameter
2016-06-06 12:27:29 +10:00
Peter Barker
efef39732e
autotest: pass any supplied -j through to waf make
2016-06-05 09:45:58 +10:00
Peter Barker
eb0e3c993d
Tools: build_examples.sh implemented in terms of build_examples.py
2016-06-04 12:33:15 -03:00
Peter Barker
b6289af522
Tools: autotest uses waf directly for building examples
2016-06-04 12:33:14 -03:00
Peter Barker
8cf49d4e3e
Tools: create build_examples.py, a replacement for build_examples.sh
2016-06-04 12:33:14 -03:00
Gustavo Jose de Sousa
6fa97c2289
waf: px4: require cmake version at least 3.2
...
That way we avoid build errors due to things not supported in earlier versions.
2016-06-03 09:55:17 -03:00
Gustavo Jose de Sousa
03728ac2f7
waf: cmake: enable minimum version checking
...
By using the environment variable CMAKE_MIN_VERSION.
2016-06-03 09:55:17 -03:00
Peter Barker
0924ae0d25
Tools: add cmake as a dep for PX4 in Vagrant
2016-06-02 13:05:25 +10:00
Francisco Ferreira
501284f65a
ci: remove clang temporarily from APT packages
2016-05-31 19:25:51 +01:00
Andrew Tridgell
475579e8ff
autotest: skip build of boards we don't support
...
this prevents us trying to build for boards like navio2 for
ArduCopter-stable which didn't support that board
2016-05-30 08:25:10 +10:00
Andrew Tridgell
168f4e52cf
autotest: try to fix build of binaries
2016-05-28 07:29:23 +10:00
Andrew Tridgell
084a37d4fa
autotest: enable LOG_REPLAY and LOG_DISARMED in autotest
...
this will give us the ability to analyse any EKF errors
2016-05-27 21:23:39 +10:00
Peter Barker
480e142cfb
autotest.py: remove TARGET no longer required
2016-05-27 08:07:07 -03:00