You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run node with configuration file: ros2 run demo_nodes_cpp talker __params:=demo_params.yaml
check parameters in another terminal: ros2 param list
Expected behavior
terminal with node should show: some_int: 42 (1)
ros2 param list should list parameters
Actual behavior
terminal with node shows: some_int: 0 (0)
ros2 param list blocks
Additional information
If the yaml configuration to set or the API call to retrieve the parameter needs to be adapted, this should be mentioned in the documentation. However, ros2 param list should not block in any case.
The text was updated successfully, but these errors were encountered:
You don't need a custom talker for this. You can just push the existing talker node into a namespace using a command line argument: __ns:=/talker_ns.
The problem of not considering the namespace of a node in various cases is being addressed: ros2/rmw#142 After these patches have been merged this can be rechecked if it is still blocking (I wouldn't expect it to).
Bug report
Moving a node into a namespace prevents setting parameters via the yaml configuration and blocks
ros2 param list
.Required Info:
Steps to reproduce issue
talker_ns
) via inheriting fromNode("talker", "talker_ns")
:demo_params.yaml
ros2 run demo_nodes_cpp talker __params:=demo_params.yaml
ros2 param list
Expected behavior
some_int: 42 (1)
ros2 param list
should list parametersActual behavior
some_int: 0 (0)
ros2 param list
blocksAdditional information
If the yaml configuration to set or the API call to retrieve the parameter needs to be adapted, this should be mentioned in the documentation. However,
ros2 param list
should not block in any case.The text was updated successfully, but these errors were encountered: