hmz1990 / ros-by-example

Automatically exported from code.google.com/p/ros-by-example
0 stars 1 forks source link

roscore error #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello!Everyone. When I run a terminal with ``roscore'', the terminal outputs an 
error:

roscore cannot run as another roscore/master is already running.
Please kill other roscore/master processed before relaunching.
The ROS_MASTER_URI is http://yxg-Inspiron-5443:11311/
The traceback for the exception was written to the log file.

I only open a terminal, and thus I am sure that no another roscore are running. 
I guess whether the ROS_MASTER_URI set is right or not? Besides, when I type 
the env | grep ROS. the ROS_MASTER_URI=http://localhost:11311, which is 
different from that above. What can I do? Thanks in advance, and best regards.

Original issue reported on code.google.com by htlbyd...@gmail.com on 14 May 2015 at 12:07

GoogleCodeExporter commented 9 years ago
Can you try the following:

$ pkill roscore
$ roscore

Original comment by PiRobotProductions@gmail.com on 14 May 2015 at 1:59

GoogleCodeExporter commented 9 years ago
Hello, PiRobotProductions. First of all, thank you for your time and the 
suggestion. Besides, when I restart my computer in this morning, I find that I 
can accurately start ``roscore''. Maybe, it is the error of my computer for a 
long tiem opreation. Thanks again and I have learned from you about pkill. Best 
regards. 

Original comment by htlbyd...@gmail.com on 15 May 2015 at 1:43

GoogleCodeExporter commented 9 years ago
Hello, I'm afraid I don't have any other ideas.  It sounds like there is a lock 
file lying around somewhere but I don't know where it would be.  Please try 
asking your question on http://answers.ros.org.  Be sure to indicate the 
version of ROS and Ubuntu that you are using as well as what you have already 
tried.

Original comment by PiRobotProductions@gmail.com on 15 May 2015 at 3:00

GoogleCodeExporter commented 9 years ago
Hello, PiRobotProductions. Thank you for your time and the constructive 
suggestion. Because I am a new learner to the ROS and also the ros-by-example 
(learn it step by step with the book), maybe I have done something improper. I 
have tried it on htttp://answers.ros.org. Thanks again. Best regards.

Original comment by htlbyd...@gmail.com on 15 May 2015 at 7:51