- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi F360T,
Just stumbled on ... unexpected behaviour in revolute joint reporting API.
I have created asBuiltJoint with
- maximumValue = 0 deg.
- minimumValue = -16 deg
- rotationValue = -8
as visible in F360 respective dialog boxes ...
the API returned
...rotationLimits.maximumValue = 0 rad so. 0.000000 * 57.29577951308232 = 0.00000 ... just perfect
...rotationLimits.minimumValue = -0.279253 rad so. -0.279253 * 57.29577951308232 = -16.0000 ... good enough
....joint.rotationValue = 6.143558 rad so . 6.143558 * 57.29577951308232 = 352.000 ... ???????
Well, technically -8 deg is equivalent to 352 deg so Pythagoras would not complain, although for people going in circle it would be 344 deg difference.
Also, for mathematical purists 6.143558 is out of range of <min= -0.279253,max=0>, as 352 is out of range of <min= -16,max=0>
Such, seems to 'belittle' inconsistency breaks quite basic customs and as such might lead to unforeseen results ... as it did in my case ...
It costs time,...depletes adrenaline's store and have an effect on precious scalp hairs (... in some cases).
With Regards
MichaelT
Solved! Go to Solution.