-
Notifications
You must be signed in to change notification settings - Fork 10
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: ignore rcl_timer_init() from ros2 launch command #129
feat: ignore rcl_timer_init() from ros2 launch command #129
Conversation
Codecov ReportPatch coverage:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## main #129 +/- ##
===========================================
+ Coverage 26.23% 39.77% +13.53%
===========================================
Files 58 28 -30
Lines 3106 1878 -1228
Branches 978 981 +3
===========================================
- Hits 815 747 -68
+ Misses 1574 407 -1167
- Partials 717 724 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
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
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
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 confirmed this PR fixes the original issue
- Please consider to fix the followings
- comments in the code as I reviewed
- description of this PR
- this change is not only for "ros2 launch" but for any "python3" command
- add explanation WHY rcl_timer_init() from python3 command needs to be ignored
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 👍
6e68504
Description
Some of the processes started with python3 had a process that issued rcl_timer_init() not associated with a node in a short cycle.
As a result, the information acquired by CARET_trace increases with the passage of time, and a phenomenon occurs in which it takes time to complete measurement.
For this reason, restrict rcl_timer_init() to be excluded when invoked by the python3 command.
(memo)Currently, measurement via python3 (rclpy) is not supported.
Related links
https://tier4.atlassian.net/browse/RT2-591
Notes for reviewers
Pre-review checklist for the PR author
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.