Skip to content

feat(planning_debug_tools): replace autoware_universe_utils with specific autoware_utils sub-packages#413

Open
vish0012 wants to merge 2 commits intoautowarefoundation:mainfrom
vish0012:feat/remove-autoware-universe-utils-in-planning_debug_tools
Open

feat(planning_debug_tools): replace autoware_universe_utils with specific autoware_utils sub-packages#413
vish0012 wants to merge 2 commits intoautowarefoundation:mainfrom
vish0012:feat/remove-autoware-universe-utils-in-planning_debug_tools

Conversation

@vish0012
Copy link
Copy Markdown
Contributor

Description

Replaces the autoware_universe_utils dependency in the planning_debug_tools package with the specific autoware_utils_* sub-packages that are actually used, following the minimum-dependency principle.

Changes

planning/planning_debug_tools/package.xml

  • Removed: <depend>autoware_universe_utils</depend>
  • Added: <depend>autoware_utils_geometry</depend>
  • Added: <depend>autoware_utils_visualization</depend>

Header include swaps

  • autoware/universe_utils/geometry/geometry.hppautoware_utils_geometry/geometry.hpp (in trajectory_analyzer.hpp and util.hpp)
  • autoware/universe_utils/ros/marker_helper.hppautoware_utils_visualization/marker_helper.hpp (in stop_reason_visualizer.cpp)

Geometry symbols → autoware_utils_geometry::

  • calcDistance2dcalc_distance2d
  • getPointget_point
  • getRPYget_rpy

Visualization symbols → autoware_utils_visualization::

  • appendMarkerArrayappend_marker_array
  • createDefaultMarkercreate_default_marker
  • createMarkerColorcreate_marker_color
  • createMarkerScalecreate_marker_scale

Both the using declarations (in util.hpp and inside StopReasonVisualizerNode::onStopReasonArray) and the bare call sites they introduce have been updated to the new snake_case names.

Note: The tf2::Matrix3x3::getRPY method call in src/perception_replayer/utils.hpp is an unrelated tf2 API and is intentionally left unchanged.

Files touched: package.xml, include/planning_debug_tools/trajectory_analyzer.hpp, include/planning_debug_tools/util.hpp, src/stop_reason_visualizer.cpp.

Related Issue

Part of the autoware_universe_utils deprecation effort tracked in autowarefoundation/autoware_universe#12376 (the autoware_tools checklist item).

Additional notes

Part of a series of similar PRs for autoware_tools, grouped by top-level directory:

…ific autoware_utils sub-packages

Migrates all autoware_universe_utils usages in the planning_debug_tools
package to the specific autoware_utils sub-packages, as part of the
autoware_universe_utils deprecation tracked in
autowarefoundation/autoware_universe#12376.

Changes:
- package.xml:
  - <depend>autoware_universe_utils</depend> removed
  - Added <depend>autoware_utils_geometry</depend>
  - Added <depend>autoware_utils_visualization</depend>
- Header includes swapped:
  - autoware/universe_utils/geometry/geometry.hpp
    -> autoware_utils_geometry/geometry.hpp
  - autoware/universe_utils/ros/marker_helper.hpp
    -> autoware_utils_visualization/marker_helper.hpp
- Geometry symbols (autoware_utils_geometry::):
  - calcDistance2d -> calc_distance2d
  - getPoint -> get_point
  - getRPY -> get_rpy
- Visualization symbols (autoware_utils_visualization::):
  - appendMarkerArray -> append_marker_array
  - createDefaultMarker -> create_default_marker
  - createMarkerColor -> create_marker_color
  - createMarkerScale -> create_marker_scale

Both the 'using' declarations and the bare call sites they introduced
have been updated to the new snake_case names.

Note: The tf2::Matrix3x3::getRPY method call in perception_replayer/utils.hpp
is an unrelated tf2 API and is intentionally left unchanged.

Signed-off-by: github-actions <github-actions@github.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants