Bug report
Required Info:
- Operating System:
- Installation type:
- Version or commit hash:
- DDS implementation:
- Client library (if applicable):
Steps to reproduce issue
Run the following from the command line
$ ros2 topic pub some_pose_array geometry_msgs/PoseArray "{header: {stamp: {sec: 1, nanosec: 2}, frame_id: some_frame}, poses: [{position: {x: 0, y: 1, z: 2}, orientation: {x: 3, y: 4, z: 5, w: 6}}]}"
Expected behavior
The message gets published
Actual behavior
The console prints:
Failed to populate field 'poses': The 'poses' field must be a set or sequence and each value of type 'Pose'
Additional information
The specific example above isn't important, but it seems that ros2 topic pub cannot currently parse arrays of message types.