Hi Brent,
You are right that the Knee_LateralMoment should be Fout[3] and the Knee_AxialMoment should be Fout[4]. Thank you for pointing at it, we will correct it.
The ankle moment is a little different. The forces are in the Shank.AnkleJoint ref frame but the AxialMoment is in the Shank.AnkleJoint.RotNode ref frame with X along the shank long axis. So this one is correct.
However you should be aware that since version 4.1 the type of the rotational measure of the revolute joint has changed from RotVector to PlanarAngles. Because of this the unit of the revolute joint reaction moment values is not anymore equivalent to Nm but to a more complex unit. So those values cannot be interpreted directly.
In order to read again the value in Nm you can simply use an AnyForceMomentMeasure like this:
AnyForceMomentMeasure KneeJointReactionMoments =
{
AnyForceBase &reaction = Main.HumanModel.BodyModel.Right.Leg.Jnt.Knee.Constraints.Reaction;
AnyRefFrame &knee = Main.HumanModel.BodyModel.Right.Leg.Seg.Thigh.KneeJoint;
AnyVec3 Mlocal = M*knee.Axes;
};
Mlocal will give you the knee moment reaction in the local Thigh.KneeJoint ref frame in Nm. You should apply this method to all revolute joint of the body.
A new version of the repository will be released as soon as posible with updated SelectedOutput taking care of this unit issue.
Best regards, Sylvain.