Open xtk8532704 opened 21 hours ago
Thank you for contributing to the Autoware project!
🚧 If your pull request is in progress, switch it to draft mode.
Please ensure:
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 29.06%. Comparing base (
9c6895b
) to head (d47a00e
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
Description
Here is a class
Stat
used across evaluators for accumulating statistics, which is implemented repeatedly in each evaluator. This PR do:Moved it to
autoware_universe_utils/math
and remove the implements inside evaluators.Renamed this class to
accumulator
(because this class is similar to <boost/accumulators/accumulators.hpp>).Why do this: This class has been commonly used, and will also be used for other nodes like processing_time_checker for metric statistics, so I do this refactoring.
Related links
Parent Issue:
How was this PR tested?
unit test, psim, evaluator.
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.