ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Bear in mind that array->data is a std:vector, not a c++ array, so you can't assign it to a int*.

And to access the elements in the vector inside the loop you need to do: