Description
Hi Atenpas,
I am using gpd in my project and I had difficulties to work with the indexed pointcloud as input. It seems like the region that I am defining is not taken into consideration when the grasps are generated.
After a thorough look into the code, in the function where the filtering of the pointcloud using the indices is done, I noticed this:
Lines 206 to 222 in 6327f20
and specifically this line
Line 215 in 6327f20
So it seems like the indices that are being kept are not "the sample indices" but actually their indices in the for loop list (so technically you are saving the index i instead of sample_indices_[i]).
Therefore shouldn't this line be instead like this
indices_to_keep.push_back(sample_indices_[i]);
Can you confirm this ?
Thank you and best regards
Rayene