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

A point cannot exactly be "empty" - it always has x,y,z,r,g,b members. You could create a new array without the points you don't want (the new array will be shorter). Or you could set x,y,z to NaN, and check for that in other parts of your code.