-
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
Propagate read/write rate to the HardwareInfo properly #1927
base: master
Are you sure you want to change the base?
Propagate read/write rate to the HardwareInfo properly #1927
Conversation
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.
It feels a bit strange to pass the update rate to the parsing functions (but I have no better idea as of now).
But don't we have to pass it here?
const auto hardware_info = hardware_interface::parse_control_resources_from_urdf(urdf); |
And we will have to change gazebo+gz_ros2_control if we change API here.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1927 +/- ##
==========================================
- Coverage 87.73% 87.73% -0.01%
==========================================
Files 122 122
Lines 12978 12976 -2
Branches 1156 1156
==========================================
- Hits 11386 11384 -2
Misses 1164 1164
Partials 428 428
Flags with carried forward coverage won't be shown. Click here to find out more.
|
hahah you are right |
38fce3f
to
a386668
Compare
@christophfroehlich I understand. I share the same concerns at the beginning. Either we do it there or we remove the const here, and modify it here in the code
|
Fixes #1926