Comments (4)
the router file is :
########################################
# CHANGE DOMAIN WITH ALLOWLIST EXAMPLE #
########################################
##################################
# CONFIGURATION VERSION
version: v3.0 # 0
##################################
# ALLOWED TOPICS
# Allowing FastDDS and ROS2 HelloWorld demo examples topics
allowlist:
- name: HelloWorldTopic # 1
type: HelloWorld # 1
- name: rt/chatter # 2
type: std_msgs::msg::dds_::String_
##################################
# PARTICIPANTS
participants:
##################################
# SIMPLE PARTICIPANT DOMAIN 0
# This participant subscribes to allowlist topics in DDS Domain 0 and listen every message published in such DDS Domain
- name: SimpleParticipant_domain0 # 3
kind: local # 4
domain: 0 # 5
##################################
# SIMPLE PARTICIPANT DOMAIN 1
# This participant subscribes to allowlist topics in DDS Domain 1 and listen every message published in such DDS Domain
- name: SimpleParticipant_domain1 # 6
kind: local # 7
domain: 1 # 8
##################################
# CONFIGURATION DESCRIPTION
# This configuration example configures a DDS Router to listen to every message published in two different domains
# and transmit those messages through the other domain.
# 0: Use YAML configuration version v3.0
# 1: Allow DDS Topic Name <HelloWorldTopic> with type <HelloWorld>.
# 2: Insert new topics in order to route to them.
# 3: New Participant with name <SimpleParticipant_domain0>.
# 4: Kind of SimpleParticipant_domain0: <local>.
# LAN UDP communication with default simple multicast discovery.
# 5: SimpleParticipant_domain0 will use DDS Domain ID <0>.
# 6: New Participant with name <SimpleParticipant_domain1>.
# 7: Kind of SimpleParticipant_domain1: <local>.
# 8: SimpleParticipant_domain1 will use DDS Domain ID <1>.
from dds-router.
First of all, thank you for using DDS-Router and help us improve the product.
Regarding the issue, it would be helpful for us to know some details on your setup so we are able to offer an accurate solution; which version of DDS-Router are you using? What about your ROS 2 setup?
We have an idea on what the problem might be, as we are working to solve some inconsistencies related to Shared Memory Transport introduced in the development branch. Thus, we suggest to build instead the latest released version (DDS-Router v1.1.0, built on top of Fast-DDS v2.9.0) and check if the issue is still there.
Best regards
from dds-router.
which version of DDS-Router are you using?
parallels@ubuntu-linux-20-04-desktop:~/DDS-Router/install/ddsrouter_tool/share/resources/configurations/examples$ ddsrouter -v
DDSRouter v1.1.0
commit hash: 86e2241347887ef3438a0ec35611feae10b3a80f
What about your ROS 2 setup?
the ros2 version is foxy on
resources/configurations/examples$ uname --all
Linux ubuntu-linux-20-04-desktop 5.15.0-58-generic #64~20.04.1-Ubuntu SMP Fri Jan 6 16:45:34 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
and fast dds is install 2.9.1 version and fastddsgen is
parallels@ubuntu-linux-20-04-desktop:~/DDS-Router/install/ddsrouter_tool/share/resources/configurations/examples$ fastddsgen -v
openjdk version "13.0.7" 2021-04-20
OpenJDK Runtime Environment (build 13.0.7+5-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 13.0.7+5-Ubuntu-0ubuntu120.04, mixed mode)
and, the .bashrc file is
# dds
source ~/Fast-DDS/install/setup.bash # have to , this is Colcon installation
export LD_LIBRARY_PATH=~/test_build/Fast-DDS/install/lib/ #why Could not find a package configuration file provided by "fastcdr"? so I command this line. this is CMake installation.
# gen
export PATH=/home/parallels/Fast-DDS/src/fastddsgen/scripts/:$PATH
export PATH=/home/parallels/Micro-XRCE-DDS-Gen/scripts/:$PATH
# dds-router
source ~/DDS-Router/install/setup.bash
export PATH=/home/parallels/DDS-Router/install/ddsrouter_tool/bin:$PATH
# some install lib
export PATH=/usr/local/lib/:$PATH
# ros2
source /opt/ros/foxy/setup.bash
and I really don't know how to deal with the relationship between the various versions of dds. For example, I installed fast dds when I installed ros2, and then I installed it, and then I installed the latest version 2.9.1, and source ~/Fast-DDS/install/setup .bash
, finally I found an error when running the case, so I had to export LD_LIBRARY_PATH=~/test_build/Fast-DDS/install/lib/
from dds-router.
Thank you for the report. Indeed, it seems that you have compiled DDS-Router main
branch. If possible, please test my suggestion (build DDS-Router v1.1.0
and Fast-DDS v2.9.0
) before digging any further.
Cheers
from dds-router.
Related Issues (20)
- Question: Does DDS-Router support data deduplication HOT 1
- TLS config for both server and client does not work HOT 2
- Configuration example: WAN with dynamic ipaddresses and dyndns (optional SSL/TLS) HOT 4
- colcon build failed HOT 1
- Messages not routing with Foxy HOT 3
- docs: `addresses` key doesn't seem valid in `connection-addresses` HOT 2
- About 'wan communication over TCP' in readdocs HOT 1
- DDS Router Docker image not compatible with arm64 systems
- About WAN configuration and example HOT 2
- Deadline is set to 0, it may cause DataReaderImpl::deadline_timer_ timeout immediately HOT 2
- Reporting a vulnerability HOT 1
- Repeater using TCP with same domain ids HOT 1
- router stops after some time HOT 7
- Adding ROS 2 introspection as SUPER_CLIENT HOT 1
- DDS Router invalid when the network is bad(or disconnected) HOT 6
- Not configuration file given, using default file DDS_ROUTER_CONFIGURATION.yaml HOT 5
- DDS Router not forwarding ros2 messages before the first echo. HOT 2
- DDS Router ignoring connections HOT 1
- DDS Router won't communicate between networks HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dds-router.