Skip to content
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

Merged

Conversation

mcevoyandy
Copy link
Contributor

Adds CLI for list_hardware_components. Closes #796.

# limitations under the License.

from controller_manager import list_hardware_components
from controller_manager.spawner import bcolors
Copy link
Member

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

Copy link
Contributor Author

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.

ros2controlcli/setup.py Outdated Show resolved Hide resolved
Copy link
Member

@bmagyar bmagyar left a 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

mcevoyandy and others added 2 commits January 23, 2023 20:16
Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com>
@mcevoyandy mcevoyandy force-pushed the 796-add-list-hardware-components-cli branch from 8157eb6 to 912239c Compare January 24, 2023 15:58
bmagyar
bmagyar previously approved these changes Jan 28, 2023
@bmagyar bmagyar merged commit e7bab63 into ros-controls:master Feb 8, 2023
@mcevoyandy mcevoyandy deleted the 796-add-list-hardware-components-cli branch February 9, 2023 19:03
@bmagyar
Copy link
Member

bmagyar commented Feb 10, 2023

@Mergifyio backport humble

mergify bot pushed a commit that referenced this pull request Feb 10, 2023
@mergify
Copy link
Contributor

mergify bot commented Feb 10, 2023

backport humble

✅ Backports have been created

destogl pushed a commit that referenced this pull request Feb 14, 2023
(cherry picked from commit e7bab63)

Co-authored-by: Andy McEvoy <mcevoy.andy@gmail.com>
mamueluth pushed a commit to StoglRobotics-forks/ros2_control that referenced this pull request Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add list_hardware_components CLI
3 participants