Are the path points of a PathSpring
are mis-rendered?
#855
-
I have recently created a model through OpenSimCreator. It consists of a pendulum with a pathspring attached to it. I have added However, when I open the same model in OpenSim the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I looked through your model and I believe that OSC’s rendering is (for once 😉) to be expected. The two frames you’ve specified in the GeometryPath attribute of
Which are both in the expected locations as-rendered. Even simulating it, which is separate from OSC’s renderer, seems to pull the head along the spring (if I tweak the stiffness, rest length, etc.). This appears to be a bug in OpenSim GUI. I don’t have a definite explanation, but I would guess that the bug is related to the fact that OSC implements its own custom way of rendering Quickly reading through the differences:
They’re both doing a very similar thing (OSC’s approach is simplified), but one difference is that OpenSim seems to tag the “BodyID” of the line element as |
Beta Was this translation helpful? Give feedback.
I looked through your model and I believe that OSC’s rendering is (for once 😉) to be expected. The two frames you’ve specified in the GeometryPath attribute of
ExoTendon
are attached at (0,0,0) to:/bodyset/pendulum_base/pendulum_base_exotendon_attach
/bodyset/pendulum_head/pendulum_head_exotendon_attach
Which are both in the expected locations as-rendered. Even simulating it, which is separate from OSC’s renderer, seems to pull the head along the spring (if I tweak the stiffness, rest length, etc.).
This appears to be a bug in OpenSim GUI. I don’t have a definite explanation, but I would guess that the bug is related to the fact that OSC implements its own custom way of rendering
Geome…