ros2cli
ros2cli copied to clipboard
`ros2 node list`, `ros2 service list` and `ros2 param list` randomly display information on Windows
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
The
/turtlesim
node was found 10 out of 16 times in my test
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