This patch is here for review.
If no one complains about problem I will patch the code.
Other joint with rotoide motor will be fixed lated.
Rename testRotationalLimit to testLimit
Create new function testRotationalLimit which handle
angle wrapping correctly.
dxJointSlider::getInfo1 use testLimit
- Where should the assignment of prevAngle occur to be
only done when necessary
- Now it is always done in getInfo1 even if not needed.
- Should be done in:
- dJointSetParam when param is the loStop or
hiStop and in getInfo2 if limit exits.