Simulating friction on floor for a humanoid in simmechanics second generation

2 次查看(过去 30 天)
I am currently working on a humanoid simulation on simmechanics 2G and working on getting the friction on the floor working. For the normal force, we are using the overdamped spring model for the floor. I have tried out the following ways to simulate friction:
1) Put overdamped springs in the two horizontal axes.
2) I tried to adapt the same function as used in the simmechanics 1g stiction block for friction: F = -drag_coef*v - constant - k*exp(-trans_coef*v)
Both of them don't seem to work, as the humanoid still keeps slipping on the floor. Any other suggestions on how else it can be implemented?

回答(1 个)

Steve Miller
Steve Miller 2021-10-25
As long as your friction force depends on the normal force, you have the signs correct, and you make it into static friction (relative velocity close to zero) this should work. You can try the Spatial Contact Force block, added in R2019b, to get rough values for the parameters in your friction model.
--Steve

类别

Help CenterFile Exchange 中查找有关 Assembly 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by