I'm having an issue in porting the MoBL_ARMS model from v3.3 to v4.0. I open the 3.3 model file in 4.0 and the only warning that appears is that the 'deviation' and 'flexion' coordinates were labeled as rotational joints, but are actually coupled.
The coupled coordinates are: wrist_hand_r1 (coupled with deviation) and wrist_hand_r3 (coupled with flexion).
The issue is that both deviation and flexion now do not act properly when using the sliders in the coordinates tab. Additionally, deviation and flexion values are now in radians (instead of degrees) in the viewer. In 3.3 they were all in degrees.
The most noticeable issue is when in max extension (negative flexion). At about -0.328 rad the wrist stops extending (lower limit is -1.222 rad). At this point, the other wrist coordinates (deviation and pro_sup) stop responding as well. If I adjust the sliders for deviation and pro_sup and then start to flex the wrist, once I pass that -0.328 value the other coordinates snap into their new positions.
Everything works as expected in v3.3, deviation and flexion values are also in degrees. Additionally, the other constrained joints in the model (the shoulder) work as normal as well.
What I have tried/ looked at:
- Disabling the constraints - at which point I can manually manipulate the coordinates to work. The extension locking issue is also corrected
- Changing the joints to coupled in v3.3 before opening in v4.0
- Comparing the coordinates, joints, and constraints in the model file - there were no differences
- Comparing the wrist constraints to other constraints. The only notable difference was that the 'SimmSpline' function had a name ( <SimmSpline name="f18"> )
Does anyone know what is causing these issues? Is there anything else I can test or try to fix it?
I've attached some pictures showing the difference in wrist flexion/ extension between v3.3 and v4.0 for reference. I've also attached the and the model file generated by default in v4.0, the original version is available here: https://simtk.org/frs/?group_id=657.
Thanks,
Joe Marsh