Skip to content

FastDDS v3 TypeObject and its dependencies requirement to create a Dynamic type at remote side #5221

Discussion options

You must be logged in to vote

Hi @arnabgho81,

If using Fast-DDS 2.x , you may have a look at this example which uses Typelookup service. However, this version does not support complex types with dependencies as it is your case, so I encourage you to use Fast-DDS 3.x instead where the xtypes module has completely been refactored. You may have a look at this example showing how to send and receive xtypes via TypeLookup service.

Answering your question, no it is not required to manually register dependencies. If the type support is generated with Fast-DDS-Gen from an idl file (in which both the "main" type and its dependencies are specified), it suffices to register (DomainParticipant::register_type) the type for which d…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@arnabgho81
Comment options

@arnabgho81
Comment options

@juanlofer-eprosima
Comment options

Answer selected by arnabgho81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants