arm drifting during sim run with no scripts enabled

Report crashes, strange behaviour, or apparent bugs
Post Reply
ahundt
Posts: 112
Joined: 29 Jan 2015, 04:21

arm drifting during sim run with no scripts enabled

Post by ahundt »

I have a simulation with no scripts enabled, and when I hit run the arm end effector seems to drift down. The behavior I would expect is for the arm to stay completely stationary. Here is the relevant .ttt:

https://drive.google.com/file/d/0BxN_ni ... sp=sharing

coppelia
Site Admin
Posts: 10361
Joined: 14 Dec 2012, 00:25

Re: arm drifting during sim run with no scripts enabled

Post by coppelia »

Hello,

this is normal, since your joints are in hybrid IK mode. In that mode, the IK module computes the desired joint position, and sends the computed values to the physics engine, which will use a PID controller to keep that position. In your case, the IK is handled in your scripts, which are disabled. So there are no values to send to the physics engine, which will simply take the last value. And in that case, since there are always very small errors in a controller, there will be a drift. But you can notice that with the Vortex engine for instance, the drift is much smaller, since the Vortex engine has a much better solver/joint model.

Cheers

Post Reply