How to get obstacle xyz location from Pointcloud2 data
I'm simulating in Gazebo with a Kinect and a few objects. I processed the array in the data
field of camera/depth/points
using a PCL subscriber. However, a huge number of points were printed out (I assume that's the location of ALL point clouds?) How do I get only the point cloud points (xyz location) representing where the obstacle is?