Modeling badminton racket as an elastic rod using cable #1386
Replies: 3 comments 7 replies
-
I was able to get the rod to behave in a similar way at 100 times larger timestep with the following attributes inside the joint definition of the composite body: <joint kind="main" damping="20" stiffness="2000" armature="0.01"/> If it's too wobbly, bump up the stiffness to 10000<. I'm not sure how specifying stiffness there interacts with the Also, the |
Beta Was this translation helpful? Give feedback.
-
Another idea - may be Mujoco is not the right emulation framework for my needs as I don't need any contacts or some other complicated niceties. |
Beta Was this translation helpful? Give feedback.
-
Discussed and solved in #1399. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm an amateur researcher and I'm trying to use MuJoCo for modeling a badminton racket (later with an arm).
I'm not a physicist but I'm a programmer.
I'm aiming at modeling a racket rotating around a wrist for the beginning.
I want to compare speeds of a rigid stick and flexible rod ends and therefore measure the whipping effect.
Later I wanted to model shoulder-elbow-wrist system and find optimal swing using reinforcement learning.
I'm looking for some help with understanding how to simulate an elastic rod of approximate badminton racket characteristics.
I was successfull at rigging up a flexible stick on a hinge which can be rotated using an actuator.
But when I try to play with it, f.i. make it thinner it becomes unstable.
I have to use quite a small timestep to make it work.
Questions:
Can I have a general advice - am I doing right or my simulation can be made more robust?
I need it to be quite effective as I suppose to use it for RL later - so it should calculate quickly.
Can I have an advice on bringing my rod closer to real badminton racket on physical characteristics?
Here is a notebook I'm experimenting with (section Flexible rod based on cable) -
https://github.com/google-deepmind/mujoco#asking-questions
Here is a model from this notebook:
minimal XML
Here is a video of simple simulation of applying force for a second and opposite force later.
flexible.rod.on.a.hinge.mp4
All feedback is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions