Rope, consisting of small objects vibrate spontaneously

Hi everyone!

Preamble.
In our game we have a coefficient named "ptmRatio" (pixels to meters ratio). All coordinates, dimensions and forces depends on it.
We also have a rope and a track (for crawler excavator), consisting of small objects with b2RopeJoint and b2LinearJoint.

Problem.
Once we desided to increase ptmRatio from 46 up to 1000 (and tuned all settings proportionally) to make our physics more realistic. Before these manipulations everything was perfect, but now a rope and a track elements began vibrate spontaneously.

Screencast:
In this video you can see, that rope elements vibrate slowly, but on real device with normal FPS is looks terribly, besides it shakes other objects!
http://dl.dropbox.com/u/17069366/trembling.swf

Code:
ropeElement.density = 5.0f;
ropeElement.size = 0.006f;
settings.jointLength = 0.01f;
gravity b2Vec2(0, -10);


Code:
b2RopeJointDef joint;
joint.maxLength     = settings.jointLength;
joint.bodyA         = elementPrev;
joint.bodyB         = elementNext;
joint.localAnchorA  = elementPrev->GetLocalCenter() + b2Vec2(0, ropeElement.size / 2);
joint.localAnchorB  = elementNext->GetLocalCenter() + b2Vec2(0, ropeElement.size / -2);


Simulating:
Code:
// every frame
int32 velocityIterations = 20;
int32 positionIterations = 20;
world->Step(1.0f/60, velocityIterations, positionIterations);
My first guess would be that everything is simply too small.
In the b2Settings.h file you will find a constant called b2_linearSlop which is used in various places, often to decide whether a distance is close enough to be considered the same. The default value for this is 0.005 which is pretty much the size of the things you are making. As the comment above the setting indicates this value is chosen to be visually insignificant, and the units for the physics world are assumed to be meters so this value (5mm) is indeed visually insignificant if the scene consists of things like cars, people, etc. But if the scene consists of pea-sized bodies as yours does, I guess small movements become visually significant.
If everything worked fine before you could just set it back how it was, it may not be so pleasant to code but I don't think the end users will care much 🙂

Original thread: https://box2d.org/forum/viewtopic.php?t=7700