Hello,
I'm still quite new to MotionView and am triying to implement a custom friction model for my simulation. Since the default method works based on the slip velocity, it can't handle stiction.
My simulation requires to determine the poit, where the contact begins to slip aswell as the amount of force, which is transfered by the friction.
I created a Python script, that prints out the Parameters, which are passed to the function:
Script:
def calc_friction(*args):
for arg in args:
print(str(arg))
return [1, 1, 1]
Output:
###
301005
0.1041319357775548
()
0
(0.0, 0.0, 0.0)
(0.0, 0.0, 0.0)
(0.0, 0.0, 0.0)
(-4312.392048973147, 502.1180092459433, 0.0)
14.602606026551415
0
0
###
The first two values beeing the id and the time make sense to me, however I have not found any documentation, that would tell me what the others are.
If someone could tell me what these parameters corespond to or point me in the direction of the corresponding, I would realy apreciate it.
Regards,
Jeeb
PS:
Since I am returning a fake value from the function to make it work, might explain why there are a lot of zeros in there.