-
Notifications
You must be signed in to change notification settings - Fork 885
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
How to import new urdf models in mujoco? #273
Comments
MuJoCo supports URDF, but might need some massaging (e.g. mass and inertia needing to be positive, turning off discardvisual which is on by default, etc.). You should be able to just drag the URDF into the simulate app to test it out. And searching in the documentation should give you a lot more information about what is supported: https://mujoco.readthedocs.io/en/latest/search.html?q=urdf&check_keywords=yes&area=default |
This thread from the old forum might prove useful: https://roboti.us/forum/index.php?threads/meshes-ignored-when-converting-urdf-to-mjcf.3433/ |
Hello, |
I too face the same problem while using the outputs of solidworks2urdf or fusion2urdf scripts. I am not sure how the file is parsed but it is clear that there is no mesh file at the said path: /home/soumyajit/Downloads/Inverted/urdf I just copy all the meshes (.stl files) to the /urdf directory and it works fine. (It is working for your example too). It would be great if someone throws light on the details of why this happens. |
(a) Unfortunately, examples in this forum cannot be downloaded anymore. Can we do so, from somewhere else? |
@v-r-a Why can't you add a |
(1) I was just wondering if the path that is specified already in urdf could be used. For example: (2) This is a query for another day, but are there any plans to implement inverse kinematics in MuJoCo? I was trying to avoid tag to maintain compatibility with a library that can do inverse kinematics, e.g., https://github.com/rbdl/rbdl . |
|
Hi @yuvaltassa. I wrote a simple example to convert the urdf to mujoco xml before. While in the new version(2.2), I don't find the compile in bin folder. So how could we deal with it now? |
@wangcongrobot Unsure about why compile isn't part of the binaries anymore but you can load the XML file in the simulate app and it will compile it for you. |
Hello,
I have a urdf file of an inverted pendulum which I want to import in mujoco but I am not able to find any details regarding that. In other platforms, I was able to have functions to do the importing but I don't have anything in mujoco. Please help me out.
The text was updated successfully, but these errors were encountered: