Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valid grasps not displayed in scene generation #4

Open
schnellerblitz99 opened this issue Apr 9, 2021 · 3 comments
Open

Valid grasps not displayed in scene generation #4

schnellerblitz99 opened this issue Apr 9, 2021 · 3 comments

Comments

@schnellerblitz99
Copy link

Hey,
I have an issue with the scene generation. Everything seems to work fine, except the valid grasps are not displayed when generating a scene(--show_grasps is set). I am working with Ubuntu 20.04 and conda environment. Do you have an idea why it is not working? Thanks!

@clemense
Copy link
Contributor

clemense commented Apr 9, 2021

Hi, this was tested under 18.04. Is there any output/error message that you get when executing the code?

Another possibility that comes to mind is that there might be no valid grasps in the particular scene you are looking at (if all of them are in collision). You can test this by e.g. adding print(len(gripper_markers)) in line https://github.com/NVlabs/acronym/blob/main/scripts/acronym_generate_scene.py#L115 and check that the output is greater than zero.

@schnellerblitz99
Copy link
Author

Hello,
thank you for you fast reply. So it works under Ubuntu20.04, too. I just had to uncomment or exit the first window which appears containing only the objects in the scene.
Screenshot from 2021-04-15 09-52-21
So I guess it is normal, that not every possible, collision-free grasp is displayed?
Again, thanks!

@clemense
Copy link
Contributor

Yes, not every grasps is shown, the visualization will become very slow, but you can increase the parameter --num_grasps_per_object, see here:

"--num_grasps_per_object",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants