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

Cannot resolve mesh for bnc, usb, dsub #76

Closed
quantumiracle opened this issue Aug 23, 2022 · 2 comments
Closed

Cannot resolve mesh for bnc, usb, dsub #76

quantumiracle opened this issue Aug 23, 2022 · 2 comments

Comments

@quantumiracle
Copy link

Hi,

I'm working on FactoryTaskInsertion, which runs successfully with round or rectangular type objects. But for bnc, usb, dsub, it report similar errors in the mesh creating process (take usb as an example):

  logger.warn('Please be patient: SDFs may be generating, which may take a few minutes. Terminating prematurely may result in a corrupted SDF cache.')
[Error] [carb.gym.plugin] Failed to resolve collision mesh '../mesh/factory_insertion/factory_usb_plug_coll.obj'
[Error] [carb.gym.plugin] Failed to resolve visual mesh '../mesh/factory_insertion/factory_usb_plug_viz.obj'
[Error] [carb.gym.plugin] Failed to resolve collision mesh '../mesh/factory_insertion/factory_usb_socket_coll.obj'
[Error] [carb.gym.plugin] Failed to resolve visual mesh '../mesh/factory_insertion/factory_usb_socket_viz.obj'
Error executing job with overrides: ['task=FactoryTaskInsertion']
@ynarang
Copy link
Contributor

ynarang commented Sep 13, 2022

@quantumiracle, great to hear that you are successfully training on FactoryTaskInsertion, and very sorry about the delayed response!

The reason you are seeing those errors is that we have not yet released the OBJ files for those parts. We sourced high-quality CAD models from manufacturers and then modified them manually in CAD software to simplify external features, occasionally simplify internal features (e.g., if there were internal elements that required deformable-body simulation, which Gym does not currently expose from PhysX 5.1), and exactly preserve most contact geometry. We have to get approval from the manufacturers to make sure that we can release our modified versions.

In order to unblock you, we'd like to provide the links to the websites from which the original models were obtained, along with some others that were not mentioned in the Factory paper but are based on the NIST assembly benchmark. Look for the CAD link on each page. You can open these files in CAD software, and with some CAD experience, create models very similar to the ones we developed for Factory. Afterward, you can export the CAD models to OBJ for use in Gym.

BNC plug (item)
BNC socket (item)
D-sub plug (item)
D-sub socket (item)
RJ45 plug (item)
RJ45 socket (item)
USB plug (item)
USB socket (item)
Waterproof plug (item)
Waterproof socket (item)

Hope this helps!

@quantumiracle
Copy link
Author

Understandable! Thanks for your response and providing these links.
I will look into these.

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

3 participants