Skip to content

Unable to subscribe to topics with enum data types #38

@fat-snorlax

Description

@fat-snorlax

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions