50     void CalculateFK (
const double fromJoints[]);
    54     const KineVector& GetP (
void)
 const   { 
return endEffector.p; }
    55     const KineVector& GetN (
void)
 const   { 
return endEffector.n; }
    56     const KineVector& GetO (
void)
 const   { 
return endEffector.o; }
    57     const KineVector& GetA (
void)
 const   { 
return endEffector.a; }
    58     void SetP (
const KineVector &newP)    { endEffector.p.x = newP.x; endEffector.p.y = newP.y; endEffector.p.z = newP.z; }
    59     void SetN (
const KineVector &newN)    { endEffector.n.x = newN.x; endEffector.n.y = newN.y; endEffector.n.z = newN.z; }
    60     void SetO (
const KineVector &newO)    { endEffector.o.x = newO.x; endEffector.o.y = newO.y; endEffector.o.z = newO.z; }
    61     void SetA (
const KineVector &newA)    { endEffector.a.x = newA.x; endEffector.a.y = newA.y; endEffector.a.z = newA.z; }
    62     void SetP (
double newPX, 
double newPY, 
double newPZ);
    63     void SetN (
double newNX, 
double newNY, 
double newNZ);
    64     void SetO (
double newOX, 
double newOY, 
double newOZ);
    65     void SetA (
double newAX, 
double newAY, 
double newAZ);
    67     double GetTheta (
unsigned int index);
    68     const double* GetThetas (
void)
 const  { 
return joints; }
    69     void SetTheta (
unsigned int index, 
double newVal);
    70     void SetLinkLengths (
double newLink1, 
double newLink2, 
double newLink3, 
double newLink4, 
double newLink5);
    71     void SetOffset (
unsigned int joint, 
double newOffset);
    72     void SetJointRange (
unsigned int joint, 
double min, 
double max);
    79     void CalcTheta4and5 (
double angles[], 
const EndEffector &fromPosition);
    80     int ChooseSolution (
const EndEffector &fromPosition, 
const double solutions[][5]);
    81     double CalcSolutionError (
const double solution[], 
const EndEffector &fromPosition);
    82     EndEffector CalcFKForJoints (
const double angles[]);
    83     bool SolutionInRange (
const double angles[]);
    85     void PrintEndEffector (
const EndEffector &endEffector);
    98     double jointOffsets[5];
   106     double link1, link2, link3, link4, link5;
 Definition: kinecalc.h:36
 
Definition: kinecalc.h:44
 
Definition: kinecalc.h:29
 
T max(T a, T b)
Return the maximum of a, b. 
Definition: utility.h:104
 
T min(T a, T b)
Return the minimum of a, b. 
Definition: utility.h:91