How to attach a body at the end of a composite plugin cable #3269
Unanswered
FilipeJInacio
asked this question in
Asking for Help
Replies: 1 comment
-
|
After review, I'm basically having the same issue as #1951. Update 1: I found that the cable and the tip were colliding. That was the reason for the gap. After removing the collision between the cable and the tip, the gap created by the weld is reduced by a lot. |
Beta Was this translation helpful? Give feedback.
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
Hi!
I am a PhD student at IST University of Lisbon, I use MuJoCo for my research on tethered satellites.
My work focuses on generating simulation data for a Fault Detection system for a chaser satellite capable of docking with other satellites. The docking mechanism consists of launching a tether with a gecko-like adhesive material attached at the tip. The objective is to determine whether the docking attempt was successful.
I have been using MuJoCo for about a week.
My setup
Windows 11 Home 25H2
Python 3.12.10
Mujoco 3.7.0
My question
To model this system in MuJoCo, I created a simplified chaser satellite as a free-floating box with a cable attached using
mujoco.elasticity.cablethrough acompositecable structure:I would like to attach an additional body representing the gecko-inspired docking tip to the end of the cable.
So far, I have tried using a weld equality constraint between the tip body and the final cable segment. However, the weld tends to detach relatively easily during the simulation (even at reduced timesteps of 0.1ms) (maybe I'm doing something wrong?).
My idea was to expand the composite cable into explicit bodies/joints using:
and then manually attach the docking tip to the final generated body in the chain.
Unfortunately, the exported XML does not seem to reload correctly, likely due to the generated plugin/composite chain (Basically, the kernel dies while attempting to load the model. This might be a bug?).
My main question is:
What is the recommended way to attach an additional body to the end of a
mujoco.elasticity.cablecomposite cable without relying on a weld constraint?Minimal model and/or code that explain my question
Simplified version using the weld constraint.
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions