Exoskeleton driver problem

Hi my friends,
I firstly translated my exoskeleton model using AnyEXp4 SolidWorks. But when defining a driver in the main file ı saw following error problem
,
Closing model...
Deleting loaded model...
...Model deleted.
Loading Main : "C:\Users\ISO\Desktop\solid anybody modeller\exo4\calikusu.main.any"
Scanning...
Parsing...
Constructing model tree...
ERROR(SCR.PRS9) : C:/Users/ISO/D..p/s..r/exo4/calikusu.main.any(17) : 'rot' : Unresolved object
Model loading skipped

and my driver code in anyscript ;

 AnyKinEqSimpleDriver Righthip1 =

{
AnyKinLinear lin =
{
AnyRefFrame& base = ...Main.exoskeleton.2___1;
AnyRefFrame& target = ...Main.exoskeleton.4___1;
Ref = 0;
};
AnyKinRotational rot =
{
AnyRefFrame& base = ...Main.exoskeleton.2___1;
AnyRefFrame& target = ...Main.exoskeleton.4___1;
Type = PlanarAngles;
Axis1 = z;
Axis2 = y;
Axis3 = x;
};
MeasureOrganizer = {0, 1, 4, 5};
DriverPos = {0, 0, 0, 0};
DriverVel = {0, 0, 0, 0};
CType = {..ANY_CTYPE, ..ANY_CTYPE, ..ANY_CTYPE, ..ANY_CTYPE};
};

and the inserting code in main file;
Main =
{
#include "calikusu.any"
exoskeleton =
{
AnyFolder Drivers =
{
AnyKinEqSimpleDriver rot_drv =
{
AnyKinRotational&rot = ...Rightjip1.rot;
MeasureOrganizer = {0};
DriverPos = pi/180*{0};
DriverVel = pi/180*{180};
};
};
};

AnyBodyStudy Study =
{
AnyFolder& Model = .exoskeleton;
tStart = 0;
tEnd = 1;
nStep = 101;
Gravity = {0, -9.81, 0};
InitialConditions.SolverType = KinSolOverDeterminate;
Kinematics.SolverType = KinSolOverDeterminate;
};
};
firstly, thanks for your interests..

Best Regards

İsmail

Hi Ismal,

The error you get means that the object "rot" could not be found in the location you have specified.

You can click the blue error code and it will show you the line causing the problem.

I think this is the line:

The three dots "…" in front of "Rightjip1.rot" means it will go three folders out...
So one "." takes it out of "rot_drv" next "." takes it our of "Drivers" and last "." takes it out of "exoskeleton" this means that on that level it will look for something called "rot" which seems not to exist in your model .

Note that tutorials is available in the help menu item

Best regards
Søren

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