-
Notifications
You must be signed in to change notification settings - Fork 74
experiments/grasp_data_collection.py digit rendering error #14
Comments
looks similar to this mmatl/pyrender#169 |
Hello @robertocalandra, would appreciate if you can take a look at this, thank you! 1/ also, have a digit related question: I understand that digit is just another mesh object, but wondering what are the units of the default loaded digit object? |
Hi @shivanimall, yeah, it seems that macOS would have this error. It might caused by conflicting flags between pyrender & pybullet on macOS. Does the pb.DIRECT works for you? Also, is there any chance you could try to run it at Ubuntu? It can be much easier to set up. We will add this recommendation to the README. The unit of digit should follow the default unit of URDF, which is meters. |
thanks for the response @wx405557858. yes, pb.Direct does work but that will create a headless simulation. Being able to visualize my simulation would be helpful for my problem. unfortunately, I don't have access to a linux machine with a GUI either. Any other workarounds so that I can visualize the depth/color maps and see the GUI for the gripper in action? |
Hi @wx405557858 - Erwin from bullet mentioned a support for this: bulletphysics/bullet3#3844 |
Hi @shivanimall , Wow, this is awesome! So multi-processing should solve the problem! I probably don't have enough bandwidth for testing it this month, but can look into it in the summer! If you are interested, would you mind giving it a try and we can merge the code if it works! Thank you! |
Hi @wx405557858, yes indeed!! yes, I am giving this a try, and that sounds great :) will update once I have something working. |
Hi @robertocalandra,
I am on a macOS, I am rendering using
physicsClient = pb.connect(pb.GUI)
instead ofphysicsClient = pb.connect(pb.DIRECT)
in experiments/grasp_data_collection.py and note I also tried changing the visualize sensor argument to True when initializing digits.these lines result in the following error:
color, depth = digits.render()
digits.updateGUI(color, depth)
The text was updated successfully, but these errors were encountered: