Skip to content

[rosidl_generator_py] Provide field type in the generated message classes #243

@mikaelarguedas

Description

@mikaelarguedas

Feature request

Feature description

If a message has fields that are arrays (Bounded or Unbounded), there is no way for an external tool to get the relevant information as of what type the fields of this array are supposed to be.

Implementation considerations

A suggested approach is to extend the generated message class to provide the type of the various fields. This information could then be leveraged by a higher level function/utility (in rclpy ?) that could fill a message based on user specified values.

connects to ros2/ros2cli#59
necessary to fix ros2/ros2cli#59

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions