61 if (this->CurrentTrajectoryIsPhaseSynchronized)
66 this->Step2PhaseSynchronization();
70 if (this->CurrentTrajectoryIsNotSynchronized)
72 for (i = 0; i < this->NumberOfDOFs; i++)
74 if((this->ModifiedSelectionVector->VecData)[i])
77 , (this->CurrentInputParameters->CurrentVelocityVector->VecData) [i]
78 , (this->CurrentInputParameters->TargetPositionVector->VecData) [i]
79 , (this->CurrentInputParameters->TargetVelocityVector->VecData) [i]
80 , (this->CurrentInputParameters->MaxVelocityVector->VecData) [i]
81 , (this->CurrentInputParameters->MaxAccelerationVector->VecData) [i]
82 , (this->UsedStep1AProfiles->VecData) [i]
83 , (this->MinimumExecutionTimes->VecData) [i]
84 , &((this->Polynomials)[i]) );
90 for (i = 0; i < this->NumberOfDOFs; i++)
92 if((this->ModifiedSelectionVector->VecData)[i])
95 , (this->CurrentInputParameters->CurrentVelocityVector->VecData) [i]
96 , (this->CurrentInputParameters->TargetPositionVector->VecData) [i]
97 , (this->CurrentInputParameters->TargetVelocityVector->VecData) [i]
98 , (this->CurrentInputParameters->MaxVelocityVector->VecData) [i]
99 , (this->CurrentInputParameters->MaxAccelerationVector->VecData) [i]
100 , this->SynchronizationTime
101 , &((this->Polynomials)[i]) );
Header file for the class ReflexxesAPI (API of the Reflexxes Motion Libraries)
Header file file for the declaration of the function TypeIIRMLMath::Step2WithoutSynchronization().
void Step2(void)
Step 2 of the On-Line Trajectory Generation algorithm: time synchronization of all selected degrees o...
void TypeIIRMLDecisionTree2(const double &CurrentPosition, const double &CurrentVelocity, const double &TargetPosition, const double &TargetVelocity, const double &MaxVelocity, const double &MaxAcceleration, const double &SynchronizationTime, MotionPolynomials *PolynomialsInternal)
This function contains the decision tree of the Step 2 of the Type II On-Line Trajectory Generation a...
Header file for functions and definitions of constant values and macros.
Header file for the class TypeIIRMLPosition, which constitutes the actual interface of the Type II Re...
Header file for the Step 2 decision tree of the Type II On-Line Trajectory Generation algorithm (time...
void Step2WithoutSynchronization(const double &CurrentPosition, const double &CurrentVelocity, const double &TargetPosition, const double &TargetVelocity, const double &MaxVelocity, const double &MaxAcceleration, const TypeIIRMLMath::Step1_Profile &UsedProfile, const double &MinimumExecutionTime, MotionPolynomials *PolynomialsInternal)
This function contains sets of trajectory parameters (i.e., all polynomial coefficients) in the case ...