Skip to content

Commit

Permalink
Use appropriate XML to enable data-sharing delivery
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Passerino committed Sep 26, 2023
1 parent 389c1d7 commit 879e16d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
4 changes: 2 additions & 2 deletions irobot_benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ install(FILES
DESTINATION lib/${PROJECT_NAME}/${MP})

set(PROFILES
profiles/fastdds_settings_shm.xml
profiles/ignore_local_endpoints.xml)
profiles/ignore_local_endpoints.xml
profiles/shared_memory_fastdds_config.xml)

install(FILES
${PROFILES}
Expand Down
24 changes: 0 additions & 24 deletions irobot_benchmark/profiles/fastdds_settings_shm.xml

This file was deleted.

26 changes: 26 additions & 0 deletions irobot_benchmark/profiles/shared_memory_fastdds_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" ?>
<profiles xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">

<!-- Default publisher profile -->
<data_writer profile_name="default publisher profile" is_default_profile="true">
<qos>
<publishMode>
<kind>ASYNCHRONOUS</kind>
</publishMode>
<data_sharing>
<kind>AUTOMATIC</kind>
</data_sharing>
</qos>
<historyMemoryPolicy>PREALLOCATED_WITH_REALLOC</historyMemoryPolicy>
</data_writer>

<data_reader profile_name="default subscription profile" is_default_profile="true">
<qos>
<data_sharing>
<kind>AUTOMATIC</kind>
</data_sharing>
</qos>
<historyMemoryPolicy>PREALLOCATED_WITH_REALLOC</historyMemoryPolicy>
</data_reader>

</profiles>

0 comments on commit 879e16d

Please sign in to comment.