ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I am not sure whether the approach u have mentioned will work or not.
Since ROS currently supports declaration of only 1D array in custom message types you can do the following:
array1d.msg
int8[] a;
and then declare another message array2d.msg
array1d[] b;
This will create vector inside a vector and can be used as 2d array.
Hope this helps...