ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I tried [adb forward tcp:11311 tcp:11311] for connection with roscore in AVD. and [rostopic list] gave erros as below.
Traceback (most recent call last):
File "/opt/ros_dia/ros/bin/rostopic", line 45, in <module>
rostopic.rostopicmain()
File "/opt/ros_dia/ros_comm/tools/rostopic/src/rostopic.py", line 1706, in rostopicmain
_rostopic_cmd_list(argv)
File "/opt/ros_dia/ros_comm/tools/rostopic/src/rostopic.py", line 1648, 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_dia/ros_comm/tools/rostopic/src/rostopic.py", line 873, in _rostopic_list
state = master.getSystemState()
File "/opt/ros_dia/ros_comm/tools/rosgraph/src/rosgraph/masterapi.py", line 467, in getSystemState
return self._succeed(self.handle.getSystemState(self.caller_id))
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 0: 'Failed to invoke method getSystemState in class org.ros.internal.node.xmlrpc.MasterImpl: null'>
hughie@hughie-nest:/opt/android-sdk-linux_x86/platform-tools$ rostopic list
Traceback (most recent call last):
File "/opt/ros_dia/ros/bin/rostopic", line 45, in <module>
rostopic.rostopicmain()
File "/opt/ros_dia/ros_comm/tools/rostopic/src/rostopic.py", line 1706, in rostopicmain
_rostopic_cmd_list(argv)
File "/opt/ros_dia/ros_comm/tools/rostopic/src/rostopic.py", line 1648, 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_dia/ros_comm/tools/rostopic/src/rostopic.py", line 873, in _rostopic_list
state = master.getSystemState()
File "/opt/ros_dia/ros_comm/tools/rosgraph/src/rosgraph/masterapi.py", line 467, in getSystemState
return self._succeed(self.handle.getSystemState(self.caller_id))
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 0: 'Failed to invoke method getSystemState in class org.ros.internal.node.xmlrpc.MasterImpl: null'>
2 | No.2 Revision |
I tried [adb forward tcp:11311 tcp:11311] for connection with roscore in AVD. and [rostopic list] gave erros as below.
Traceback (most recent call last):
File "/opt/ros_dia/ros/bin/rostopic", line 45, in <module>
rostopic.rostopicmain()
File "/opt/ros_dia/ros_comm/tools/rostopic/src/rostopic.py", line 1706, in rostopicmain
_rostopic_cmd_list(argv)
File "/opt/ros_dia/ros_comm/tools/rostopic/src/rostopic.py", line 1648, 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_dia/ros_comm/tools/rostopic/src/rostopic.py", line 873, in _rostopic_list
state = master.getSystemState()
File "/opt/ros_dia/ros_comm/tools/rosgraph/src/rosgraph/masterapi.py", line 467, in getSystemState
return self._succeed(self.handle.getSystemState(self.caller_id))
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 0: 'Failed to invoke method getSystemState in class org.ros.internal.node.xmlrpc.MasterImpl: null'>
hughie@hughie-nest:/opt/android-sdk-linux_x86/platform-tools$ rostopic list
Traceback (most recent call last):
File "/opt/ros_dia/ros/bin/rostopic", line 45, in <module>
rostopic.rostopicmain()
File "/opt/ros_dia/ros_comm/tools/rostopic/src/rostopic.py", line 1706, in rostopicmain
_rostopic_cmd_list(argv)
File "/opt/ros_dia/ros_comm/tools/rostopic/src/rostopic.py", line 1648, 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_dia/ros_comm/tools/rostopic/src/rostopic.py", line 873, in _rostopic_list
state = master.getSystemState()
File "/opt/ros_dia/ros_comm/tools/rosgraph/src/rosgraph/masterapi.py", line 467, in getSystemState
return self._succeed(self.handle.getSystemState(self.caller_id))
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 0: 'Failed to invoke method getSystemState in class org.ros.internal.node.xmlrpc.MasterImpl: null'>
my rosjava listener also can not connect to roscre in AVD.
Jun 28, 2011 10:21:07 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Jun 28, 2011 10:21:07 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request