Skip to content

fix(control_evaluator, planning_evaluator): fix goal-related metrics calculation#11337

Merged
xtk8532704 merged 2 commits intoautowarefoundation:mainfrom
tier4:fix-goal-metric-bug
Sep 9, 2025
Merged

fix(control_evaluator, planning_evaluator): fix goal-related metrics calculation#11337
xtk8532704 merged 2 commits intoautowarefoundation:mainfrom
tier4:fix-goal-metric-bug

Conversation

@xtk8532704
Copy link
Copy Markdown
Contributor

@xtk8532704 xtk8532704 commented Sep 9, 2025

Description

The original design of goal-related metrics was intended to measure only where the Ego stopped within 3 meters of the goal_pose.
However, in the original implementation, the longitudinal distance was used incorrectly. This PR modifies it to use the Euler distance instead.

Related links

Parent Issue:

  • Link

How was this PR tested?

Evaluator

The statistics are now back to normal:
image

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added type:ci Continuous Integration (CI) processes and testing. (auto-assigned) component:evaluator Evaluation tools for planning, localization etc. (auto-assigned) labels Sep 9, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 9, 2025

Thank you for contributing to the Autoware project!

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

Please ensure:

Signed-off-by: xtk8532704 <1041084556@qq.com>
Signed-off-by: xtk8532704 <1041084556@qq.com>
@github-actions github-actions bot removed the type:ci Continuous Integration (CI) processes and testing. (auto-assigned) label Sep 9, 2025
@xtk8532704 xtk8532704 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Sep 9, 2025
@xtk8532704 xtk8532704 enabled auto-merge (squash) September 9, 2025 01:33
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 9, 2025

Codecov Report

❌ Patch coverage is 12.50000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 20.36%. Comparing base (2305841) to head (0f6e5f5).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...e_control_evaluator/src/control_evaluator_node.cpp 0.00% 6 Missing ⚠️
...planning_evaluator/src/planning_evaluator_node.cpp 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11337      +/-   ##
==========================================
+ Coverage   20.19%   20.36%   +0.16%     
==========================================
  Files        1571     1574       +3     
  Lines      112908   113189     +281     
  Branches    36658    36721      +63     
==========================================
+ Hits        22800    23046     +246     
- Misses      72588    72850     +262     
+ Partials    17520    17293     -227     
Flag Coverage Δ *Carryforward flag
daily 22.07% <ø> (+<0.01%) ⬆️ Carriedforward from 2305841
daily-cuda 20.12% <ø> (-0.07%) ⬇️ Carriedforward from 2305841
differential 27.75% <12.50%> (?)
total-cuda 20.19% <ø> (+<0.01%) ⬆️ Carriedforward from 2305841

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xtk8532704 xtk8532704 merged commit f9103bc into autowarefoundation:main Sep 9, 2025
58 of 60 checks passed
@xtk8532704 xtk8532704 deleted the fix-goal-metric-bug branch September 9, 2025 01:52
@github-project-automation github-project-automation bot moved this from To Triage to Done in Software Working Group Sep 9, 2025
emuemuJP pushed a commit to arayabrain/autoware.universe.origin that referenced this pull request Sep 30, 2025
…calculation (autowarefoundation#11337)

* fix stop condition

Signed-off-by: xtk8532704 <1041084556@qq.com>

* fix include

Signed-off-by: xtk8532704 <1041084556@qq.com>

---------

Signed-off-by: xtk8532704 <1041084556@qq.com>
Signed-off-by: emuemuJP <k.matsumoto.0807@gmail.com>
xtk8532704 added a commit to tier4/autoware_universe that referenced this pull request Dec 26, 2025
…calculation (autowarefoundation#11337)

* fix stop condition

Signed-off-by: xtk8532704 <1041084556@qq.com>

* fix include

Signed-off-by: xtk8532704 <1041084556@qq.com>

---------

Signed-off-by: xtk8532704 <1041084556@qq.com>
xtk8532704 added a commit to tier4/autoware_universe that referenced this pull request Jan 16, 2026
…calculation (autowarefoundation#11337)

* fix stop condition

Signed-off-by: xtk8532704 <1041084556@qq.com>

* fix include

Signed-off-by: xtk8532704 <1041084556@qq.com>

---------

Signed-off-by: xtk8532704 <1041084556@qq.com>
xtk8532704 added a commit to tier4/autoware_universe that referenced this pull request Jan 16, 2026
…calculation (autowarefoundation#11337)

* fix stop condition

Signed-off-by: xtk8532704 <1041084556@qq.com>

* fix include

Signed-off-by: xtk8532704 <1041084556@qq.com>

---------

Signed-off-by: xtk8532704 <1041084556@qq.com>
Signed-off-by: Kem (TiankuiXian) <temkei.kem@tier4.jp>
xtk8532704 added a commit to tier4/autoware_universe that referenced this pull request Jan 26, 2026
…calculation (autowarefoundation#11337)

* fix stop condition

Signed-off-by: xtk8532704 <1041084556@qq.com>

* fix include

Signed-off-by: xtk8532704 <1041084556@qq.com>

---------

Signed-off-by: xtk8532704 <1041084556@qq.com>
Signed-off-by: Kem (TiankuiXian) <temkei.kem@tier4.jp>
mkquda pushed a commit to tier4/autoware_universe that referenced this pull request Mar 16, 2026
…calculation (autowarefoundation#11337)

* fix stop condition

Signed-off-by: xtk8532704 <1041084556@qq.com>

* fix include

Signed-off-by: xtk8532704 <1041084556@qq.com>

---------

Signed-off-by: xtk8532704 <1041084556@qq.com>
xtk8532704 added a commit to tier4/autoware_universe that referenced this pull request Apr 10, 2026
…calculation (autowarefoundation#11337)

* fix stop condition

Signed-off-by: xtk8532704 <1041084556@qq.com>

* fix include

Signed-off-by: xtk8532704 <1041084556@qq.com>

---------

Signed-off-by: xtk8532704 <1041084556@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:evaluator Evaluation tools for planning, localization etc. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants