Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.9k views
in Technique[技术] by (71.8m points)

python - DDS Opensplice: How to deserialize data with sequences

I am using ADLINK's OpenSplice and their Python API. I cannot seem to find good documentation or a class reference. I have serialized DDS data saved to files. I'd like to use this data to rebuild the class

import ddsutil
cl=ddsutil.get_dds_classes_from_idl(idlfile,typename).topic_data_class()
cl._deserialize(list(seq_data))

This works fine in most cases, however when there is a sequence type in the IDL, it fails to populate the data in the sequence/list.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...