Skip to content

feat(driving_environment_analyzer): replace autoware_universe_utils with autoware_utils_geometry#405

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

feat(driving_environment_analyzer): replace autoware_universe_utils with autoware_utils_geometry#405
vish0012 wants to merge 2 commits intoautowarefoundation:mainfrom
vish0012:feat/remove-autoware-universe-utils-in-driving_environment_analyzer

Conversation

@vish0012
Copy link
Copy Markdown
Contributor

@vish0012 vish0012 commented Apr 22, 2026

Description

Replaces autoware_universe_utils dependency in the driving_environment_analyzer package with the specific autoware_utils_geometry sub-package, following the minimum-dependency principle.

Changes

driving_environment_analyzer/package.xml

  • <depend>autoware_universe_utils</depend><depend>autoware_utils_geometry</depend>

driving_environment_analyzer/src/utils.cpp

  • #include "autoware/universe_utils/geometry/geometry.hpp"#include <autoware_utils_geometry/geometry.hpp>
  • autoware::universe_utils::getPointautoware_utils_geometry::get_point
  • autoware::universe_utils::calcElevationAngleautoware_utils_geometry::calc_elevation_angle

Note: Local wrapper functions utils::calcElevationAngle remain unchanged as they are internal to this package (out of scope for this migration).

Related Issue

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

Additional notes

This is part of a series of similar PRs for autoware_tools, grouped by top-level directory:

…ith autoware_utils_geometry

Migrates geometry-related usage from autoware_universe_utils to the
specific autoware_utils_geometry sub-package as part of the
autoware_universe_utils deprecation tracked in
autowarefoundation/autoware_universe#12376.

Changes:
- package.xml: autoware_universe_utils -> autoware_utils_geometry dependency
- src/utils.cpp:
  - #include autoware/universe_utils/geometry/geometry.hpp
    -> #include <autoware_utils_geometry/geometry.hpp>
  - autoware::universe_utils::getPoint -> autoware_utils_geometry::get_point
  - autoware::universe_utils::calcElevationAngle
    -> autoware_utils_geometry::calc_elevation_angle

Note: local wrapper functions utils::calcElevationAngle remain unchanged
as they are internal to this package (out of scope for this migration).

Signed-off-by: github-actions <github-actions@github.com>
@vish0012 vish0012 requested a review from mitsudome-r April 22, 2026 00:37
@vish0012 vish0012 requested a review from satoshi-ota as a code owner April 22, 2026 00:37
@github-actions
Copy link
Copy Markdown

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