-
Notifications
You must be signed in to change notification settings - Fork 316
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
Integrate pal_statistics for introspection of controllers, hardware components and more #1918
Integrate pal_statistics for introspection of controllers, hardware components and more #1918
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1918 +/- ##
==========================================
- Coverage 89.41% 89.37% -0.05%
==========================================
Files 139 139
Lines 14937 14996 +59
Branches 1283 1291 +8
==========================================
+ Hits 13356 13402 +46
- Misses 1101 1112 +11
- Partials 480 482 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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 could write an AI agent commenting on PRs 😆
- Please update the docs
- Please update the release_notes
Sure! Boss 😆😆 |
This pull request is in conflict. Could you fix it @saikishor? |
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.
Thanks! I tested this successfully and discussed some details with Sai, just add some notes here:
- pal_statistics name/values pair is parsed by plotjuggler to be able to select the values by name without a custom message layout/no need for sending the names on a regular basis.
- statistics from [Diagnostics] Add diagnostics of execution time and periodicity of the controllers and controller_manager #1871 will be added in a later PR.
- we have to fix clang so that it doesn't check system packages, maybe with this setup
I added some minor comments below.
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.
Approving as we have fixed clang now.
Thank you @christophfroehlich |
This pull request is in conflict. Could you fix it @saikishor? |
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.
Thanks for detailed answers @saikishor, I think this looks like a great addition!
Thanks to you for taking time and reviewing it |
b9d892c
to
90d12f2
Compare
Conflicts resolved! ;) |
…ses and add helper macros
Co-authored-by: Dr. Denis <denis@stoglrobotics.de>
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.
@destogl Thanks for the review.
I've addressed all your comments in the PR.
controller_interface/include/controller_interface/controller_interface_base.hpp
Outdated
Show resolved
Hide resolved
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.
Thanks for following up!
9b750b1
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.
Great thanks!
254b6e8
into
ros-controls:master
Added integration of pal_statistics into the ros2_control infrastructure
You can find more examples at ros-controls/ros2_control_demos#654