-
Notifications
You must be signed in to change notification settings - Fork 100
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
Failure to display urdf visualization #14
Comments
This seems to be an issue caused by trimesh. |
Install pyrender from the source https://github.com/mmatl/pyrender.git resolves this issue. |
I have trimesh 3.16.4, pyrender 0.1.45 in a python 3.8 jupyter notebook on windows10 and get: IndexError Traceback (most recent call last) File C:\ProgramFiles\Anaconda\envs\robot_urdf\lib\site-packages\urdfpy\urdf.py:3570, in URDF.show(self, cfg, use_collision) File C:\ProgramFiles\Anaconda\envs\robot_urdf\lib\site-packages\pyrender\mesh.py:209, in Mesh.from_trimesh(mesh, material, is_visible, poses, wireframe, smooth) File C:\ProgramFiles\Anaconda\envs\robot_urdf\lib\site-packages\pyrender\mesh.py:291, in Mesh._get_trimesh_props(mesh, smooth, material) IndexError: index 0 is out of bounds for axis 0 with size 0 |
Hi,
Thanks for the effort you guys put into making urdfpy.
I am getting errors for the following code sample executing on Python 3. I installed urdfpy into my python3 environment.
Error:
I made certain that the 'robot' variable gets a value from the URDF.load() function.
I'd greatly appreciate your thoughts on how to fix this.
The text was updated successfully, but these errors were encountered: