Skip to content

feat(planning_data_analyzer): add open-loop history comfort metric#379

Merged
go-sakayori merged 5 commits intoautowarefoundation:mainfrom
tier4:feat/epdms-hc-clean
Mar 30, 2026
Merged

feat(planning_data_analyzer): add open-loop history comfort metric#379
go-sakayori merged 5 commits intoautowarefoundation:mainfrom
tier4:feat/epdms-hc-clean

Conversation

@beomseok-kimm
Copy link
Copy Markdown
Contributor

Description

This PR is the first implementation step in a series toward full EPDMS support in autoware_planning_data_analyzer, following the NAVSIM metric definition and reference implementation:

This PR specifically adds HC (History Comfort) as the first standalone subscore.

How was this PR tested?

Successfully created output rosbag that contains the HC topic.

Notes for reviewers

None.

Effects on system behavior

None.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 27, 2026

Thank you for contributing to the Autoware project!

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

Please ensure:

Copy link
Copy Markdown
Contributor

@go-sakayori go-sakayori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you attach a link to the sample mcap and json?

Comment thread planning/autoware_planning_data_analyzer/docs/implementation_note.md Outdated
Comment thread planning/autoware_planning_data_analyzer/src/metrics/trajectory_metrics.cpp Outdated
return time_diff > kFiniteDifferenceEpsilon ? time_diff : kFiniteDifferenceEpsilon;
}

double normalize_angle(const double angle)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume there is a similar function in autoware_utils. Can you check?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added from autoware_utils

Comment thread planning/autoware_planning_data_analyzer/src/metrics/trajectory_metrics.cpp Outdated
Comment thread planning/autoware_planning_data_analyzer/src/metrics/trajectory_metrics.cpp Outdated
Comment thread planning/autoware_planning_data_analyzer/src/metrics/trajectory_metrics.cpp Outdated
@beomseok-kimm
Copy link
Copy Markdown
Contributor Author

Can you attach a link to the sample mcap and json?

@go-sakayori
Here is the link
https://drive.google.com/drive/u/0/folders/1zhp98yfaVREGf04RVwsagKCq7RrMGctc

Comment thread planning/autoware_planning_data_analyzer/src/metrics/history_comfort.cpp Outdated
Comment thread planning/autoware_planning_data_analyzer/src/metrics/history_comfort.cpp Outdated
Comment thread planning/autoware_planning_data_analyzer/src/metrics/history_comfort.cpp Outdated
Comment thread planning/autoware_planning_data_analyzer/src/metrics/history_comfort.hpp Outdated
Copy link
Copy Markdown
Contributor

@go-sakayori go-sakayori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the CI

@go-sakayori go-sakayori merged commit 2907429 into autowarefoundation:main Mar 30, 2026
25 of 26 checks passed
@beomseok-kimm beomseok-kimm deleted the feat/epdms-hc-clean branch March 30, 2026 07:53
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