Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rosnode info does not work #202

Open
Carter12s opened this issue Oct 20, 2024 · 2 comments
Open

rosnode info does not work #202

Carter12s opened this issue Oct 20, 2024 · 2 comments

Comments

@Carter12s
Copy link
Collaborator

root@Moonboi:/# rosnode info /talker_rs 
--------------------------------------------------------------------------------
Node [/talker_rs]
Publications: 
 * /my_point [geometry_msgs/PointStamped]

Subscriptions: None

Services: None


contacting node http://Moonboi:32975 ...
Traceback (most recent call last):
  File "/opt/ros/noetic/bin/rosnode", line 35, in <module>
    rosnode.rosnodemain()
  File "/opt/ros/noetic/lib/python3/dist-packages/rosnode/__init__.py", line 812, in rosnodemain
    sys.exit(_rosnode_cmd_info(argv) or 0)
  File "/opt/ros/noetic/lib/python3/dist-packages/rosnode/__init__.py", line 640, in _rosnode_cmd_info
    rosnode_info(node, options.quiet)
  File "/opt/ros/noetic/lib/python3/dist-packages/rosnode/__init__.py", line 598, in rosnode_info
    print(get_node_connection_info_description(node_api, master))
  File "/opt/ros/noetic/lib/python3/dist-packages/rosnode/__init__.py", line 537, in get_node_connection_info_description
    businfo = _succeed(node.getBusInfo(ID))
  File "/usr/lib/python3.8/xmlrpc/client.py", line 1109, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python3.8/xmlrpc/client.py", line 1450, in __request
    response = self.__transport.request(
  File "/usr/lib/python3.8/xmlrpc/client.py", line 1153, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.8/xmlrpc/client.py", line 1183, in single_request
    raise ProtocolError(
xmlrpc.client.ProtocolError: <ProtocolError for Moonboi:32975/RPC2: 501 Not Implemented>
@Carter12s
Copy link
Collaborator Author

DEBUG [roslibrust::ros1::node::xmlrpc] New node xmlrpc connection AddrStream { inner: PollEvented { io: Some(TcpStream { addr: 127.0.1.1:32975, peer: 127.0.0.1:34936, fd: 12 }) }, remote_addr: 127.0.0.1:34936, local_addr: 127.0.1.1:32975 }
DEBUG [roslibrust::ros1::node::xmlrpc] getPid called by [String("/rosnode")]
WARN  [roslibrust::ros1::node::xmlrpc] Client attempted call function getBusInfo which is not implemented by the Node's xmlrpc server.

Decide if we want to support getBusInfo

@Carter12s
Copy link
Collaborator Author

image

If we decide to not support (maybe only Python nodes support?) we should figure out what the C++ nodes respond with and respond with the same things so rosnode info doesn't crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant