Accessing Site Names for Spatial Tendons in MjSpec #2670
Replies: 5 comments 6 replies
-
|
hmm @quagla what's the right way to do this? I expected the mjsTendon to point me to a list of mjsWrap which would have what @nbadie is looking for, but I looked and now I'm not sure how one would get this from the mjSpec API... As a workaround, I can tell you how to do this from the mjModel, would that be helpful? |
Beta Was this translation helpful? Give feedback.
-
|
The thing is that the names are not part of the mjsWrap C-struct because they cannot be set by the user. |
Beta Was this translation helpful? Give feedback.
-
|
Hello! This issue has come up once again for spec processing applications. As far as I can tell this is still not accessible through mjSpec API. This would simplify my procedural mirroring/renaming scripts! |
Beta Was this translation helpful? Give feedback.
-
|
This is fixed at HEAD (credit @havess ), see latest changelog Sam, if I'm not wrong, please close this discussion |
Beta Was this translation helpful? Give feedback.
-
|
I think this was the commit? ac2cd5d |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
Hi!
I am a graduate student at University of Stuttgart and I use MuJoCo for my research on musculoskeletal simulation and RL.
My setup
I am using mujoco 3.2.7.
My question
I'm currently working on modifying tendons and muscles using MjSpec, but I’ve run into a limitation: spec.tendons doesn’t seem to expose site names for spatial tendons. Is there a recommended way to access or work around this limitation?
Minimal model and/or code that explain my question
No response
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions