0
$\begingroup$

Rosanswers logo

Right now I am on turtlebot installation part 4 network config part 5.3

On my workstation PC when I type rostopic list I get the error "unable to communicate with master" The value of ROS_MASTER_URI I get the IP of the turtlebot PC is that correct? and what do I need to do to get my workstation to communicate with my turtlebot PC


Originally posted by smkybear15 on ROS Answers with karma: 1 on 2013-03-10

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Hi,

Yes, ROS_MASTER_URI is your turtlebot laptop ip address. You need to export ROS_HOSTNAME as well in both turtle bot laptop and your workstation laptop. i.e.

Append below statements in your .bashrc file -->

  1. For Turtle bot laptop:

export ROS_MASTER_URI=:11311 export ROS_HOSTNAME=

  1. For Workstation laptop:

export ROS_MASTER_URI=:11311 export ROS_HOSTNAME=

  1. Now try pinging one from another.

  2. Run roscore in one and do rostopic list then.

  3. rostopic /echo diagnostics in another one.

It should work. Hope this helps !!


Originally posted by Devasena Inupakutika with karma: 320 on 2013-03-10

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.