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
I am interested in running the zenoh-bridge-ros2dds docker image with the nodeID to be /robot3/cc_router, but without zenoh changing the namespace prefix of actions/services/topics that are sent through the zenoh-bridge, as the namespacing is already preconfigured internally.
e.g.
I tried changing using the ros2 __node remap, e.g. --ros-args -r __node:=robot3/cc_router , which shows the desired node name when calling ros2 node list, and the zenoh behaviour works without changing the prefixes as desired.
However, issuing ros2 node info /robot3/cc_router no longer works:
root@tom:~# ros2 node list
/foxglove_bridge
/foxglove_bridge_component_manager
/robot3/cc_router
root@tom:~# ros2 node info /robot3/cc_router
/robot3/cc_router
Traceback (most recent call last):
File "/opt/ros/humble/bin/ros2", line 33, in<module>
sys.exit(load_entry_point('ros2cli==0.18.9', 'console_scripts', 'ros2')())
File "/opt/ros/humble/lib/python3.10/site-packages/ros2cli/cli.py", line 91, in main
rc = extension.main(parser=parser, args=args)
File "/opt/ros/humble/lib/python3.10/site-packages/ros2node/command/node.py", line 37, in main
return extension.main(args=args)
File "/opt/ros/humble/lib/python3.10/site-packages/ros2node/verb/info.py", line 59, in main
subscribers = get_subscriber_info(
File "/opt/ros/humble/lib/python3.10/site-packages/ros2node/api/__init__.py", line 85, in get_subscriber_info
return get_topics(
File "/opt/ros/humble/lib/python3.10/site-packages/ros2node/api/__init__.py", line 76, in get_topics
names_and_types = func(node.name, node.namespace)
File "/usr/lib/python3.10/xmlrpc/client.py", line 1122, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python3.10/xmlrpc/client.py", line 1464, in __request
response = self.__transport.request(
File "/usr/lib/python3.10/xmlrpc/client.py", line 1166, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python3.10/xmlrpc/client.py", line 1182, in single_request
return self.parse_response(resp)
File "/usr/lib/python3.10/xmlrpc/client.py", line 1354, in parse_response
returnu.close()
File "/usr/lib/python3.10/xmlrpc/client.py", line 668, in close
raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 1: "<class 'rclpy._rclpy_pybind11.NodeNameNonExistentError'>:cannot get subscriber names and types for nonexistent node: error not set">
Describe the bug
I am interested in running the zenoh-bridge-ros2dds docker image with the nodeID to be /robot3/cc_router, but without zenoh changing the namespace prefix of actions/services/topics that are sent through the zenoh-bridge, as the namespacing is already preconfigured internally.
e.g.
is undesirable.
I tried changing using the ros2 __node remap, e.g.
--ros-args -r __node:=robot3/cc_router
, which shows the desired node name when callingros2 node list
, and the zenoh behaviour works without changing the prefixes as desired.However, issuing
ros2 node info /robot3/cc_router
no longer works:To reproduce
System info
The text was updated successfully, but these errors were encountered: