-
Notifications
You must be signed in to change notification settings - Fork 344
Add data_type
field to the HardwareInterfaces message
#2204
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
Add data_type
field to the HardwareInterfaces message
#2204
Conversation
data_type
field to the HardwareInterfaces message typedata_type
field to the HardwareInterfaces message
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 like the idea, but should we only add it with verbose mode maybe? (so we need to add this arg to list_hardware_interfaces verb).
Please also update https://github.com/ros-controls/ros2_control/blob/master/ros2controlcli/doc/userdoc.rst (or make sphinx auto-fill this page ;))
Right now, it is in the same mode where the information of claimed or unclaimed is printed. It's just extra in same line. Do you think it's better to do it only in verbose?. If you think so, I can make the changes.
Sorry, I forgot🙈 |
it was just an idea, to avoid overloading users with info. some users never might see anything other from double. on the other hand, so they might get aware of the variants. |
You are right. Makes sense. I'll change it for verbose mode only. Thanks for your insights |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2204 +/- ##
==========================================
+ Coverage 89.08% 89.12% +0.03%
==========================================
Files 139 139
Lines 16118 16140 +22
Branches 1389 1391 +2
==========================================
+ Hits 14359 14385 +26
+ Misses 1228 1224 -4
Partials 531 531
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
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.
This is great, thanks!
This pull request is in conflict. Could you fix it @saikishor? |
This would be interesting to have when we extend the data types in the handles. Now, the CLI will also show the type of the interface, so it is much easier for the users to understand the types from a closed system. Below will be the output with these changes