Problem TurtleBot3_teleop [closed]

asked 2022-01-04 11:03:53 -0500

ENTMar gravatar image

updated 2022-08-17 11:51:07 -0500

lucasw gravatar image

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?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ENTMar
close date 2022-02-17 09:11:24.828102

Comments

Looks like a communication error. Have you checked turtlebot3 is configured properly? https://emanual.robotis.com/docs/en/p...

osilva gravatar image osilva  ( 2022-01-04 18:38:08 -0500 )edit

thank you. You are right I didn't configure the ~/.bashrc properly.

ENTMar gravatar image ENTMar  ( 2022-01-10 03:34:56 -0500 )edit

Glad it worked.

osilva gravatar image osilva  ( 2022-01-10 05:20:26 -0500 )edit