You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using CycloneDDS and Fast DDS for interoperability, CycloneDDS is the publisher and Fast DDS is the subscriber. The IDL uses @appendable, so the CycloneDDS publisher defaults to XCDR2, which causes QoS incompatibility with the Fast DDS subscriber and prevents them from matching.
When I use the Fast DDS HelloWorld example, I set the writer QoS to XCDR2:
However, the Fast DDS ./build/hello_world publisher and ./build/hello_world subscriber still cannot match.
My question is: how can I make the Fast DDS subscriber match and receive data from a publisher using XCDR2, or how can I configure the Fast DDS subscriber to use XCDR2 encoding?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using CycloneDDS and Fast DDS for interoperability, CycloneDDS is the publisher and Fast DDS is the subscriber. The IDL uses
@appendable, so the CycloneDDS publisher defaults to XCDR2, which causes QoS incompatibility with the Fast DDS subscriber and prevents them from matching.When I use the Fast DDS HelloWorld example, I set the writer QoS to XCDR2:
writer_qos.representation().m_value.push_back(
eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION
);
writer_ = publisher_->create_datawriter(topic_, writer_qos, this, StatusMask::all());
However, the Fast DDS ./build/hello_world publisher and ./build/hello_world subscriber still cannot match.
My question is: how can I make the Fast DDS subscriber match and receive data from a publisher using XCDR2, or how can I configure the Fast DDS subscriber to use XCDR2 encoding?
Beta Was this translation helpful? Give feedback.
All reactions