Skip to content

Commit

Permalink
add gridmap
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Feb 14, 2021
1 parent cc1e32e commit d0cd0cc
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions patch/dependencies.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
moveit_visual_tools:
add: ["REQUIRE_OPENGL"]
grid_map_demos:
add: ["REQUIRE_OPENGL"]

20 changes: 20 additions & 0 deletions patch/ros-noetic-grid-map-demos.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2ac7f133..1a21ca67 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -162,10 +162,15 @@ target_link_libraries(
${catkin_LIBRARIES}
)

+if (UNIX)
+ find_package(OpenGL REQUIRED)
+endif()
+
target_link_libraries(
opencv_demo
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
+ ${OpenGL_LIBRARIES}
)

target_link_libraries(
2 changes: 2 additions & 0 deletions vinca_linux_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ skip_existing:
- https://conda.anaconda.org/robostack/

packages_select_by_deps:
- grid_map

##
# TODO Linux
##
Expand Down

0 comments on commit d0cd0cc

Please sign in to comment.