Modeling a nonlinear spring passively actuated joint #1350
martijnhabers
started this conversation in
General
Replies: 1 comment 2 replies
-
The easiest way to do it is to apply your force in a passive force callback. Depending on whether you are using C or Python this will look slightly different (and have vastly different effect on step time (negligible for the former, a lot for the latter)). Tell us about your setup and we'll give you pointers. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
For a project I am simulating a lower limb exoskeleton, which consists of several joints. Each joint is controlled actively by a motor, including a virtual sensor measuring position and velocity. The image below gives an indication of the approximate design. The black cylinders are the actuated joints.
I want to change the design of the exoskeleton and add a passive joint in the ankle, to allow for inversion/eversion movement (rotation along the heel to toe axis). This new joint will be passively actuated, contrary to the other joints.
The movement is constrained between -8 and 8 degrees. However, within the constraints, the torque provided by the spring is given by this non-linear profile.
I am working on describing this curve as a continuous set of functions, so that I can base the torque on any given position of the ankle.
I am not very familiar with the possibilities of MuJoCo but have looked through the documentation and found that you have some form of passive joints included, but I'm having trouble to see how I should implement a position dependent torque as described above.
Does anyone have an idea on how this could be implemented? Help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions