Skip to content

Commit

Permalink
Merge pull request #90 from anand-bala/vision-msgs-rviz-plugins
Browse files Browse the repository at this point in the history
Add vision-msgs-rviz-plugins for linux-* and osx-*
  • Loading branch information
Tobias-Fischer authored Sep 17, 2023
2 parents 3c547a9 + ed9207f commit 46de3da
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 6 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/testpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,20 @@ jobs:
environment-file: .github/testpr_environment.yml

- shell: bash -l {0}
if: contains(matrix.os, 'linux-aarch64')
if: matrix.platform == 'linux-aarch64'
run: |
echo "::group::Configure binfmt_misc"
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
export GIT_BRANCH="$(basename $GITHUB_REF)"
echo "::endgroup::"
- name: Install libgl1-mesa-dev (only for linux-aarch64)
if: matrix.platform == 'linux-aarch64'
shell: bash -l {0}
run: |
sudo apt-get install -y libgl1-mesa-dev libglu1-mesa-dev libx11-dev libxi-dev libxmu-dev
- shell: bash -l {0}
run: |
conda config --show channels | grep defaults && conda config --remove channels defaults
Expand Down
3 changes: 3 additions & 0 deletions patch/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,6 @@ rqt_image_overlay:
slam_toolbox:
add_build: [{sel(build_platform != target_platform): qt-main}]
add_host: ["REQUIRE_OPENGL"]
vision_msgs_rviz_plugins:
add_build: [{sel(build_platform != target_platform): qt-main}]
add_host: ["REQUIRE_OPENGL"]
22 changes: 22 additions & 0 deletions patch/ros-humble-vision-msgs-rviz-plugins.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d199135..feab5ac 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -68,7 +68,6 @@ add_library(${PROJECT_NAME} SHARED
target_include_directories(${PROJECT_NAME} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include/${PROJECT_NAME}>
- ${Qt5Widgets_INCLUDE_DIRS}
)

target_link_libraries(${PROJECT_NAME} PUBLIC
@@ -75,6 +75,9 @@ target_link_libraries(${PROJECT_NAME} PUBLIC
rviz_ogre_vendor::OgreMain
rviz_ogre_vendor::OgreOverlay
rviz_common::rviz_common
+ rviz_default_plugins::rviz_default_plugins
+ Qt5::Core
+ Qt5::Widgets
)


2 changes: 1 addition & 1 deletion vinca_linux_aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ packages_select_by_deps:
- vision-msgs
- slam-toolbox

# package request
- ros2_control
- vision-msgs-rviz-plugins

# - rviz2
# - behaviortree_cpp_v3
Expand Down
7 changes: 3 additions & 4 deletions vinca_win.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ skip_existing:

packages_select_by_deps:
# only subset of packages to reduce maintainer load

- ros2_control
- backward_ros
- ros_workspace
# - ros2_control
# - backward_ros
# - ros_workspace
# - vision_msgs
# - ros_environment
# - ros_base
Expand Down

0 comments on commit 46de3da

Please sign in to comment.