roscon2024_workshop

Exercise 3 - Remote Connection via the Cloud

A Zenoh router deployed in the Cloud with a public IP can act as a relay between two rmw_zenoh systems.

cloud-connectivity

Configuration

For this workshop, we’ve deployed a Zenoh router on roscon.zenoh.io. Update your zenoh_confs/ROUTER_CONFIG.json5 to include the following in the connect.endpoints configuration:

  connect: {
    endpoints: [
      "tcp/roscon.zenoh.io:7448"
    ],
  },

Run

In your container, run the following commands:

Bonus

Try setting a different ROS_DOMAIN_ID (e.g., export ROS_DOMAIN_ID=42). What happens, and why?

Answer Zenoh has no concept of Domain such as DDS. However, `rmw_zenoh` integrates the `ROS_DOMAIN_ID` in the mapping from topic/service names to zenoh key expressions. As a result, even if nodes use the same topic name, they won’t communicate if they are in different domains, even when connected through Zenoh.

Next exercise ➡️