-
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 #1928
base: master
Are you sure you want to change the base?
Propagate read/write rate to the HardwareInfo properly #1928
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.
Looks way better! Just needs a test now.
The issue with this approach is we can't have new tests, but rely on the already existing If the parsing is not working, the existing tests in |
Moreover, In this approach we remove the const just to modify it, that's why I wasn't sure. |
Ok I see now that we might also add this here to gazebo/gz_ros2_control as we call |
I also thought the same earlier, but in the simulation we use the gazebo hardware directly and it runs at the rate of the simulator, so may be there it is not a big requirement |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1928 +/- ##
==========================================
- Coverage 87.73% 87.64% -0.10%
==========================================
Files 122 122
Lines 13010 13027 +17
Branches 1165 1169 +4
==========================================
+ Hits 11414 11417 +3
- Misses 1165 1175 +10
- Partials 431 435 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
The cm update rate can be lower than that of the simulator. And one could configure a |
I believe it should work |
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
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.
Ok, but we don't use this method in the gazebo plugin, and if one changes the plugin he has to take care of that..
Yup! |
Alternate approach to #1927
Fixes #1926
Closes #1927