... | @@ -1170,7 +1170,6 @@ XML file (see https://fast-dds.docs.eprosima.com/en/latest/fastdds/discovery/gen |
... | @@ -1170,7 +1170,6 @@ XML file (see https://fast-dds.docs.eprosima.com/en/latest/fastdds/discovery/gen |
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<dds>
|
|
<dds>
|
|
<profiles xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">
|
|
<profiles xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">
|
|
<topic profile_name = "MyApp_Default"/>
|
|
|
|
<participant profile_name="MyApp_Default">
|
|
<participant profile_name="MyApp_Default">
|
|
<rtps>
|
|
<rtps>
|
|
<builtin>
|
|
<builtin>
|
... | @@ -1189,7 +1188,7 @@ Code (C++) |
... | @@ -1189,7 +1188,7 @@ Code (C++) |
|
// Create DDS-MAL with custom mal properties
|
|
// Create DDS-MAL with custom mal properties
|
|
|
|
|
|
// With Fast DDS, profile.library prop and env var *must* have same value!
|
|
// With Fast DDS, profile.library prop and env var *must* have same value!
|
|
// Here the env var wins, but you can also do the inverse (using setenv).
|
|
// Here the env var precedes, but you could do the inverse (using setenv).
|
|
char* env_var = std::getenv("FASTRTPS_DEFAULT_PROFILES_FILE");
|
|
char* env_var = std::getenv("FASTRTPS_DEFAULT_PROFILES_FILE");
|
|
const ::elt::mal::Mal::Properties malprops { {"dds.qos.profile.library", env_var},
|
|
const ::elt::mal::Mal::Properties malprops { {"dds.qos.profile.library", env_var},
|
|
{"dds.qos.profile.name", "MyApp_Default"} };
|
|
{"dds.qos.profile.name", "MyApp_Default"} };
|
... | | ... | |