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

Read the error message. You cannot set (that is, use the = operator) the field points.lifetime (which is an object of type ros::Duration) to an int.

You can, however, set points.lifetime to ros::Duration(1.0).