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
  1. This code example won't compile.

  2. You are setting the first elements of the vectors, but there are 0 elements in a new message that you create. Use .push_back instead of setting the values to add new values.