-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathxml.yaml
More file actions
71 lines (52 loc) · 2.51 KB
/
Copy pathxml.yaml
File metadata and controls
71 lines (52 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
######################
# XML EXAMPLE #
######################
##################################
# XML CONFIGURATION
xml: # 1
files:
- "./xml_configuration.xml" # 2
raw: | # 3
<?xml version="1.0" encoding="UTF-8" ?>
<profiles xmlns="http://www.eprosima.com">
<participant profile_name="custom_participant_configuration">
<domainId>1</domainId>
<rtps></rtps>
</participant>
</profiles>
##################################
# PARTICIPANTS
participants:
##################################
# SIMPLE PARTICIPANT
# This participant will subscribe to topics in allowlist in domain 0 and listen every message published there
- name: SimpleParticipant # 6
kind: local # 7
domain: 0 # 8
##################################
# WAN SERVER
# This participant will subscribe to topics in allowlist and connect to clients through Initial Peers.
- name: XMLParticipant # 9
kind: xml # 10
profile: custom_participant_configuration # 11
##################################
# CONFIGURATION DESCRIPTION
# This configuration example configures a DDS Router to listen to every message published in domain 0 in topics
# HelloWorldTopic (from Fast DDS HelloWorld) and rt/chatter from ROS2 demo_nodes, and to transmit these messages
# to DDS Domain 1.
# The communication is in both directions.
# 1: Configure how to load XML configurations.
# 2: Load profiles from every xml file in list.
# 3: Read the next string as XML and load profiles from it.
# 4: Allow DDS Topic Name <HelloWorldTopic> with type <HelloWorld>.
# 5: Insert new topics in order to route them.
# 6: New Participant with name <SimpleParticipant>.
# 7: Kind of SimpleParticipant: <local>.
# LAN UDP communication with default simple multicast discovery.
# 8: SimpleParticipant will use DDS Domain ID <0>.
# 9: New Participant with name <XMLParticipant>.
# 10: Kind of XMLParticipant: <xml>.
# XML configuration
# 11: Profile QoS to create Participant is custom_participant_configuration
# This participant will be configured following such profile QoS.
# In this case, the profile only configures the domain to be 1