61 *(this->PhaseSyncSelectionVector) = *(this->CurrentInputParameters->SelectionVector);
63 for (i = 0; i < this->NumberOfDOFs; i++)
65 if ( ((this->CurrentInputParameters->SelectionVector->VecData)[i])
66 && ( (this->ExecutionTimes->VecData)[i] <= this->CycleTime)
68 , (this->CurrentInputParameters->CurrentVelocityVector->VecData)[i]
69 , 0.5 * this->CycleTime * (this->CurrentInputParameters->MaxAccelerationVector->VecData)[i]))
70 && ((this->CurrentInputParameters->TargetVelocityVector->VecData)[i] == 0.0) )
72 (this->PhaseSyncSelectionVector->VecData) [i] =
false ;
73 (this->CurrentInputParameters->CurrentVelocityVector->VecData) [i] = 0.0 ;
Header file for the dynamic vector class used for the Reflexxes Motion Libraries. ...
Header file for the class TypeIIRMLVelocity.
Header file for functions and definitions of constant values and macros.
bool IsEpsilonEquality(const double &Value1, const double &Value2, const double &Epsilon)
Checks epsilon equality for two values.
void SetupPhaseSyncSelectionVector(void)
Modify the current selection vector and exclude unnecessary degrees of freedom.