Cyclic message definitions

Hi,
for the preparation of complex parameter support, I added support for cyclic message definitions
E.g.:
Param.msg:
string name
Param[] other_params

During the review of the change (fix: Generate correct code for nested arrays of own type by jmachowinski · Pull Request #748 · ros2/rosidl · GitHub), the question came up if the missing support for this is just an oversight in the implementation, or if this is not supported by design.

I checked the design documents, and could not find an answer to this.

It would be great if someone with deeper knowledge could shine some light on this issue :wink:

1 Like

I’ve opened Cyclic/recursive message types · Issue #1445 · ros2/ros2 · GitHub as well to track this feature request.

1 Like