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

ros2 node list, ros2 service list and ros2 param list randomly display information on Windows #876

Open
bananasmoothii opened this issue Jan 14, 2024 · 0 comments
Assignees

Comments

@bananasmoothii
Copy link

bananasmoothii commented Jan 14, 2024

Bug report

Required Info:

  • Operating System:
    • Windows 11
  • Installation type:
    • binary, installed from aka.ms/ros (I could not get the normal version working) with:
choco source add -n=ros-win -s="https://aka.ms/ros/public" --priority=1
choco upgrade ros-humble-desktop -y --execution-timeout=0 --pre

And my Microsoft.Powershell_profile.ps1 contains at the end:

$ROS_DOMAIN_ID=0
C:\opt\ros\humble\x64\setup.ps1
  • Version or commit hash:
    • Humble Hawksbill
  • DDS implementation:
    • Didn't touch that, I think the default is Fast DDS ?
  • Client library (if applicable):
    • ?
  • Python version in path (before ros2's setup):
    • 3.12.1

Steps to reproduce issue

Run

ros2 run turtlesim turtlesim_node

then

ros2 node list

a bunch of times, and

ros2 service list

a bunch of times.

Expected behavior

Command always containing the list of nodes / services

Actual behavior

image
The /turtlesim node was found 10 out of 16 times in my test

image
The services where found 8 out of 16 times in my test

Edit: I get the same bug with ros2 param list

When trying to get more information about a node or service that doesn't exist, for example ros2 service type /clear, the command just exits with exit code 1.

Additional information

When using rqt 'Plugins' > 'Introspection' > 'Node graph', nodes always display, and when using the 'Service Caller', services always show up.

A similar issue is #582 but this one seems to be fixed

For the fancy PowerShell displaying, I use oh-my-posh

@bananasmoothii bananasmoothii changed the title ros2 node list and ros2 service list randomly display information on Windows ros2 node list, ros2 service list and ros2 param list randomly display information on Windows Jan 15, 2024
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

No branches or pull requests

2 participants