Commit Graph

1252 Commits

Author SHA1 Message Date
Dmitry Rozhkov 361aeb2a5f Merge pull request #451 from bulwahn/improve-dependencies
improve dependencies in some recipes
2017-02-08 11:23:00 +02:00
Lukas Bulwahn 7027820008 Merge pull request #453 from rojkov/octomap-upgrade
Upgrade octomap recipe to 1.8.0
2017-02-02 20:35:52 +01:00
Dmitry Rozhkov 12e6df4b54 octomap-ros: drop build dependency on cmake-modules
Since the Octomap package provides CMake configs suitable for
cross-compilation there's no need for an external module
in cmake-modules.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-02 09:53:17 +02:00
Dmitry Rozhkov 7830cd18fb cmake-modules: drop obsolete patch for Findoctomap module
With the latest update of octomap the CMake module
Findoctomap is not needed anymore.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-01 16:19:47 +02:00
Dmitry Rozhkov 6239ae221a octomap: upgrade to 1.8.0
Also backport a patch improving generation of config.cmake
files. This makes octomap libraries relocatable which is
required for successful cross-compilation builds.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-02-01 16:14:26 +02:00
Lukas Bulwahn e98c5a5053 pcl-conversions: also depend on cmake-modules
Without the dependency on cmake-modules, `bitbake pcl-conversions` can
possibly fail with:

```
| CMake Error at /home/lukas/dev/openembedded.org/openembedded-core/build/tmp-glibc/sysroots/x86_64-linux/opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
|   Could not find a package configuration file provided by "cmake_modules"
|   with any of the following names:
|
|     cmake_modulesConfig.cmake
|     cmake_modules-config.cmake
|
|   Add the installation prefix of "cmake_modules" to CMAKE_PREFIX_PATH or set
|   "cmake_modules_DIR" to a directory containing one of the above files.  If
|   "cmake_modules" provides a separate development package or SDK, be sure it
|   has been installed.
| Call Stack (most recent call first):
|   CMakeLists.txt:4 (find_package)
|
|
| -- Configuring incomplete, errors occurred!
```

The failure only occurs if cmake-modules has not been installed
before pcl-conversions is configured. Hence, the regular
regression testing with `bitbake core-image-ros-world`,
which builds many packages in parallel, did not
uncover this because cmake-modules was usually installed before
pcl-conversions was configured.

However, the issue is clearly reproducable with
`bitbake pcl-conversions cmake-modules -c cleanall && bitbake pcl-conversions`

The missing dependency was probably introduced by the automatic
recipe updates without checking for new dependencies.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2017-01-28 13:04:43 +01:00
Lukas Bulwahn a14c2138f6 eigen-conversions: also depend on cmake-modules
Without the dependency on cmake-modules, `bitbake eigen-conversions`
can possibly fail with:

```
| CMake Error at /home/lukas/dev/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/eigen-conversions/1.11.8-r0/recipe-sysroot-native/opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
|   Could not find a package configuration file provided by "cmake_modules"
|   with any of the following names:
|
|     cmake_modulesConfig.cmake
|     cmake_modules-config.cmake
|
|   Add the installation prefix of "cmake_modules" to CMAKE_PREFIX_PATH or set
|   "cmake_modules_DIR" to a directory containing one of the above files.  If
|   "cmake_modules" provides a separate development package or SDK, be sure it
|   has been installed.
| Call Stack (most recent call first):
|   CMakeLists.txt:5 (find_package)
|
|
| -- Configuring incomplete, errors occurred!
```

The failure only occurs if cmake-modules has not been installed
before eigen-conversions is configured. Hence, the regular
regression testing with `bitbake core-image-ros-world`, which
builds many packages in parallel, did not uncover this because
make-modules was usually installed before eigen-conversions was
configured.

However, the issue is clearly reproducible with
`bitbake eigen-conversions cmake-modules -c cleanall && bitbake eigen-conversions`

The missing dependency was probably introduced by the automatic
recipe updates without checking for new dependencies.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2017-01-28 10:57:36 +01:00
Lukas Bulwahn 30d5e698b8 eigen-stl-containers: depend on libeigen
Without the dependency on libeigen, `bitbake eigen-stl-containers`
can possibly fail with:

```
| CMake Error at CMakeLists.txt:8 (find_package):
|   By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
|   asked CMake to find a package configuration file provided by "Eigen3", but
|   CMake did not find one.
|
|   Could not find a package configuration file provided by "Eigen3" with any
|   of the following names:
|
|     Eigen3Config.cmake
|     eigen3-config.cmake
|
|   Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
|   "Eigen3_DIR" to a directory containing one of the above files.  If "Eigen3"
|   provides a separate development package or SDK, be sure it has been
|   installed.
|
|
| -- Configuring incomplete, errors occurred!
```

The failure only occurs if libeigen has not been installed
before eigen-stl-containers is configured. Hence, the regular
regression testing with `bitbake core-image-ros-world`,
which builds many packages in parallel, did not uncover this
because libeigen was usually installed before
eigen-stl-containers was configured.

However, the issue is clearly reproducible with
`bitbake eigen-stl-containers libeigen -c cleanall && bitbake eigen-stl-containers`

The missing dependency was probably overlooked in the creation of
the eigen-stl-containers recipe, i.e., in
commit a255e67c9e.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2017-01-28 10:42:02 +01:00
Lukas Bulwahn 7dd67496c5 Merge pull request #449 from rojkov/geometric-shapes
Drop cmake tweaks in recipes depending on Octomap
2017-01-28 10:24:04 +01:00
Dmitry Rozhkov 03ab6d41c9 octomap-ros: drop cmake tweaks in the recipe
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-01-25 16:14:04 +02:00
Dmitry Rozhkov d924c54f69 Add Findoctomap.cmake module
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-01-25 16:11:04 +02:00
Dmitry Rozhkov 9cb838527f Upgrade geometric-shapes to 0.4.5
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-01-25 15:32:19 +02:00
Lukas Bulwahn 45ff6a3bed Merge pull request #447 from rojkov/sphinxbase
sphinxbase: add build dependencies to sphinxbase
2017-01-18 15:31:16 +01:00
Dmitry Rozhkov 984697cdda sphinxbase: add build dependencies to sphinxbase (resolves #343)
sphinxbase is linked to libsndfile1, libasound from alsa-lib and
libsamplerate0, but these build dependencies are missing in the
recipe.

This update adds the missing dependencies.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-01-18 11:48:35 +02:00
Lukas Bulwahn 09ed8379fa Merge pull request #446 from rojkov/catkin-patch
revert commit beb4677 added to fix the issue #291
2017-01-12 14:01:59 +01:00
Dmitry Rozhkov e3e990de10 catkin: revert commit beb4677
The patch added in the reverted commit was meant to fix the issue
https://github.com/bmwcarit/meta-ros/issues/291

In fact it enables CMake to look for libraries in a host system which
leads to errors when a path is tested for a library presence with the
help of CMake's find_library() command: e.g. a non-existing host
directory is tested for library presence and find_library() returns
successfully because the library exists in bitbake's sysroot; then the
directory is used by the linker, but the library doesn't exist in the
directory -> failure. In worse cases the host directory may actually exist
and contain the library, but of wrong architecture, format or
incompatible ABI making finding the root cause a difficult task.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-01-10 14:56:14 +02:00
Lukas Bulwahn 47708d134e Merge pull request #444 from rojkov/realsense
librealsense: Set build type to ROS explicitly
2017-01-10 09:49:26 +01:00
Dmitry Rozhkov 43690b8b0d librealsense: Set build type to ROS explicitly
The fix for build type detection in librealsense's CMakeLists.txt
turned out to be non-functional in the official ROS build farm as
explained in https://github.com/IntelRealSense/librealsense/pull/404

Since this recipe is specific to meta-ros set the build type
explicitly to ROS to guaranty the catkin-related configs for
librealsense get created and installed properly.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-01-09 12:25:05 +02:00
Lukas Bulwahn 75a14ef32d Merge pull request #434 from guludo/mavros
Add recipes for mavros
2016-12-15 14:32:48 +01:00
JochiPochi f7148cf4cc mavros: add package recipe mavros_extras
Use the latest indigo release (0.17.4).
2016-12-15 11:55:47 +00:00
Gustavo Jose de Sousa 359cb2e1de mavros: add packages recipes
Use the latest indigo release (0.17.4).

Authors: JochiPochi <john.aleman@cyphyworks.com>
         Gustavo Jose de Sousa <gustavo.sousa@intel.com>
2016-12-13 11:32:20 +00:00
Gustavo Jose de Sousa 2846a8f39f ros-mavlink: add recipe
A patch for the config file is also necessary because the include directory
path was being hardcoded in the generated file, which caused problems for cross
compilation. That patch has already been applied on upstream but for a newer
version, so we're backporting it here.

Apparently, the Kinetic release for this package is supposed to work fine with
indigo distribution. That could be tried later, so that we can get rid of the
local patch.

Authors: JochiPochi <john.aleman@cyphyworks.com>
         Gustavo Jose de Sousa <gustavo.sousa@intel.com>
2016-12-13 11:31:39 +00:00
Lukas Bulwahn 6581c77b04 Merge pull request #431 from rojkov/realsense
realsense-camera: support RealSense camera
2016-12-12 22:15:47 +01:00
Dmitry Rozhkov 9b1a38613a realsense-camera: Add support for RealSense camera
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2016-12-12 11:45:09 +02:00
KristofRobot 0a9f44d830 Merge pull request #439 from bulwahn/ar-track-alvar
reinvestigate and resolve #397
2016-12-04 08:12:18 +01:00
KristofRobot aab3972782 Merge pull request #438 from bulwahn/indigo-updates
Updates to recent Indigo release and improve build dependency
2016-12-04 08:11:10 +01:00
Lukas Bulwahn 6ce44592b8 packagegroup-ros-world: reactivate ar-track-alvar
As ar-track-alvar has been repaired, we can add this recipe back
to packagegroup-ros-world.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2016-12-03 18:37:57 +01:00
Lukas Bulwahn e42431535e ar-track-alvar: resolves #397 with update to 0.6.1
ar_track_alvar 0.5.x only support opencv2, whereas meta-oe provides
opencv3. The ar_track_alvar kinectic versions 0.6.x also support
opencv3, as pointed out in the comment of commit e82747c4 [1].

Therefore, this commit updates ar-track-alvar to version 0.6.1
to resolve #397.

[1] e82747c42d.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2016-12-03 18:29:48 +01:00
Lukas Bulwahn 8c8349b317 diagnostic-aggregator: improve build dependency
bitbake diagnostic-aggregrator failed due to missing build
dependencies with:
```
| -- Could not find the required component 'bondcpp'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
| CMake Error at /home/lukas/dev/openembedded.org/openembedded-core/build/tmp-glibc/sysroots/qemux86/opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
|   Could not find a package configuration file provided by "bondcpp" with any
|   of the following names:
|
|     bondcppConfig.cmake
|     bondcpp-config.cmake
|
|   Add the installation prefix of "bondcpp" to CMAKE_PREFIX_PATH or set
|   "bondcpp_DIR" to a directory containing one of the above files.  If
|   "bondcpp" provides a separate development package or SDK, be sure it has
|   been installed.
| Call Stack (most recent call first):
|   CMakeLists.txt:6 (find_package)
|
|
| -- Configuring incomplete, errors occurred!
```

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2016-12-02 20:26:32 +01:00
Lukas Bulwahn 8c8d005b6e nodelet-core: updating to 1.9.8 2016-12-01 21:41:03 +01:00
Lukas Bulwahn 62336716ea dynamic-reconfigure: updating to 1.5.46 2016-12-01 21:41:02 +01:00
KristofRobot 78101ac396 Merge pull request #436 from bulwahn/resolve-433
rosconsole: add include in console.h (resolves #433)
2016-11-30 19:42:41 +01:00
Lukas Bulwahn 2cd378a1c1 rosconsole: add include in console.h (resolves #433)
Compiling rosconsole failed with:
```
[...]/ros_comm-1.11.20/tools/rosconsole/include/ros/console.h:121:14: error: 'vector' in namespace 'std' does not name a template type
 typedef std::vector<TokenPtr> V_Token;
```

The console.h assumed that vector is included already by one of its
dependencies. This bold assumption has been uncovered by the update
of the boost library to version 1.62.0 [1, 2] in openembedded-core
repository.

Coincidently, this issue was also noticed by ROS users on Gentoo and
Arch Linux, which probably also use the latest boost library and gcc6,
and they opened pull requests on the indigo and kinetic branches [3, 4, 5]
with commits to address the issue. The patch in the kinetic branch has
been merged, the others to the indigo branch have been rejected as the
ros-comm maintainers intend to simply backport the patch from the
kinetic branch for the next release.

This commit applies the patch merged in the kinetic branch in our
recipe for the current indigo release version.

[1] http://cgit.openembedded.org/openembedded-core/commit/?id=c31030d87cd1741a4186d711325b8eab9c70b327
[2] http://cgit.openembedded.org/openembedded-core/commit/?id=42b4fa2f923244bc047874752d2e0381ff6f0a25
[3] https://github.com/ros/ros_comm/pull/911
[4] https://github.com/ros/ros_comm/pull/930
[5] https://github.com/ros/ros_comm/pull/939

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2016-11-28 15:39:16 +01:00
Lukas Bulwahn dc07489745 Merge pull request #428 from rojkov/rosdistro
python-rosdistro: add missing lib rosep2 depends on
2016-10-31 11:19:44 +01:00
Lukas Bulwahn b501d2a4ad Merge pull request #429 from rojkov/readme
Update README.md to reflect roswtf's needs.
2016-10-31 11:18:23 +01:00
Dmitry Rozhkov 00a08815d3 README.md: add a note about ROS_OS_OVERRIDE
meta-ros is supposed to be used for building a custom distribution
which isn't derived from any of the OSs known to the rospkg.os_detect
module.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2016-10-31 10:00:30 +02:00
Dmitry Rozhkov bb78f8f46d python-rosdep: Add run-time dependency on python-rosdistro
python-rosdep still depends on python-rosdistro in ROS Indigo.

This dependency needs to be dropped after updating the meta
layer to Kinetic.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2016-10-31 09:37:23 +02:00
Dmitry Rozhkov d377521c6f python-rosdistro: add missing lib rosdep2 depends on
roswtf reports uninitialized /etc/ros structure and recommends
to fix the issue by running `rosdep init`. But rosdep throws an
exception when trying to import the missing rosdistro library.

The library is supposed to be dropped in kinetic, but it's still
needed in indigo which the layer is based on at the moment.
So, the patch adds the library to the layer.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2016-10-31 09:35:21 +02:00
Dmitry Rozhkov 18a9288f44 README.md: correct ROS_ROOT value
roswtf reports that

ROS_ROOT is invalid: ROS_ROOT [/opt/ros/indigo] must end in directory named 'ros'

Update README.md to change ROS_ROOT value to '/opt/ros'.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2016-10-28 12:03:52 +03:00
KristofRobot b2a3a25720 Merge pull request #427 from bulwahn/indigo-updates
adjusting to recent updates in ROS indigo distribution
2016-10-26 20:01:09 +02:00
Lukas Bulwahn 8d923c7adc pluginlib: updating to 1.10.4 2016-10-26 13:33:42 +02:00
Lukas Bulwahn b6297d5c9a nodelet-core: updating to 1.9.7 2016-10-26 13:33:42 +02:00
Lukas Bulwahn bec72c81b4 eigen-stl-containers: updating to 0.1.6 2016-10-26 13:33:42 +02:00
Lukas Bulwahn 2fae5e367e dynamic-reconfigure: updating to 1.5.45
This commit removes the patch that has been accepted upstream
and has been included in the version 1.5.45.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2016-10-26 13:32:09 +02:00
Lukas Bulwahn 5185618e5a class-loader: updating to 0.3.6 2016-10-26 10:05:39 +02:00
Lukas Bulwahn 4d3bb9926c bond-core: updating to 1.7.18 2016-10-26 10:05:05 +02:00
Lukas Bulwahn b64a63547e actionlib: updating to 1.11.7 2016-10-26 10:04:47 +02:00
Lukas Bulwahn 0e98c6fae1 Merge pull request #426 from bulwahn/move-to-discourse
README.md: point out OpenEmbedded category on discourse.ros.org
2016-10-26 09:08:45 +02:00
Lukas Bulwahn 87c82fdaf7 README.md: point out OpenEmbedded category on discourse.ros.org 2016-10-26 09:02:34 +02:00
KristofRobot 621669d0af Merge pull request #423 from bulwahn/support-gcc6
patch all ROS packages to build with gcc6 (resolves #392)
2016-10-15 17:11:58 +02:00