What the end joint of a chain whose mid segment twists distally (a wrist
beyond a forearm) reads of a requested rotation at every swivel: where the
mid segment points in the requested rotation's frame, as three sinusoids,
and the joint's box in the rest-relative angles those components give.
The mid segment's twist turns it about its own long axis u and leaves
where it points unchanged, and the end joint's own twist is immobile, so
with the end joint's world rotation R requested, its two free angles are
fixed by where the mid segment points alone. The end joint's articulation
is L = Abd(a) Flex(f) (the proximal order of
decomposeJointRotationOnBasis with no twist) and R = M rest L with M
the mid segment's world rotation, so d = R^-1 u_world = L^-1 (rest^-1 u).
When rest^-1 u is the end joint's twist axis (or its opposite, read
with d negated: sense), in the joint's basis
coordinates (flexion, abduction, twist) that is
d = (-sin a, cos a sin f, cos a cos f): the abduction is the middle angle,
read by its sine -d_flexion, and the flexion an outer angle, read by the
vector (d_abduction, d_twist). The mid segment's world axis is affine in
the mid joint's place, which circles the root-to-target line as the swivel
turns, so every component of d is a + b cos s + c sin s, fitted exactly
from three swivels.
What the end joint of a chain whose mid segment twists distally (a wrist beyond a forearm) reads of a requested rotation at every swivel: where the mid segment points in the requested rotation's frame, as three sinusoids, and the joint's box in the rest-relative angles those components give.
The mid segment's twist turns it about its own long axis
uand leaves where it points unchanged, and the end joint's own twist is immobile, so with the end joint's world rotationRrequested, its two free angles are fixed by where the mid segment points alone. The end joint's articulation isL = Abd(a) Flex(f)(the proximal order ofdecomposeJointRotationOnBasiswith no twist) andR = M rest LwithMthe mid segment's world rotation, sod = R^-1 u_world = L^-1 (rest^-1 u). Whenrest^-1 uis the end joint's twist axis (or its opposite, read withdnegated:sense), in the joint's basis coordinates (flexion, abduction, twist) that isd = (-sin a, cos a sin f, cos a cos f): the abduction is the middle angle, read by its sine-d_flexion, and the flexion an outer angle, read by the vector(d_abduction, d_twist). The mid segment's world axis is affine in the mid joint's place, which circles the root-to-target line as the swivel turns, so every component ofdisa + b cos s + c sin s, fitted exactly from three swivels.