-
Notifications
You must be signed in to change notification settings - Fork 310
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
[Feature] Choose different read and write rate for the hardware components #1570
[Feature] Choose different read and write rate for the hardware components #1570
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1570 +/- ##
==========================================
+ Coverage 87.57% 87.83% +0.26%
==========================================
Files 122 122
Lines 12768 12926 +158
Branches 1146 1153 +7
==========================================
+ Hits 11181 11353 +172
+ Misses 1157 1148 -9
+ Partials 430 425 -5
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.
Great addition 👍
Why not just use update_rate
as attribute name (same as for controller_manager
or the controllers)
Please update the docs and add also a paragraph to the release notes.
Sure. I forgot about the docs. I'll update it tomorrow at the earliest. Thanks for reminding me. Well regarding the parameter name, I thought of using different because, we have |
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 the docs 👍
This pull request is in conflict. Could you fix it @saikishor? |
17a20f7
to
bc3d5c2
Compare
Resolved conflicts! |
This pull request is in conflict. Could you fix it @saikishor? |
bc3d5c2
to
84d00da
Compare
@christophfroehlich I've just fixed the conflicts after your merged PR on deprecating mimic stuff |
This pull request is in conflict. Could you fix it @saikishor? |
2540431
to
ca62a0b
Compare
This pull request is in conflict. Could you fix it @saikishor? |
ca62a0b
to
3033380
Compare
9801548
to
bc47f7d
Compare
hardware_interface/include/hardware_interface/hardware_component_info.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.
thank you!
Hello!
This PR helps to obtain different read and write update rates rather than having the same update rate as of the controller manager. With these changes, each and every component can run at their own chosen rate and they update the State and Command interfaces according to that rate. This is very useful for system with different communication layers such as EtherCAT, CAN and Serial. Hope this helps the community.
y axis corresponds to the nanoseconds
Thank you