Connection of robot and computer XMLRPCLIB Error
Hi there, i want to connect our robot to a computer to send all messages to him. I set ROS_MASTER_URI as described in the ROS Network Setup and it seems to be correct. If i change something, i get the error "Can not communicate with master". So i think the connection settings are fine. But if i execute rostopic list on the robots computer i get the following error:
Traceback (most recent call last):
File "/opt/ros/kinetic/bin/rostopic", line 35, in <module>
rostopic.rostopicmain()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rostopic/__init__.py", line 2099, in rostopicmain
_rostopic_cmd_list(argv)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rostopic/__init__.py", line 2039, in _rostopic_cmd_list
exitval = _rostopic_list(topic, verbose=options.verbose, subscribers_only=options.subscribers, publishers_only=options.publishers, group_by_host=options.hostname) or 0
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rostopic/__init__.py", line 1205, in _rostopic_list
state = master.getSystemState()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/masterapi.py", line 481, in getSystemState
return self._succeed(self.handle.getSystemState(self.caller_id))
File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1316, in single_request
return self.parse_response(response)
File "/usr/lib/python2.7/xmlrpclib.py", line 1493, in parse_response
return u.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 800, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: '<type \'exceptions.Exception\'>:method "getSystemState" is not supported'>
Do you think my approach of sending all messages to a control computer is wrong or do you have any thought about that error? Thanks for your help
If you are getting "Can not communicate with master" then connection setting are not fine. When you are connected to master you should be able to see all the topic and nodes and their info.
Correct. But this error just happends if i change something (to a wrong ip for example). If the settings are "correct" the XMLRPC Error appears.
So, which values have you configured for
ROS_MASTER_URI
? And what are the IPs / hostnames of the PCs involved?Did you find the cause of the problem? What was your solution? I have the same error.