Skip to content

Allow for user-defined array sizes #68

@Ryanf55

Description

@Ryanf55

Right now, MicroXRCEDDSGen hard codes a size of 100 for arrays.

typedef struct tf2_msgs_msg_TFMessage
{
    uint32_t transforms_size;
    geometry_msgs_msg_TransformStamped transforms[100];
} tf2_msgs_msg_TFMessage;

As a user, there is no way to adjust this at configure time. For an embedded system like ArduPilot, 100 transforms, or 100 joystick inputs, is far too many. We would like to configure these for our application. Perhaps through a define?

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