Skip to content

feat(deviation_evaluator): replace autoware_universe_utils with specific autoware_utils sub-packages#415

Open
vish0012 wants to merge 3 commits into
autowarefoundation:mainfrom
vish0012:feat/remove-autoware-universe-utils-in-deviation_evaluator
Open

feat(deviation_evaluator): replace autoware_universe_utils with specific autoware_utils sub-packages#415
vish0012 wants to merge 3 commits into
autowarefoundation:mainfrom
vish0012:feat/remove-autoware-universe-utils-in-deviation_evaluator

Conversation

@vish0012

Copy link
Copy Markdown
Contributor

Description

Replaces the autoware_universe_utils dependency in the deviation_evaluator package with the specific autoware_utils_* sub-packages that are actually used.

Changes

package.xml

  • Removed autoware_universe_utils; added autoware_utils_geometry, autoware_utils_math, autoware_utils_tf

Header include swaps

  • autoware/universe_utils/geometry/geometry.hppautoware_utils_geometry/geometry.hpp
  • autoware/universe_utils/math/constants.hppautoware_utils_math/constants.hpp
  • autoware/universe_utils/math/normalization.hppautoware_utils_math/normalization.hpp
  • autoware/universe_utils/ros/transform_listener.hppautoware_utils_tf/transform_listener.hpp

Symbols

  • autoware_utils_geometry::get_pose, get_point, calc_azimuth_angle, calc_distance2d, calc_elevation_angle, create_quaternion_from_rpy
  • autoware_utils_math::normalize_radian, pi
  • autoware_utils_tf::TransformListener

Notes

The internal wrapper header include/deviation_evaluator/autoware_universe_utils.hpp keeps its filename (it's referenced by deviation_evaluator.hpp); only its internal symbols are migrated.

Related Issue

Part of autowarefoundation/autoware_universe#12376 (autoware_tools checklist item).

Additional notes

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

…fic autoware_utils sub-packages

Migrates all autoware_universe_utils usages in the deviation_evaluator
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_math</depend>
  - Added <depend>autoware_utils_tf</depend>
- Header includes swapped:
  - autoware/universe_utils/geometry/geometry.hpp
    -> autoware_utils_geometry/geometry.hpp
  - autoware/universe_utils/math/constants.hpp
    -> autoware_utils_math/constants.hpp
  - autoware/universe_utils/math/normalization.hpp
    -> autoware_utils_math/normalization.hpp
  - autoware/universe_utils/ros/transform_listener.hpp
    -> autoware_utils_tf/transform_listener.hpp
- Geometry symbols (autoware_utils_geometry::):
  - getPose -> get_pose
  - getPoint -> get_point
  - calcAzimuthAngle -> calc_azimuth_angle
  - calcDistance2d -> calc_distance2d
  - calcElevationAngle -> calc_elevation_angle
  - createQuaternionFromRPY -> create_quaternion_from_rpy
- Math symbols (autoware_utils_math::):
  - normalizeRadian -> normalize_radian
  - pi (name unchanged)
- TF symbols (autoware_utils_tf::):
  - TransformListener (name unchanged)

The internal wrapper header (include/deviation_evaluator/autoware_universe_utils.hpp)
keeps its filename since it is referenced by deviation_evaluator.hpp.
Only its internal includes and symbol references are migrated.

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

github-actions Bot commented Apr 27, 2026

Copy link
Copy Markdown

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.

3 participants