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

Is there an alternative way to connect to machines through the same ROS?

asked 2017-06-16 10:12:47 -0600

T318forever gravatar image

I want to connect two microcomputers (Odroid or Rasberry Pi) together by ROS.

As I found in http://wiki.ros.org/ROS/NetworkSetup , it seems that two machines can only be connected through network, such as wifi. Can I connect two ROS computer through physical connection, such as USB? If so, how to implement it in detail?

I am new for ROS. Thanks very much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-06-16 11:52:43 -0600

Via USB? It's not possible AFAIK. What transport protocol would you use through a USB serial connection? You can certainly write your own.

edit flag offensive delete link more

Comments

Do you mean that generally two ros machines can be only connected through wifi?

T318forever gravatar image T318forever  ( 2017-06-16 11:59:55 -0600 )edit

Wifi or LAN.

lakehanne gravatar image lakehanne  ( 2017-06-16 12:12:32 -0600 )edit

OK, thanks very much.

T318forever gravatar image T318forever  ( 2017-06-16 12:15:33 -0600 )edit

If you have an Ethernet (RJ-45) port you can use that too.

ahendrix gravatar image ahendrix  ( 2017-06-17 00:07:13 -0600 )edit

Do you mean that generally two ros machines can be only connected through wifi?

just a small comment: the 'only' requirement for ROS is that you have a working IP network (ignoring things like rosserial here obviously). If you can use USB networking, then that should work as well.

gvdhoorn gravatar image gvdhoorn  ( 2017-06-17 03:54:55 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2017-06-16 10:12:47 -0600

Seen: 160 times

Last updated: Jun 16 '17