Problem TurtleBot3_teleop [closed]
Hey
I am trying to control my TurtleBot3 with my PC keyboard. I follow the tutorial from e-robotis. I am using ROS Kinetic and I got the error messages. I tried with another node and the same error message showed up.
The following messages:
auto-starting new master
process[master]: started with pid [5697]
ERROR: Unable to start XML-RPC server, port 11311 is already in use Unhandled exception in thread started by <bound method="" xmlrpcnode.run="" of="" <rosgraph.xmlrpc.xmlrpcnode="" object="" at="" 0x7f3a47d31b10="">>
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/xmlrpc.py", line 215, in run self._run()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/xmlrpc.py", line 284, in _run self._run_init()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/xmlrpc.py", line 234, in _run_init self.server = ThreadingXMLRPCServer((bind_address, port), log_requests)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/xmlrpc.py", line 115, in __init__ SimpleXMLRPCServer.__init__(self, addr, SilenceableXMLRPCRequestHandler, log_requests)
File "/usr/lib/python2.7/SimpleXMLRPCServer.py", line 593, in __init__ SocketServer.TCPServer.__init__(self, addr, requestHandler, bind_and_activate)
File "/usr/lib/python2.7/SocketServer.py", line 417, in __init__ self.server_bind()
File "/usr/lib/python2.7/SocketServer.py", line 431, in server_bind self.socket.bind(self.server_address)
File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use
ERROR: could not contact master [https://192.168.0.102:11311]
The traceback for the exception was written to the log file
[master] killing on exit
Unhandled exception in thread started by
sys.excepthook is missing
lost sys.stderr
what do the messages mean and how to solve it?
Looks like a communication error. Have you checked turtlebot3 is configured properly? https://emanual.robotis.com/docs/en/p...
thank you. You are right I didn't configure the ~/.bashrc properly.
Glad it worked.