Skip to content

DominikN/ddsrouter-fastdds-cyclone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ddsrouter-fastdds-cyclone

Connecting Cyclone DDS and Fast DDS powered ROS 2 nodes over DDS Router:

Quick Start

docker compose up

Notes

FastDDS <> FastDDS

This setup works fine:

services:
  
  talker:
    build: .
    environment:
      - ROS_DOMAIN_ID=1
    command: ros2 run demo_nodes_cpp talker

  ros2router:
    image: husarnet/ros2router:1.9.0 # we have different versioning and we're using DDS Router v2.1.0 inisde this docker image
    volumes:
      - ./config.yaml:/config.yaml
    environment:
      - PARTICIPANTS= # by keeping this env empty, we're bypassing auto-configuring the DDS Router, and we're using the config.yaml file
    command: ddsrouter -c /config.yaml

  listener:
    build: .
    environment:
      - ROS_DOMAIN_ID=2
    command: ros2 run demo_nodes_cpp listener

FastDDS <> Cyclone

This setup fails (no talker-listener communication):

services:
  
  talker:
    build: .
    environment:
      - ROS_DOMAIN_ID=1
    command: ros2 run demo_nodes_cpp talker

  ros2router:
    image: husarnet/ros2router:1.9.0 # we have different versioning and we're using DDS Router v2.1.0 inisde this docker image
    volumes:
      - ./config.yaml:/config.yaml
    environment:
      - PARTICIPANTS= # by keeping this env empty, we're bypassing auto-configuring the DDS Router, and we're using the config.yaml file
    command: ddsrouter -c /config.yaml

  listener:
    build: .
    environment:
      - RMW_IMPLEMENTATION=rmw_cyclonedds_cpp 
      - ROS_DOMAIN_ID=2
    command: ros2 run demo_nodes_cpp listener

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published