File tree Expand file tree Collapse file tree
ddspipe_core/src/cpp/types/topic/rpc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,6 +88,13 @@ RpcTopic::RpcTopic(
8888 // Set both topic qos as the one found
8989 request_topic_.topic_qos = topic.topic_qos ;
9090 reply_topic_.topic_qos = topic.topic_qos ;
91+
92+ // WORKAROUND: Remove type information from RPC topics. Currently the creation of an RPC topic is triggered when
93+ // an entity corresponding to the request or reply topics is discovered. This way, the topic and type names of the
94+ // other topic conforming the pair is deduced. However it is not possible to deduce the type information, so we
95+ // leave this field empty until the creation mechanism is adapted to cover this scenario.
96+ request_topic_.type_identifiers = fastdds::dds::xtypes::TypeIdentifierPair ();
97+ reply_topic_.type_identifiers = fastdds::dds::xtypes::TypeIdentifierPair ();
9198}
9299
93100RpcTopic::RpcTopic (
You can’t perform that action at this time.
0 commit comments