ros2 / ros2/ros2cli

'ros2 param list' stuck on node 'test'

Open
#151 4 comments 0 reactions 1 assignee View on GitHub

@mjcarroll is already working on this.

Since Oct 18, 2018.

bug ready
Dominant language
Python
Stars
262
Forks
228
Avg merge
23h 15m
Merged PRs (30d)
12

Description

Bug report

Required Info:

  • Operating System:
    • Ubuntu 18.04
  • Installation type:
    • Source
  • Version or commit hash:
    • 2049b2f
  • DDS implementation:
    • Fast-RTPS
  • Client library (if applicable):
    • N/A
Steps to reproduce issue
ros2 param list
Expected behavior

Show the list of parameters.

Actual behavior

Doesn't output anything and stay stuck forever.

Additional information

I checked the file list.py in ro2cli/ros2param/ros2param/verb and added a few print. I can see the command is getting stuck at line 82 (second line here):

for node_name in node_names:
    rclpy.spin_until_future_complete(node, futures[node_name])

It loop first on the one and only node that I launched urg_node, and stay stuck on a node I didn't launch : test.
The full node_name variable being NodeName(name='test', namespace='/', full_name='/test')

The only node I launched :

ros2 run urg_node urg_node __params:=src/urg_node/launch/urg_node_ip.yaml

It does stay stuck too if I launch it without params:

ros2 run urg_node urg_node

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.