Can Fast-DDS-python do raw serialize/deserialize? #247
Unanswered
jordancharest
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My main application is in C++ and we log all messages. I have some custom log analysis tools written in C++ and I would like to start using python instead because it's substantially easier to add visualizations. For every message, I write to the log:
metadata | message size in bytes | serialized message
Note that the serialized message is the actual message, not the associated PubSubType. I serialize like so:
Metadata is of the form:
So with that and the size of the serialized message, it's easy to deserialize:
How do I replicate
deserialize
in Python? Given a topic name, the message type, the size of the serialized message, and a serialized buffer, can it be done?Beta Was this translation helpful? Give feedback.
All reactions