-
Notifications
You must be signed in to change notification settings - Fork 0
/
fast-dds-profile.xml
51 lines (48 loc) · 2.05 KB
/
fast-dds-profile.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<dds xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">
<profiles>
<!-- UDPv4 Transport profile -->
<transport_descriptors>
<transport_descriptor>
<transport_id>udp_transport</transport_id>
<type>UDPv4</type>
<!-- Reduce socket buffer size -->
<sendBufferSize>4096</sendBufferSize>
<receiveBufferSize>4096</receiveBufferSize>
<!-- Reduce max message size, otherwise the participant creation fails -->
<maxMessageSize>4096</maxMessageSize>
</transport_descriptor>
</transport_descriptors>
<!-- Domain Participant Profile -->
<participant profile_name="domainparticipant_profile_name" is_default_profile="true">
<rtps>
<!-- Use user defined UDPv4 transport -->
<userTransports>
<transport_id>udp_transport</transport_id>
</userTransports>
<!-- Disable builtin transports -->
<useBuiltinTransports>false</useBuiltinTransports>
</rtps>
</participant>
<!-- Default publisher profile -->
<data_writer profile_name="default_publisher_profile" is_default_profile="true">
<topic>
<!-- Tune initial allocations -->
<resourceLimitsQos>
<max_samples>0</max_samples>
<allocated_samples>0</allocated_samples>
</resourceLimitsQos>
</topic>
</data_writer>
<!-- Default subscriber profile -->
<data_reader profile_name="default_subscriber_profile" is_default_profile="true">
<topic>
<!-- Tune initial allocations -->
<resourceLimitsQos>
<max_samples>0</max_samples>
<allocated_samples>0</allocated_samples>
</resourceLimitsQos>
</topic>
</data_reader>
</profiles>
</dds>