Cannot get pointcloud values

asked 2019-04-27 19:50:03 -0500

paul_shuvo gravatar image

updated 2019-04-27 23:11:52 -0500

jayess gravatar image

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/", 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
edit retag flag offensive close merge delete