How to initialize a Float64MultiArray?
How do you initialize a Float64MultiArray?
I'm trying:
std_msgs::Float64MultiArray vec3;
vec3.data.resize(3);
but this gets me the error:
line 2 'vec3' does not name a type
What am I doing wrong?
add a comment