Skip to content

feat(deviation_estimator): replace autoware_universe_utils with specific autoware_utils sub-packages#414

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

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

Conversation

@vish0012
Copy link
Copy Markdown
Contributor

Description

Replaces the autoware_universe_utils dependency in the deviation_estimator 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, get_rpy, create_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_estimator/autoware_universe_utils.hpp keeps its filename (it's referenced by utils.hpp); only its internal symbols are migrated.
  • The tf2_ros::TransformListener in deviation_estimator.hpp is a separate tf2 API and is left unchanged.

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_estimator
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 (in internal wrapper, source, and test files):
  - 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
  - getRPY -> get_rpy
  - createPoint -> create_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_estimator/autoware_universe_utils.hpp)
keeps its filename since it is referenced by utils.hpp as the package's
public-facing helper. Only its internal includes and symbol references
are migrated. The tf2_ros::TransformListener in deviation_estimator.hpp
is intentionally left unchanged as it is a tf2 API, not an autoware API.

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

github-actions Bot commented Apr 24, 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.

1 participant