-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(map_based_prediction): add diagnostic handler to warn the processing time excess #10219
base: main
Are you sure you want to change the base?
feat(map_based_prediction): add diagnostic handler to warn the processing time excess #10219
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
468156f
to
283d13d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10219 +/- ##
==========================================
- Coverage 26.04% 26.02% -0.03%
==========================================
Files 1375 1375
Lines 106433 106522 +89
Branches 40872 40953 +81
==========================================
- Hits 27725 27723 -2
- Misses 75710 76094 +384
+ Partials 2998 2705 -293
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
283d13d
to
5b0c060
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to request to reflect changes, then show test result by showing
- test procedure
- screenshot of
ros2 run rqt_runtime_monitor rqt_runtime_monitor
- how faulty situation is produced and the diagnostics showed the warn/error status (for example, set the tolerance very short)
perception/autoware_map_based_prediction/src/map_based_prediction_node.cpp
Outdated
Show resolved
Hide resolved
perception/autoware_map_based_prediction/src/map_based_prediction_node.cpp
Outdated
Show resolved
Hide resolved
@ktro2828 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similar to https://github.com/autowarefoundation/autoware.universe/pull/10257/files#, it would be better to set tolerance duration of is_processing_time_ok=false
perception/autoware_map_based_prediction/src/map_based_prediction_node.cpp
Outdated
Show resolved
Hide resolved
perception/autoware_map_based_prediction/src/map_based_prediction_node.cpp
Outdated
Show resolved
Hide resolved
…a threshold Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
b9c98ca
to
080a5a1
Compare
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
080a5a1
to
ace935d
Compare
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
@technolojin I added some updates and confirmed it works as shown the video in PR description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similar to https://github.com/autowarefoundation/autoware.universe/pull/10257/files#, it would be better to set tolerance duration of is_processing_time_ok=false
Description
This PR introduces diagnostics handler to warn when the processing time exceed a threshold value.
Related links
autoware_launch
: feat: add parameter for diagnostics autoware_launch#1362How was this PR tested?
Screencast.from.03-18-2025.04.30.02.PM.webm
TIER IV INTERNAL LINK
Notes for reviewers
None.
Interface changes
ROS Parameter Changes
Additions and removals
processing_time_tolerance_ms
double
500.0
Effects on system behavior
None.