AnyKinEqInterPolDriver

Hello Søren,

I’m back with another question, what a surprise! lol

In my model, I have a AnyKinEqInterPolDriver to drive the 5 arm angles,
namely:
elbow - flexion, pronation; and
shoulder - flexion, abduction, external rotation.

using data from a “angles.txt” file. Here is the first 3 lines of that
file:
0.00000 0.00000 0.00000 10.00000 5.00000 20.00000
0.00080 0.00000 0.00000 10.00000 5.00000 20.00000
0.00160 0.00000 0.00000 10.00000 5.00000 20.00000

The model loads fine, but when I try to SetInitialConditions it fails
saying that all 78 constraints are above tolerance.

If I tried replacing the AnyKinEqInterPolDriver with
AnyKinEqSimpleDriver and set the appropriate conditions in the
Mannequin.any file, the model loads fine and I am able to run the
KinematicAnalysis as well.

I’m not sure what I’m missing here. I’d appreciate your help.

Thank you,
-Venn

[Non-text portions of this message have been removed]

Hi Venn

In principle you should be able to replace an AnyKinEqSimpleDriver
with an equivalent interpolation driver.

Here are some quesses on what could go wrong.
1: The start positions of the inerpolation drivers and the simple
drivers are not the same? If your first line of data has the same
values as your DriverPos values your starting point should be the
same and it should work, provided the time vector also starts with
t=tStart.
2: Both drivers are trying to drive the model? at the same time
3: Forgot to mulitply your data with pi/180 so that the angles are
wrong

Hope one of them solves your problem :wink: otherwise i need more
details or the model.

Best regards
Søren AnyBodyt Support

— In anyscript@yahoogroups.com, “Vengateswaran J. Ravichandran”
<vennjr@…> wrote:
>
> Hello Søren,
>
> I’m back with another question, what a surprise! lol
>
> In my model, I have a AnyKinEqInterPolDriver to drive the 5 arm
angles,
> namely:
> elbow - flexion, pronation; and
> shoulder - flexion, abduction, external rotation.
>
> using data from a “angles.txt” file. Here is the first 3 lines of
that
> file:
> 0.00000 0.00000 0.00000 10.00000 5.00000 20.00000
> 0.00080 0.00000 0.00000 10.00000 5.00000 20.00000
> 0.00160 0.00000 0.00000 10.00000 5.00000 20.00000
>
> The model loads fine, but when I try to SetInitialConditions it
fails
> saying that all 78 constraints are above tolerance.
>
> If I tried replacing the AnyKinEqInterPolDriver with
> AnyKinEqSimpleDriver and set the appropriate conditions in the
> Mannequin.any file, the model loads fine and I am able to run the
> KinematicAnalysis as well.
>
> I’m not sure what I’m missing here. I’d appreciate your help.
>
> Thank you,
> -Venn
>
>
>
> [Non-text portions of this message have been removed]
>

Hi Søren,It was a stupid mistake on my part… didn’t convert the angles to
radians! It was the first place I checked, but I some how missed it the first
time around. I’m sorry for troubling you with something that
silly.Thanks,-VennTo: anyscript@yahoogroups.comFrom:
support@anybodytech.comDate: Tue, 20 Mar 2007 14:07:59 +0000Subject: [anyscript]
Re: AnyKinEqInterPolDriver

         Hi Venn

In principle you should be able to replace an AnyKinEqSimpleDriver
with an equivalent interpolation driver.

Here are some quesses on what could go wrong.
1: The start positions of the inerpolation drivers and the simple
drivers are not the same? If your first line of data has the same
values as your DriverPos values your starting point should be the
same and it should work, provided the time vector also starts with
t=tStart.
2: Both drivers are trying to drive the model? at the same time
3: Forgot to mulitply your data with pi/180 so that the angles are
wrong

Hope one of them solves your problem :wink: otherwise i need more
details or the model.

Best regards
Søren AnyBodyt Support

— In anyscript@yahoogroups.com, “Vengateswaran J. Ravichandran”
<vennjr@…> wrote:
>
> Hello Søren,
>
> I’m back with another question, what a surprise! lol
>
> In my model, I have a AnyKinEqInterPolDriver to drive the 5 arm
angles,
> namely:
> elbow - flexion, pronation; and
> shoulder - flexion, abduction, external rotation.
>
> using data from a “angles.txt” file. Here is the first 3 lines of
that
> file:
> 0.00000 0.00000 0.00000 10.00000 5.00000 20.00000
> 0.00080 0.00000 0.00000 10.00000 5.00000 20.00000
> 0.00160 0.00000 0.00000 10.00000 5.00000 20.00000
>
> The model loads fine, but when I try to SetInitialConditions it
fails
> saying that all 78 constraints are above tolerance.
>
> If I tried replacing the AnyKinEqInterPolDriver with
> AnyKinEqSimpleDriver and set the appropriate conditions in the
> Mannequin.any file, the model loads fine and I am able to run the
> KinematicAnalysis as well.
>
> I’m not sure what I’m missing here. I’d appreciate your help.
>
> Thank you,
> -Venn
>
>
>
> [Non-text portions of this message have been removed]
>


It’s tax season, make sure to follow these few simple tips
<a href=“http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?icid=WLMartagline”>http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?
icid=WLMartagline</a>

[Non-text portions of this message have been removed]