Starting position when using AnyKinEqInterPolDriver

Hi, I am trying to drive your bench press model with the use of AnyKinEqInterPolDriver but are having trouble with fixing a starting position.

Right now I have inputed this to the Environment folder:

AnyKinEqInterPolDriver LeftyZ = {
AnyKinLinear lin = {
AnyRefFrame &Neck = Main.Model.BodyModel.Trunk.SegmentsThorax.ThoraxSeg.T1C7JntNode;
AnyRefFrame &Hand = Main.Model.EnvironmentModel.Weight.lhand;
};
MeasureOrganizer = {1};
Type = Bspline; // you could test Bezier/Besier
BsplineOrder = 4; // test to change
FileName = "Dz.stang.txt";
};

The movement looks fine except that the movement starts with the barbell in the middle of the body.. Thankful for quick help!

Hi

I have noticed a couple of things:

  • you are driving the y directions since you measureorganizer is 1, in my memory the node used in the linear measure you drive has y axis upwards so pointing against the skull, is this what you want?

  • the driver has reactions swicthed on meaning this driver will carry loads… not the muscles.. to switch it of write
    Reations.Type={Off};

  • To make the barbell start higher either change you data or change the measure you driver. To change the measure simply pick a different node on thorax for example ThoracSeg.ij which is at the sternum.

  • you add one constraint to the model, remember also to remove an equivalent constraint to keep the DOF count in balance.

Best regards
Søren

1 Like

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.