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

define ROS_MASTER_URI with an ipv6 address

asked 2015-04-21 03:21:52 -0600

Matthieu Muschinowski gravatar image

updated 2015-04-21 05:09:26 -0600

gvdhoorn gravatar image

Hello!

I would like to know if there's a way to define ROS_MASTER_URI with an ipv6 address to use ros on multiple machines.

To be a bit more clear, I have two machines connected via ethernet, and which are able to ssh to one another with ipv6 addresses, using "ssh -6 < address >%eth0"

So, is there a similar way to make ros understand ipv6 adresses concerning ROS_MASTER_URI?

ps: I've already tried "http://< address >:11311" and "http://< address >%eth0:11311" which don't work and return "invalid master URI".

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-04-21 05:09:05 -0600

gvdhoorn gravatar image

There has been some work on adding IPv6 support to ros_comm in the past (see wiki/ros_comm6 and IPv6 Support for ROS Nodes on ROS news fi), but afaik there is currently no support for IPv6 in any mainline ROS distribution.

I also believe that there are no efforts underway or planned at the moment to add IPv6 support to ROS (1.0).

However, I think that support for IPv6 might be something ROS 2.0 gets 'for free', depending on the DDS vendor chosen. Some vendors already have had support since around 2007 (RTI Incorporates IPv6 Transport to ..). I expect that the relevant ROS tooling / infrastructure bits will also need support, but at least the DDS middleware should be prepared for it.

edit flag offensive delete link more

Comments

Hum ok... I'll work with a static IP then, thanks for the heads up anyway!

Matthieu Muschinowski gravatar image Matthieu Muschinowski  ( 2015-04-21 07:39:57 -0600 )edit
1

answered 2016-12-06 10:56:55 -0600

schneider gravatar image

IPv6 support got merged into ROS a while ago: https://github.com/ros/ros_comm/pull/7

I guess that you still have to activate it by setting the ROS_IPV6 to on.

The easiest way to do that is to simply run: export ROS_IPV6=on

edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-04-21 03:21:52 -0600

Seen: 887 times

Last updated: Apr 21 '15