-
Notifications
You must be signed in to change notification settings - Fork 682
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(yabloc_monitor): add yabloc_monitor #4395
feat(yabloc_monitor): add yabloc_monitor #4395
Conversation
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Moved to #4435 for testing ChatGPT reviewer |
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4395 +/- ##
==========================================
+ Coverage 14.89% 14.91% +0.02%
==========================================
Files 1516 1519 +3
Lines 104652 104655 +3
Branches 31853 31831 -22
==========================================
+ Hits 15587 15610 +23
+ Misses 72042 72010 -32
- Partials 17023 17035 +12
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Signed-off-by: kminoda <koji.minoda@tier4.jp>
|
||
const auto now = clock_->now(); | ||
|
||
const auto diff_pose = now - *latest_yabloc_pose_stamp_ptr_; |
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.
Since this is a comparison of timestamps, how about renaming it or the following?
const auto diff_pose_sec = (now - *latest_yabloc_pose_stamp_ptr_).seconds();
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.
Thank you for the review 🙏
Resolved: ad063e9
Signed-off-by: kminoda <koji.minoda@tier4.jp>
localization/yabloc/yabloc_monitor/launch/yabloc_monitor.launch.xml
Outdated
Show resolved
Hide resolved
I have confirmed that yabloc_monitor_works_well.mp4 |
Signed-off-by: kminoda <koji.minoda@tier4.jp>
BTW also confirmed that this works with new scenario proposed in driving log replayer 🎉 |
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 left some comments. Please check out them 😄
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
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.
lgtm 💯
@RyuYamamoto @YamatoAndo Hi, could you review this PR? 🙏 |
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
* feat(yabloc_monitor): add yabloc_monitor Signed-off-by: kminoda <koji.minoda@tier4.jp> * style(pre-commit): autofix * add readme Signed-off-by: kminoda <koji.minoda@tier4.jp> * style(pre-commit): autofix * update config Signed-off-by: kminoda <koji.minoda@tier4.jp> * style(pre-commit): autofix * update Signed-off-by: kminoda <koji.minoda@tier4.jp> * style(pre-commit): autofix * update Signed-off-by: kminoda <koji.minoda@tier4.jp> * style(pre-commit): autofix * remove unnecessary part Signed-off-by: kminoda <koji.minoda@tier4.jp> * remove todo Signed-off-by: kminoda <koji.minoda@tier4.jp> * fix typo Signed-off-by: kminoda <koji.minoda@tier4.jp> * remove unnecessary part Signed-off-by: kminoda <koji.minoda@tier4.jp> * update readme Signed-off-by: kminoda <koji.minoda@tier4.jp> * shorten function Signed-off-by: kminoda <koji.minoda@tier4.jp> * reflect chatgpt Signed-off-by: kminoda <koji.minoda@tier4.jp> * style(pre-commit): autofix * update Signed-off-by: kminoda <koji.minoda@tier4.jp> * cland-tidy Signed-off-by: kminoda <koji.minoda@tier4.jp> * style(pre-commit): autofix * update variable name Signed-off-by: kminoda <koji.minoda@tier4.jp> * fix if name Signed-off-by: kminoda <koji.minoda@tier4.jp> * use nullopt (and moved yabloc monitor namespace Signed-off-by: kminoda <koji.minoda@tier4.jp> * fix readme Signed-off-by: kminoda <koji.minoda@tier4.jp> * style(pre-commit): autofix * add dependency Signed-off-by: kminoda <koji.minoda@tier4.jp> * style(pre-commit): autofix * reflect comment Signed-off-by: kminoda <koji.minoda@tier4.jp> * update comment Signed-off-by: kminoda <koji.minoda@tier4.jp> * style(pre-commit): autofix --------- Signed-off-by: kminoda <koji.minoda@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: Felix F Xu <felixfxu@gmail.com>
Description
Add YabLoc monitor. The output diagnostics could be used for various purposes, incl. Driving Log Replayer.
Related links
N/A
Tests performed
Run logging_simulator with YabLoc sample rosbag, and confirmed that
yabloc_monitor: yabloc_status
is NG in /diagnostics`yabloc_monitor: yabloc_status
is OK in /diagnostics`Notes for reviewers
N/A
Interface changes
N/A
Effects on system behavior
N/A
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.