Skip to content

How to write proto messages with HDF5Meas Class? #1019

Answered by FlorianReimold
oskr1709 asked this question in Q&A
Discussion options

You must be logged in to vote

eCAL Mon uses the "descriptor" string to visualize the data (at least when we are talking about protobuf and the generic protobuf plugin). The Descriptor is not a human readable description, but a machine readable schema information. This descriptor string can be obtained by the libprotobuf API.

I think you are maybe setting a wrong descriptor string, so the eCAL Monitor is unable to use it for dynamic deserialization. Here is how you could obtain that:

return eCAL::protobuf::GetProtoMessageDescription(message);

Another cause for this message would be that your binary message data is actually corrupt.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@oskr1709
Comment options

@FlorianReimold
Comment options

@oskr1709
Comment options

@FlorianReimold
Comment options

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