`ros2 node list`, `ros2 service list` and `ros2 param list` randomly display information on Windows
Maintainers usually reply within 1 day
@mjcarroll is already working on this.
Since Jan 25, 2024.
Assessment
This issue has not been assessed yet.
Description
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
- Dominant language
- Python
- Stars
- 274
- Forks
- 246
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 12
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ros2/ros2cli
-
ros2 CLI prints BrokenPipeError traceback when output is piped to a command that exits early (e.g. head)May be free again @akshat-lakhera claimed this 38 days ago, and no pull request is open. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
ros2/ros2cli#1342 · 2 comments ·
Maintainers usually reply within 1 day
-
Add --timeout alias to ros2 topic pub and ros2 param listPossibly taken @1cbyc claimed this 63 days ago. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
ros2/ros2cli#1305 · 2 comments ·
Maintainers usually reply within 1 day
-
ros2doctor: UserWarning: Fail to call PackageReport/RosdistroReport class functions.Possibly taken @sujanchalla0510 claimed this 13 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 20/100
Maintainers usually reply within 1 day
-
Add --all alias to commands that include hidden nodes, topics, or servicesPossibly taken @Rajat-Arora claimed this 62 days ago. Opengood first issue
Difficulty 3/5 1-2 days Newbie friendliness 78/100
ros2/ros2cli#1302 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
ros2run python script without extension .py fails on windows + pixiMay be free again A pull request for this issue was closed without being merged. Openbug more-information-needed
Difficulty 3/5 1-2 days Newbie friendliness 68/100
ros2/ros2cli#1301 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
hive size:simple
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
backend enhancement priority:P3
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
geolens-io/geolens#4161 ·
Maintainers usually reply within 1 day