-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error parsing human URDF #49
Comments
Hi @evelyd! I wasn't able to reproduce your error with the package versions that you mentioned. Could you please ensure that the argument passed to JaxSim is a I report here what worked for me: from pathlib import Path
urdf_path = Path(
"/home/flferretti/human-gazebo/humanSubjectWithMeshes/humanSubjectWithMesh.urdf"
)
# Test 1: Try to load the URDF using ROD
from rod import Sdf
_ = Sdf.load(urdf_path)
# Test 2: Loading using JaxSim
import jaxsim.api as js
_ = js.model.JaxSimModel.build_from_model_description(model_description=urdf_path)
|
Thanks @flferretti! It turns out the error was caused simply by the path being wrong. This error seems to be thrown because of the empty sdf file which contains only I'll close this issue then. |
Not extremely problematic, but we may think of having a more clear if a file does not exists either in rod or jaxsim. |
Done in #50 |
I have been using Mujoco to visualize the robot model, and now I would like to do the same for the human model (I want to use this one: https://github.com/robotology/human-gazebo/tree/master/humanSubjectWithMeshes). I've been using jaxsim as a helper for this, but with the human model I get the following error when I call jaxsim's
build_from_model_description
on the human URDF:It seems to maybe be an issue with rod based on the error content. My versions of rod and jaxsim are as follows:
Is there some intermediate step I need to perform here, or something I should change in the urdf file?
The text was updated successfully, but these errors were encountered: