-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add create3 rmw profile for discovery server
- Loading branch information
1 parent
9a03320
commit 3cfa3f9
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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>32768</sendBufferSize> | ||
<receiveBufferSize>32768</receiveBufferSize> | ||
<!-- Reduce max message size, otherwise the participant creation fails --> | ||
<maxMessageSize>8192</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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters