ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is a simple answer: ROS doesn't support C (in this way).

ROS messages are C++ and in that case the [] is translated to an std::vector, which has a size.

C-ports like for rosserial usually do have an additional size value.