Skip to content

Declare direct grid_map_core dependency in grid_map_rviz_plugin - #548

Open
andreolf wants to merge 1 commit into
ANYbotics:humblefrom
andreolf:declare-grid-map-core-in-rviz-plugin
Open

Declare direct grid_map_core dependency in grid_map_rviz_plugin#548
andreolf wants to merge 1 commit into
ANYbotics:humblefrom
andreolf:declare-grid-map-core-in-rviz-plugin

Conversation

@andreolf

Copy link
Copy Markdown

Fixes #538

Following the analysis by @Plumezz in #538: GridMapVisual includes grid_map_core/GridMap.hpp and grid_map_core/GridMapMath.hpp and uses grid_map::GridMap, Position, Index, and colorValueToVector directly, but grid_map_core was only reachable transitively through grid_map_ros.

This declares the dependency directly:

  • package.xml: add <depend>grid_map_core</depend>
  • CMakeLists.txt: add find_package(grid_map_core REQUIRED) and add grid_map_core to the dependencies list

Purely additive — grid_map_core is already in the recursive dependency closure, so resolution and build behavior are unchanged; the declared contract now matches source usage.

🤖 Generated with Claude Code

GridMapVisual includes grid_map_core headers and uses grid_map::GridMap,
Position, Index and colorValueToVector directly, but the dependency was
only reachable transitively via grid_map_ros. Declare it directly in
package.xml and CMake so the dependency contract matches source usage.

Fixes ANYbotics#538

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mergify

mergify Bot commented Aug 21, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant