Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{rolling} WIP: Enable ROS Visualization tools #1144

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ SKIP_RECIPE[wiringpi] ?= "${@bb.utils.contains('ROS_WORLD_SKIP_GROUPS', 'world-i
SKIP_RECIPE[packagegroup-rpi-test] ?= "${@bb.utils.contains_any('ROS_WORLD_SKIP_GROUPS', ['world-issues'], 'world-issues: Depends on blacklisted packages like wiringpi and recipes from meta-multimedia we do not depend on: bigbuckbunny-480p, bigbuckbunny-720p, bigbuckbunny-1080p and wireless-regdb from meta-networking', '', d)}"
SKIP_RECIPE[kernel-selftest] ?= "${@bb.utils.contains('ROS_WORLD_SKIP_GROUPS', 'world-issues', 'Fails to build with linux-yocto kernel: WARNING: clang >= 6.0 with bpf support is needed with kernel 4.18+ so either install it and add it to HOSTTOOLS, or add clang-native from meta-clang to dependency and then /bin/sh: 1: llc: not found + /bin/sh: 1: clang: not found + /bin/sh: 1: llvm-readelf: not found', '', d)}"
SKIP_RECIPE[vboxguestdrivers] ?= "${@bb.utils.contains('ROS_WORLD_SKIP_GROUPS', 'world-issues', 'Fails to build with linux-yocto kernel: vboxguestdrivers/5.2.22-r0/vbox_module/vboxguest/r0drv/linux/time-r0drv-linux.c:175:5: error: implicit declaration of function ktime_get_real_ts; did you mean ktime_get_real_ns? [-Werror=implicit-function-declaration]', '', d)}"
SKIP_RECIPE[renderdoc] ?= "${@bb.utils.contains('ROS_WORLD_SKIP_GROUPS', 'world-issues', 'Depends on mesa-gl without setting correct REQUIRED_DISTRO_FEATURES to match it: mesa-gl PROVIDES virtual/libgl but was skipped: one of vulkan opengl needs to be in DISTRO_FEATURES', '', d)}"
#SKIP_RECIPE[renderdoc] ?= "${@bb.utils.contains('ROS_WORLD_SKIP_GROUPS', 'world-issues', 'Depends on mesa-gl without setting correct REQUIRED_DISTRO_FEATURES to match it: mesa-gl PROVIDES virtual/libgl but was skipped: one of vulkan opengl needs to be in DISTRO_FEATURES', '', d)}"
SKIP_RECIPE[python-ldap] ?= "${@bb.utils.contains('ROS_WORLD_SKIP_GROUPS', 'world-issues', 'Depends on cyrus-sasl from meta-networking, skipped since http://lists.openembedded.org/pipermail/openembedded-devel/2020-February/205123.html', '', d)}"
SKIP_RECIPE[python-networkmanager] ?= "${@bb.utils.contains('ROS_WORLD_SKIP_GROUPS', 'world-issues', 'Depends on networkmanager, skipped since http://lists.openembedded.org/pipermail/openembedded-devel/2020-February/205124.html', '', d)}"

Expand Down
23 changes: 23 additions & 0 deletions meta-ros-common/recipes-devtools/gazebo/gz-cmake3_3.5.3.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2a461be67a1edf991251f85f3aadd1d0"

SRC_URI = "git://github.com/gazebosim/gz-cmake.git;protocol=https;branch=gz-cmake3"

SRCREV = "ddd38ff196640024d6e054ff59cf5fea1ef01d73"

S = "${WORKDIR}/git"

FILES:${PN} += "${datadir}/gz/gz-cmake3/*"
inherit cmake

# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
EXTRA_OECMAKE = ""

FILES:${PN}-dev += " \
pkgconfig/gz-cmake3.pc \
${includedir} \
${datadir}/cmake/gz-cmake3/cmake3/ \
${datadir}/gz/gz-cmake3/ \
"

BBCLASSEXTEND = "native nativesdk"
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Index: git/src/backward.cc
===================================================================
--- git.orig/src/backward.cc
+++ git/src/backward.cc
@@ -15,7 +15,7 @@
*
*/

-#include "backward.hpp"
+#include "backward_ros/backward.hpp"

namespace gz {
namespace tools {
43 changes: 43 additions & 0 deletions meta-ros-common/recipes-devtools/gazebo/gz-tools2_2.0.1.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2a461be67a1edf991251f85f3aadd1d0"

SRC_URI = " \
git://github.com/gazebosim/gz-tools.git;protocol=https;branch=gz-tools2 \
file://backward-ros-include-dir.patch \
"

SRCREV = "efcc504bd3665151266f38db627c9095e5a5773f"

S = "${WORKDIR}/git"

inherit cmake

EXTRA_OECMAKE = "-DUSE_SYSTEM_BACKWARDCPP:BOOL=ON"

DEPENDS = " \
doxygen \
jsoncpp \
libyaml \
libzip \
backward-ros \
gz-cmake3 \
"


FILES:${PN} = " \
${bindir}/gz \
${datadir}/bash-completion/completions/gz \
${libdir}/libgz-tools2-backward.so.2 \
${libdir}/libgz-tools2-backward.so.2.0.1 \
${datadir}/gz/gz.completion \
"

FILES:${PN}-dev = " \
${libdir}/libgz-tools2-backward.so \
${libdir}/pkgconfig/gz-tools.pc \
${libdir}/cmake/gz-tools2-all/gz-tools2-all-config-version.cmake \
${libdir}/cmake/gz-tools2-all/gz-tools2-all-targets.cmake \
${libdir}/cmake/gz-tools2-all/gz-tools2-all-config.cmake \
"

BBCLASSEXTEND = "native nativesdk"
23 changes: 23 additions & 0 deletions meta-ros-common/recipes-devtools/gazebo/ignition-cmake2_2.17.1.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2a461be67a1edf991251f85f3aadd1d0"

SRC_URI = "git://github.com/gazebosim/gz-cmake.git;protocol=https;branch=ign-cmake2"

SRCREV = "7e694a02c412d4595d92cb3351a5f7b6e0b44b0d"

S = "${WORKDIR}/git"

FILES:${PN} += "${datadir}/ignition/ignition-cmake2/*"
inherit cmake

# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
EXTRA_OECMAKE = ""

FILES:${PN}-dev += " \
pkgconfig/ignition-cmake2.pc \
${includedir} \
${datadir}/cmake/ignition-cmake2/cmake2/ \
${datadir}/ignition/ignition-cmake2/ \
"

BBCLASSEXTEND = "native nativesdk"
Loading