Is it possible to generate large transverse friction forces for soft contacts? #1992
Replies: 3 comments 5 replies
-
It took a few more reads of the Computation chapter, but I think I'm starting to see where I misunderstood the friction and soft contact models. It's still unclear to me how to generate large transverse drag using only contacts, so I've narrowed the issue title. I do also appreciate some corrections if I'm still missing some parts of the picture. As I understand it, my mistake was that I thought that dynamic friction was always proportional to the normal force of the contact, and this normal force was defined by the mass-spring-damper system. That assumed:
I now understand that this is wrong, and instead, for small It seems the simulations showed just that:
My understanding is that most use cases have hard and dissipative surfaces with very little penetration, so that slip involves being on the friction cone almost all the time, and friction behaves intuitively, being mostly proportional to Meanwhile, in cases with soft yet grippy surfaces, the better intuition is that the penetrating object "sticks" to the soft surface and encounters the drag as it retracts and pulls the surface of the soft object back to equilibrium. My issue with isotropic drag is that every step the robot takes will incur large energy losses, even if the robot lifts the foot directly upwards. I'm a bit surprised that I haven't found any other issues about energy losses from rebounding drag for soft surfaces; does using |
Beta Was this translation helpful? Give feedback.
-
If you define the contact pair explicitly, you can experiment with different values of solref that apply only to the frictional directions ( |
Beta Was this translation helpful? Give feedback.
-
For the high friction generated by the normal force, switching to the elliptical cone could sometimes help, because its rounded tip touches the other surface earlier. Do I understand this correctly from to the diagram in the doc? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm an engineer trying to use MuJoCo for humanoid robotic control.
I'm trying to model grass interactions in MuJoCo, specifically its anisotropic drag against the robot's feet (where it is springy and fairly lossless in the normal direction and frictional in transverse directions). It sounds like friction should be perfect for this. My impression was that I could make the contact soft so the robot could sink into the grass geom, then use large friction coefficients to create transverse drag in spite of the small reaction force.
However, I think I must be misunderstanding the friction model. Symptomatically, when using larger
friction
values, I don't seem to get much damping, but instead I have noticed the contact seems to get much softer.For example, here's a box on a pendulum penetrating a relatively soft, undamped plane:
When
friction=0.1
, I get a springy undamped response as expected:friction_0p1.mp4
However, when
friction=1.0
, the stiffness drops out enough for the box to swing to the other side, and I don't see any additional losses:friction_1p0.mp4
Higher values of friction don't do much, and I worry that I'm heading towards instabilities. Here's
friction=10
for completeness:friction_10p0.mp4
These are all simulated with pyramidal cones, but elliptical cones look much the same.
Is this expected behavior and am I missing something about MuJoCo's slip/friction model? Is there a way to achieve anisotropic dynamic slipping friction for a soft geom (i.e. without resorting to isotropic
solref
damping)?Beta Was this translation helpful? Give feedback.
All reactions