Registering a New Custom SDF #1987
Unanswered
vmstavens
asked this question in
Asking for Help
Replies: 2 comments
|
Is MUJOCO_PATH pointing to the right mujoco, i.e. the one you built? |
0 replies
|
Hello, I am planning to use MuJoCo for reinforcement learning of robotic assembly tasks. Have you successfully performed assembly tasks with MuJoCo? I am currently investigating whether MuJoCo is suitable enough for assembly applications. I would greatly appreciate it if you could share your experience regarding the accuracy and stability of contact modeling in MuJoCo. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi MuJoCo community,
I'm a research assistant and I'm trying to use MuJoCo for assembly tasks. Specifically, I want to create non-convex collision meshes to facilitate inserting let's say a USB cable into its female connector. My current understanding is that this can be done using SDF plugins in MuJoCo. While and read and I believe understood the current documentation I seem to be encountering a small road block in registering my custom plugin.
My current progress is as follows:
sdf/plugin directory on my local machine when MuJoCo was installed throughpipI thereforeCloned the MuJoCo repo form GitHub
Navigated to the sdf folder
added new
.hand.ccfiles calledtest.handtest.cc. Both of these hold the same code astorus.ccandtorus.h, except all instances ofToruswas replaced withTest.I navigated to
register.ccand added my pluginDetails
modified `register.cc`
``` cand added the new files to the
CMakeLists.txtfileDetails
modified `CMakeLists.txt`
``` CMakeListsHaving done so, I navigate to the root directory of the repo and build and compile i.e.
cmake -Bbuild && cd build && make. When compiling I get output like so:Details
compile output
``` bashwhich seems like it includes my newly added plugin
MuJoCo Python code
``` python`XML` file from the MuJoCo repo, but modified
``` XMLAll feedback and/or ideas for how I could progress/solve this problem of mine are very much appreciated!
All reactions