Skip to content

Instantly share code, notes, and snippets.

@rotu
Created September 17, 2019 18:44
Show Gist options
  • Save rotu/848a012883866d85e15fd92119432d62 to your computer and use it in GitHub Desktop.
Save rotu/848a012883866d85e15fd92119432d62 to your computer and use it in GitHub Desktop.
ROS2 Configuration for OpenSplice Commercial with shared memory
<OpenSplice>
<Domain>
<Name>ospl_shmem</Name>
<Id>${ROS_DOMAIN_ID}</Id>
<SingleProcess>false</SingleProcess>
<Service name="ddsi2">
<Command>ddsi2</Command>
</Service>
<Database>
<Size>32M</Size>
</Database>
</Domain>
<DDSI2Service name="ddsi2">
<General>
<NetworkInterfaceAddress>AUTO</NetworkInterfaceAddress>
<AllowMulticast>spdp</AllowMulticast>
<EnableMulticastLoopback>true</EnableMulticastLoopback>
<CoexistWithNativeNetworking>false</CoexistWithNativeNetworking>
<FragmentSize>64000B</FragmentSize>
</General>
<Compatibility>
<!-- see the release notes and/or the OpenSplice configurator on DDSI interoperability -->
<StandardsConformance>lax</StandardsConformance>
<!-- the following one is necessary only for TwinOaks CoreDX DDS compatibility -->
<!-- <ExplicitlyPublishQosSetToDefault>true</ExplicitlyPublishQosSetToDefault> -->
</Compatibility>
<Discovery>
<!-- By default, OpenSplice only allows up to 9 participants per
machine (see http://download.prismtech.com/docs/Vortex/html/ospl/ConfGuide/guide.html#maxautoparticipantindex)
This means that only 9 nodes can be run on a given machine,
which even moderately complex robots easily achieve.
-->
<MaxAutoParticipantIndex>99</MaxAutoParticipantIndex>
</Discovery>
</DDSI2Service>
</OpenSplice>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment