Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eCAL::core / eCAL::hdf5: per publisher datatype information #1237

Open
6 tasks
KerstinKeller opened this issue Nov 1, 2023 · 0 comments
Open
6 tasks

eCAL::core / eCAL::hdf5: per publisher datatype information #1237

KerstinKeller opened this issue Nov 1, 2023 · 0 comments
Labels

Comments

@KerstinKeller
Copy link
Contributor

KerstinKeller commented Nov 1, 2023

Context

Internally, eCAL ist saving only one datatype information per unique "topic_name".
However we might have scenarios, where there are publishers and subscribers with differing Datatype information. Especially if there are two publishers in the system, which e.g publish on the same topic from different versions of a proto file.

Only chance determines, which info will later be saved in the measurement or used for deserialization in eCAL Monitor.

This feature will require changes in many parts of eCAL, namely the core, hdf5, recorder and player.

Proposal

We need to keep track of all available datatype information per topic_name, and connect them with publishers / subscribers respectively (given an ID?).
We then need to make this information available via API (maybe as member functions for pub / sub, or generally), and take them into account when creating measurements.

Maybe even a callback should have the information which publisher sent the topic.

Note: the publisher ID cannot just be an ID from the publisher process, as a process may have multiple publishers.

Tasks and updates

This will be a rather large issue and might require multitple PRs to fix.

@KerstinKeller KerstinKeller mentioned this issue Dec 2, 2024
25 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant