-
Notifications
You must be signed in to change notification settings - Fork 304
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
Closes #796 - Adds list_hardware_components to CLI #891
Closes #796 - Adds list_hardware_components to CLI #891
Conversation
# limitations under the License. | ||
|
||
from controller_manager import list_hardware_components | ||
from controller_manager.spawner import bcolors |
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 may be a better idea to move those colours to a separate file and avoid importing things from spawner by accident. It could be a new issue
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 looks like bcolors
is only used in spawner.py
and list_hardware_interfaces.py
. I can separate that in a new PR.
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.
Only a few small comments
Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com>
8157eb6
to
912239c
Compare
@Mergifyio backport humble |
✅ Backports have been created
|
Adds CLI for
list_hardware_components
. Closes #796.