Repository navigation
Conversation
This feature allows the separate storage of dynamic and static parts of messages, similarly to the corresponding feature in OSMP. Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
| `net.asam.osi.trace.channel.content-otherchannel`::: | ||
| A reference to another channel that contains the complementary data for this channel, such as a static channel referenced by a dynamic channel or vice versa. | ||
| If the complementary channel exists, this field should contain its ID. | ||
| If there is no complementary channel, as for channels of combined content, this field must be omitted. |
There was a problem hiding this comment.
I think this currently limits the feature to one-to-one relationships between static and dynamic channels. At least it doesn't specify how to fill content-otherchannel for a static channel referenced by multiple dynamic channels, because it would have to be a list of channel references. It could be useful to have multiple dynamic channels reference the same static content, e.g. referencing a single GroundTruthInit in multiple SensorView channels. Or is this not intended to be supported?
Also, I believe reciprocal channel ID references (which I understand are not mandatory but recommended) might be a bit annoying with the current mcap library implementations. Both channels would have to know each other's channel ID before registering their respective channels, since channel metadata cannot (safely) be modified after registration, if I understand the C++ and Python implementations correctly. Maybe the recommendation should be to reference the static channel from the dynamic ones?
Generally, this makes the link depend on internal channel IDs which could potentially change when rewriting/reordering data, e.g. when adding other topics. Since the existing OSI specification already requires topic names for OSI channels to be unique within an MCAP file, topic-based references might be the easier option?
This feature allows the separate storage of dynamic and static parts of messages, similarly to the corresponding feature in OSMP, as discussed in the OSI labeling and linking project.