interpolation

Hi,
my interpolation driver doesn’t run…
the error is:

“The matrix must contain the same number of rows as there are
coordinates to be driven”

but the number of rows is the same of coordinates to be driven, so
what’s the mistake?

Thanks
Raffaella

Hi Raffaella

Here is a small example on the use of an interpoaltion driver
The PelvisGroundMeasureLin has three dof which is driven

AnyKinEqInterPolDriver PelvisDriver={
AnyKinLinear &GroundJoint = .PelvisGroundMeasureLin;

Type=Bspline;
BsplineOrder = 4; // This provides smooth accelerations

T = Main.HandlePosStudy1.tEnd*{0,0.33,0.66,1.01};
Data={
{0,0,0,0},
{0.1,0.2,0.3,0.4},
{0.2,0.4,0.6,0.8}
};
Reaction.Type={0,0,0};
};

I think error could be because the number of dof that is driven do
not
macth the rows. It could be two things; either is the dof number
different than you expect or the brackets around the rows is not set
correctly, both things could give this error message.

If you continue to have problems with this driver please upload the
driver to the file sections of this page, then we can see the
problem
in detail.

Best regards
AnyBody Technology Support

— In anyscript@yahoogroups.com, “ing_bio982” <ing_bio982@y…>
wrote:
> Hi,
> my interpolation driver doesn’t run…
> the error is:
>
> “The matrix must contain the same number of rows as there are
> coordinates to be driven”
>
> but the number of rows is the same of coordinates to be driven, so
> what’s the mistake?
>
> Thanks
> Raffaella