ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ethernet connection via ros

asked 2014-10-21 14:27:40 -0500

Hankmasta gravatar image

hi guys,

i am trying to connect my laptop via LAN to my robot. So my question is, are there already ethernet interfaces for ros? With which a NODE can access on the Ethernet port? For example I can ping my robot?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-10-22 01:42:58 -0500

Andromeda gravatar image

At first would I suggest you to synchonize your robot installing chrony

$sudo apt-get install chrony

then, if you have the later versions of Ubuntu you have access to Zeroconf which simplyfies a lot the whole story. With hostname you can find the name of your machine, for istance:

$ hostname

$ hostname

Now I suggest you the following trick: just add .local at the end of your hostname, then you can do all operations you want to:

$ping my_robot.local

and f course:

$ping my_robot.local

after that set the ROS_MASTER_URI and ROS_HOSTNAME in yur robt and desktop as in the tutorial. Hope it helps

edit flag offensive delete link more

answered 2014-10-21 21:41:56 -0500

xqshan gravatar image

if you can ping with robot and laptop ,then set the ROS_MASTER_URI and ROS_HOSTNAME variables. if it succeed,the connection should be ok.

edit flag offensive delete link more

Question Tools


Asked: 2014-10-21 14:27:40 -0500

Seen: 2,030 times

Last updated: Oct 22 '14