Ask Your Question
3

Unable to contact my own server

asked 2011-06-12 17:58:07 -0600

ccm gravatar image

updated 2014-01-28 17:09:50 -0600

ngrennan gravatar image

I'm in the midst of trying to set up turtlebot and I have encountered this problem.

When I type "roslaunch turtlebot_bringup robot.launch" on my laptop, the following message appears

Unable to contact my own server at [http://10.217.252.66:58698/].
This usually means that the network is not configured properly.

I tried pinging myself and it works. Any ideas what might be wrong? Thanks

edit retag flag offensive close merge delete

5 Answers

Sort by ยป oldest newest most voted
4

answered 2011-06-12 19:31:10 -0600

ccm gravatar image

updated 2011-06-13 14:02:24 -0600

I solved it. I changed the following in my .bashrc from

export ROS_MASTER_URI=http://10.217.252.66:11311 
export ROS_HOSTNAME=10.217.252.66

to

export ROS_MASTER_URI=http://laptop_name:11311
export ROS_HOSTNAME=laptop_name
edit flag offensive delete link more

Comments

If you wanted to use numbers, you may have needed ROS_IP instead of ROS_HOSTNAME.
Daniel Stonier gravatar imageDaniel Stonier ( 2011-06-13 17:45:23 -0600 )edit

Hi , i am getting the same problem as you said, i am able to get the ping result, but i am unable to run rviz . in that answer laptop_name means user name ?? .

rupendra gravatar imagerupendra ( 2018-11-28 00:08:01 -0600 )edit
2

answered 2016-09-27 02:24:31 -0600

clh01s@163.com gravatar image

you need $ export ROS_HOSTNAME=localhost $ export ROS_MASTER_URI=http://localhost:11311

edit flag offensive delete link more

Comments

how can we add this? Actually i am using ubuntu on macbook via parallels and there is no export about localhost or network settings

muhammedozel gravatar imagemuhammedozel ( 2018-10-03 14:31:54 -0600 )edit
1

answered 2016-03-05 16:05:18 -0600

Haooo gravatar image

How to you check your .bashrc form and how do you find your ROS_IP

edit flag offensive delete link more

Comments

You can open .bashrc by typing gedit ~/.bashrc in the terminal.

skr_robo gravatar imageskr_robo ( 2016-09-12 17:45:14 -0600 )edit
0

answered 2019-12-24 00:44:11 -0600

mirchi gravatar image
export ROS_MASTER_URI=http://localhost:11311

export ROS_HOSTNAME=localhost

add these lines in bashrc.

edit flag offensive delete link more
0

answered 2019-03-06 10:45:25 -0600

I solved it! You can open .bashrc at first with gedit ~/.bashrc in the terminal and then add the code export ROS_HOSTNAME=localhost export ROS_MASTER_URI=http://localhost:11311 at the end of this .bashrc file.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-06-12 17:58:07 -0600

Seen: 17,767 times

Last updated: Jun 13 '11