Unexpected behavior when modeling ball screw mechanism using equality joint with polycoef
#2563
Replies: 1 comment
-
I found a mistake in my model. I played with parameters a bit and find what the problem |
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 ITMO University, working on legged robots and using MuJoCo for my research on mechanical design.
My setup
I am using mujoco==3.2.7, python API. I use two operation systems Ubuntu 22 and Windows OS.
My question
I'm trying to implement a linear actuator model, specifically a ball screw mechanism that converts rotational motion into linear displacement. The goal is to control the actuator only through a rotational motor, and have the linear part move accordingly via the screw transmission ratio.
To achieve this, I used an
<equality joint>
withpolycoef="0 10 0 0 0"
to express a linear relationship between the revolute joint (input rotation) and the slide joint (linear carriage). I expected that rotating the motor by a given angle and stopping it would cause the carriage to move proportionally to that angle (based on the gear ratio), and then stop as well.However, what I'm observing is that after I rotate the motor to a certain angle and stop, the carriage continues moving, even though there is no more motion on the motor. This seems inconsistent with the expected behavior of a rigid ball screw coupling.
Could you please clarify:
polycoef
formulation correctly?Thank you for your help and for developing such a powerful simulator!
Minimal model and/or code that explain my question
My model for linear actuator is:
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions