Serializing google.protobuf.Any for visualization in Foxglove Studio #1115
-
I'm attempting to (in C++) serialize a protobuf utilizing
I would like to insert a I suspect this is because I am not actually ever telling mcap about the protobuf schemas from the message types packed into the I've taken a read through the mcap protobuf guide and the examples, but I'm not totally seeing a way to register multiple proto schemas. Is this a supported workflow? If so, how would one achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 2 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
Hi,
Currently, we don't have any support for
google.protobuf.Any
and you would need to create a separate schema and channel for each type. One difficulty in supportinggoogle.protobuf.Any
is that Foxglove Studio needs to know the whole protobuf descriptor (formatted as a FileDescriptorSet) in order to deserialize message data. Simplytype_url: "type.googleapis.com/bdai.mcap.Child"
is not enough information to deserialize messages, unless the app can somehow access the full descriptor forbdai.mcap.Child
somewhere.