atenpas / gpd

Detect 6-DOF grasp poses in point clouds
BSD 2-Clause "Simplified" License
606 stars 233 forks source link

Deterministic sampling #68

Open mees opened 5 years ago

mees commented 5 years ago

Hi, is it possible to generate the grasp samples in a deterministic way by setting some random seed somewhere, such that for one pcd file we always get the same samples and hence final results? Cheers, Oier

saikishor commented 5 years ago

@mees yes that would be so helpful to write some tests and to avoid breaking the API or the functionality. I am also interested in this topic. Hope @atenpas could help in this.

atenpas commented 4 years ago

You can just do this by providing a fixed set of indices or points as input. This would be similar to what the ROS wrapper does when using these messages: CloudIndexed.msg and CloudSamples.msg.