Arm Disappears when Gripper Added to MJCF xml File #3145
Unanswered
sayleuih
asked this question in
Asking for Help
Replies: 0 comments
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.
-
Intro
Hi!
I'm a student researcher working on simulating a cobot. Our cobot has a parallel gripper attached to its end effector.
My setup
Since the original MJCF model given by elephant robotics only includes the cobot, I am trying to model the gripper as well based off the URDF: https://github.com/automaticaddison/mycobot_ros2/blob/main/mycobot_description/urdf/mech/adaptive_gripper.urdf.xacro.
Here is my Arm.xml:
`
`
Here is my gripper.xml:
`
My question
Unfortunately, after I added my gripper in, the render in MuJoCo only shows my gripper. Weirdly when I control the arm joint sliders it rotates the gripper as intended.

How do I get MuJoCo to display both the gripper and the arm at the same time? The gripper needs to be connected to the end of the arm acting as the end effector and rotate with joint 7. Since it's a physics simulation picking up real objects, it would also be nice to have the gripper keep its mass.
Minimal model and/or code that explain my question
If you encountered the issue in a complex model, please simplify it as much as possible (while still reproducing the issue).
Model:
minimal XML
Code:
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions