Cannot get pointcloud values
I'm trying to get pointcloud values from 3 points in the image frame. The program runs for a while and then suddenly stops producing the following error.
File "/opt/ros/indigo/lib/python2.7/dist-packages/sensor_msgs/point_cloud2.py", line 107, in read_points
yield unpack_from(data, (row_step * v) + (point_step * u))
error: unpack_from requires a buffer of at least 12 bytes
add a comment