FastDDS 2.14.3 Dynamic Types with Type Object not working #5171
Unanswered
arnabgho81
asked this question in
Q&A
Replies: 2 comments 6 replies
-
My query is similar to #5062 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @arnabgho81, thanks for using Fast DDS. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am using Fast DDS version 2.14.3 and fastDDSGen 3.0.1. I am able to generate the type Object from an Idl but when i try to create the dynamic type or the dynamic data from a serialized payload I face core dump.
Here is a sample Idl defination
module sample_cluster {
enum SampleClass
{
UNKNOWN,
A,
B,
C,
D
LOCAL
};
struct SampleCluster
{
double stamps_s;
boolean flag1;
unsigned short code;
boolean flag2;
SampleClass sample_class;
};
};
The FastDDSGen was able to generate the typeObject.
Then i use the code listed below:
I was able to verify that the serialized_payload is being deserialized using the PubSubtype.deserialize method.
Beta Was this translation helpful? Give feedback.
All reactions