NVlabs / contact_graspnet

Efficient 6-DoF Grasp Generation in Cluttered Scenes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

change_object not implemented error

quanvuong opened this issue · comments

Thank you for the codebase!

Should this line

pcreader.change_object(cad_path, cad_scale)

be changed to

pcreader._renderer._load_object(cad_path, cad_scale)

because SceneRenderer does not implement change_object function.

Thanks!

It's indeed missing and I will add it shortly. For a quick fix you can change this

self._renderer.change_object(cad_path, cad_scale)

to

self._renderer.change_scene([cad_path], [cad_scale], [np.eye(4)])