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

Unable to subscribe to topics with enum data types #38

Open
fat-snorlax opened this issue Jan 10, 2025 · 3 comments
Open

Unable to subscribe to topics with enum data types #38

fat-snorlax opened this issue Jan 10, 2025 · 3 comments

Comments

@fat-snorlax
Copy link

I am unable to subscribe to data when the IDL defined topic uses an enum for one of its data members.

example:

enum colors {RED, GREEN, BLUE};

struct ledSignal {
@key int32 idNum;
bool powerOn;
colors lightColor;
}

This results in an XTypes Type ID mismatch between the data publisher and subscriber (insight). I am able to successfully send and receive data in other applications without this mismatch issue.

@trittsv
Copy link
Contributor

trittsv commented Jan 10, 2025

hey @fat-snorlax which cyclonedds versions are you using in your applications? (at some point there was a type-id change)

@fat-snorlax
Copy link
Author

I am using version 10.5

@trittsv
Copy link
Contributor

trittsv commented Jan 10, 2025

yes there was a change to the current master.
Could you try to use the latest cyclonedds master builds for you applications?
Or you have to build cyclonedds-insight with that 0.10.5 version too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants