Page 1 of 1

Flexible joints

Posted: 13 Feb 2018, 00:27
by AhmadGazar
Is there a way to model flexible joints in vrep?

Re: Flexible joints

Posted: 13 Feb 2018, 03:26
by coppelia

do you mean joints with a certain compliance? Yes, you can use a joint in spring-damper mode, and adjust its target position. Or you can write your own joint controller via a joint control callback function.
Have a look at the demo model: Models/examples/spring-damper.ttm


Re: Flexible joints

Posted: 14 Feb 2018, 16:10
by mthor13
I just wanted to add that it is also possible to add "relaxation" to a joint by editing its engine specific properties. I, for instance, added relaxation to a joint using the vortex engine such that it is allowed to move a bit in the z-direction (i.e. some compliance in the z-direction).

Mathias Thor

Re: Flexible joints

Posted: 16 Feb 2018, 13:42
by AhmadGazar
Am I able to do torque control with that?

Re: Flexible joints

Posted: 16 Feb 2018, 16:43
by fferri
Also, in the ODE manual at section How to use ERP and CFM it is said that there is a direct relationship between CFM and ERP parameters, and the Kp and Kd constants of a spring-damper model.