Open jseldent opened 2 years ago
Micro-XRCE-DDS reverses the order of the activity and config members in ObjectInfo. According to the official dds_xrce_types.idl, it should be
activity
config
ObjectInfo
@extensibility(FINAL) struct ObjectInfo { @optional ActivityInfoVariant activity; @optional ObjectVariant config; };
But an actual INFO message looks like which has config first.
Is the dissector also in the wrong order?
Yes. That's how I discovered the bug, because I couldn't properly dissect the INFO message if I didn't swap the order.
We will take this into account in next release
Micro-XRCE-DDS reverses the order of the
activity
andconfig
members inObjectInfo
. According to the official dds_xrce_types.idl, it should beBut an actual INFO message looks like which has
config
first.