Class for the output parameters of the position-based On-Line Trajectory Generation algorithm. More...
#include <RMLPositionOutputParameters.h>
Public Member Functions | |
void | Echo (FILE *FileHandler=stdout) const |
Prints the new state of motion of the output parameters to *FileHandler. More... | |
RMLPositionOutputParameters (const unsigned int DegreesOfFreedom) | |
Constructor of class RMLPositionOutputParameters. More... | |
RMLPositionOutputParameters (const RMLPositionOutputParameters &OP) | |
Copy constructor of class RMLPositionOutputParameters. More... | |
~RMLPositionOutputParameters (void) | |
Destructor of class RMLPositionOutputParameters. More... | |
Public Member Functions inherited from RMLOutputParameters | |
unsigned int | GetDOFWithTheGreatestExecutionTime (void) const |
Returns the index of the degree of freedom with the greatest trajectory execution time. More... | |
void | GetExecutionTimes (RMLDoubleVector *OutputVector) const |
Copies the contents of the RMLDoubleVector object containing the execution times for each degree of freedom, at which the desired target velocity is reached, to the RMLDoubleVector object referred to by OutputVector . More... | |
void | GetExecutionTimes (double *OutputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the execution times for each degree of freedom, at which the desired target velocity is reached, to the memory pointed to by OutputVector . More... | |
void | GetExecutionTimesElement (double *OutputValue, const unsigned int &Index) const |
Copies one element of the execution times for each degree of freedom, at which the desired target velocity is reached, to the memory pointed to by OutputValue . More... | |
double | GetExecutionTimesElement (const unsigned int &Index) const |
Returns one single element of the execution times for each degree of freedom, at which the desired target velocity is reached. More... | |
double | GetGreatestExecutionTime (void) const |
Returns the time value in seconds which is required by the degree with the greatest execution to reach its desired target velocity. More... | |
int | GetMotionStateAtMaxPosForOneDOF (const unsigned int &DOF, RMLDoubleVector *PositionVector, RMLDoubleVector *VelocityVector, RMLDoubleVector *AccelerationVector) const |
Copies the motion state, at which the position of the degree of freedom with the index DOF has reached its maximum, to the three referred RMLDoubleVector objects. More... | |
int | GetMotionStateAtMaxPosForOneDOF (const unsigned int &DOF, double *PositionVector, double *VelocityVector, double *AccelerationVector, const unsigned int &SizeInBytes) const |
Copies the motion state, at which the position of the degree of freedom with the index DOF has reached its maximum, to the three referred arrays of double values. More... | |
int | GetMotionStateAtMinPosForOneDOF (const unsigned int &DOF, RMLDoubleVector *PositionVector, RMLDoubleVector *VelocityVector, RMLDoubleVector *AccelerationVector) const |
Copies the motion state, at which the position of the degree of freedom with the index DOF has reached its minimum, to the three referred RMLDoubleVector objects. More... | |
int | GetMotionStateAtMinPosForOneDOF (const unsigned int &DOF, double *PositionVector, double *VelocityVector, double *AccelerationVector, const unsigned int &SizeInBytes) const |
Copies the motion state, at which the position of the degree of freedom with the index DOF has reached its minimum, to the three referred arrays of double values. More... | |
void | GetNewAccelerationVector (RMLDoubleVector *OutputVector) const |
Copies the contents of the RMLDoubleVector object containing the new acceleration vector to the RMLDoubleVector object referred to by OutputVector . More... | |
void | GetNewAccelerationVector (double *OutputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the new acceleration vector to the memory pointed to by OutputVector . More... | |
void | GetNewAccelerationVectorElement (double *OutputValue, const unsigned int &Index) const |
Copies one element of the new selection vector to the memory pointed to by OutputValue . More... | |
double | GetNewAccelerationVectorElement (const unsigned int &Index) const |
Returns one single element of the new selection vector . More... | |
void | GetNewPositionVector (RMLDoubleVector *OutputVector) const |
Copies the contents of the RMLDoubleVector object containing the new position vector to the RMLDoubleVector object referred to by OutputVector . More... | |
void | GetNewPositionVector (double *OutputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the new position vector to the memory pointed to by OutputVector . More... | |
void | GetNewPositionVectorElement (double *OutputValue, const unsigned int &Index) const |
Copies one element of the new selection vector to the memory pointed to by OutputValue . More... | |
double | GetNewPositionVectorElement (const unsigned int &Index) const |
Returns one single element of the new selection vector . More... | |
void | GetNewVelocityVector (RMLDoubleVector *OutputVector) const |
Copies the contents of the RMLDoubleVector object containing the new velocity vector to the RMLDoubleVector object referred to by OutputVector . More... | |
void | GetNewVelocityVector (double *OutputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the new velocity vector to the memory pointed to by OutputVector . More... | |
void | GetNewVelocityVectorElement (double *OutputValue, const unsigned int &Index) const |
Copies one element of the new selection vector to the memory pointed to by OutputValue . More... | |
double | GetNewVelocityVectorElement (const unsigned int &Index) const |
Returns one single element of the new selection vector . More... | |
unsigned int | GetNumberOfDOFs (void) const |
Returns the number of degrees of freedom. More... | |
void | GetPositionalExtrema (RMLDoubleVector *MinimumPositionVector, RMLDoubleVector *MaximumPositionVector) const |
Copies two RMLDoubleVector objects that contain the minimum and maximum positions, which are reached until the target state of motion is reached. More... | |
void | GetPositionalExtrema (double *MinimumPositionVector, double *MaximumPositionVector, const unsigned int &SizeInBytes) const |
Copies two RMLDoubleVector objects that contain the minimum and maximum positions, which are reached until the target state of motion is reached. More... | |
double | GetSynchronizationTime (void) const |
Returns the synchronization time. More... | |
void | GetTimesAtMaxPosition (RMLDoubleVector *ExtremaTimes) const |
Copies the contents of a RMLDoubleVector object that contains the times (in seconds) at which the maximum positions are reached to the RMLDoubleVector object referred to by ExtremaTimes . More... | |
void | GetTimesAtMaxPosition (double *ExtremaTimes, const unsigned int &SizeInBytes) const |
Copies the array of double values that contain the time values (in seconds) at which the maximum positions are reached to the array of double values referred to by ExtremaTimes . More... | |
void | GetTimesAtMinPosition (RMLDoubleVector *ExtremaTimes) const |
Copies the contents of a RMLDoubleVector object that contains the times (in seconds) at which the minimum positions are reached to the RMLDoubleVector object referred to by ExtremaTimes . More... | |
void | GetTimesAtMinPosition (double *ExtremaTimes, const unsigned int &SizeInBytes) const |
Copies the array of double values that contain the time values (in seconds) at which the minimum positions are reached to the array of double values referred to by ExtremaTimes . More... | |
bool | IsTrajectoryPhaseSynchronized (void) const |
Indicates whether the currently calculated trajectory is phase- synchronized or only time-synchronized. More... | |
RMLOutputParameters & | operator= (const RMLOutputParameters &OP) |
Copy operator. More... | |
bool | WasACompleteComputationPerformedDuringTheLastCycle (void) const |
Indicates, whether a new computation was performed in the last cycle. More... | |
~RMLOutputParameters (void) | |
Destructor of class RMLOutputParameters. More... | |
Additional Inherited Members | |
Public Types inherited from RMLOutputParameters | |
enum | ReturnValue { RETURN_SUCCESS = 0, RETURN_ERROR = -1 } |
Return values for the methods of the class RMLOutputParameters. More... | |
Public Attributes inherited from RMLOutputParameters | |
bool | ANewCalculationWasPerformed |
Indicates, whether a new computation was performed in the last cycle. More... | |
unsigned int | DOFWithTheGreatestExecutionTime |
Index of the degree of freedom that requires the greatest execution time to reach its desired target velocity value. More... | |
RMLDoubleVector * | ExecutionTimes |
A pointer to an RMLDoubleVector object that contains the execution times of all selected degrees of freedom in the case non-synchronized trajectories. More... | |
RMLDoubleVector * | MaxExtremaTimesVector |
A pointer to an RMLDoubleVector object that contains the times at which each degree of freedom reaches its maximum position during the execution of the calculated trajectory. More... | |
RMLDoubleVector ** | MaxPosExtremaAccelerationVectorArray |
A pointer to an array of pointers to RMLDoubleVector objects. The number of array elements equals the number of degrees of freedom, and each of these RMLDOubleVector objects consists of the same number of entries, such that it is a square matrix. A single vector contains the acceleration vector, that will be achieved when the respective degree of freedom reaches its maximum position. More... | |
RMLDoubleVector ** | MaxPosExtremaPositionVectorArray |
A pointer to an array of pointers to RMLDoubleVector objects. The number of array elements equals the number of degrees of freedom, and each of these RMLDOubleVector objects consists of the same number of entries, such that it is a square matrix. A single vector contains the position vector, that will be achieved when the respective degree of freedom reaches its maximum position. More... | |
RMLDoubleVector * | MaxPosExtremaPositionVectorOnly |
A pointer to an RMLDoubleVector object that contains the maximum positions for all degrees of freedom that occur during the execution of the calculated trajectory. More... | |
RMLDoubleVector ** | MaxPosExtremaVelocityVectorArray |
A pointer to an array of pointers to RMLDoubleVector objects. The number of array elements equals the number of degrees of freedom, and each of these RMLDOubleVector objects consists of the same number of entries, such that it is a square matrix. A single vector contains the velocity vector, that will be achieved when the respective degree of freedom reaches its maximum position. More... | |
RMLDoubleVector * | MinExtremaTimesVector |
A pointer to an RMLDoubleVector object that contains the times at which each degree of freedom reaches its minimum position during the execution of the calculated trajectory. More... | |
RMLDoubleVector ** | MinPosExtremaAccelerationVectorArray |
A pointer to an array of pointers to RMLDoubleVector objects. The number of array elements equals the number of degrees of freedom, and each of these RMLDOubleVector objects consists of the same number of entries, such that it is a square matrix. A single vector contains the position vector, that will be achieved when the respective degree of freedom reaches its minimum position. More... | |
RMLDoubleVector ** | MinPosExtremaPositionVectorArray |
A pointer to an array of pointers to RMLDoubleVector objects. The number of array elements equals the number of degrees of freedom, and each of these RMLDOubleVector objects consists of the same number of entries, such that it is a square matrix. A single vector contains the position vector, that will be achieved when the respective degree of freedom reaches its minimum position. More... | |
RMLDoubleVector * | MinPosExtremaPositionVectorOnly |
A pointer to an RMLDoubleVector object that contains the maximum positions for all degrees of freedom that occur during the execution of the calculated trajectory. More... | |
RMLDoubleVector ** | MinPosExtremaVelocityVectorArray |
A pointer to an array of pointers to RMLDoubleVector objects. The number of array elements equals the number of degrees of freedom, and each of these RMLDOubleVector objects consists of the same number of entries, such that it is a square matrix. A single vector contains the velocity vector, that will be achieved when the respective degree of freedom reaches its minimum position. More... | |
RMLDoubleVector * | NewAccelerationVector |
A pointer to the new acceleration vector . More... | |
RMLDoubleVector * | NewPositionVector |
A pointer to the new position vector . More... | |
RMLDoubleVector * | NewVelocityVector |
A pointer to the new velocity vector . More... | |
unsigned int | NumberOfDOFs |
The number of degrees of freedom . More... | |
double | SynchronizationTime |
The synchronization time in seconds. More... | |
bool | TrajectoryIsPhaseSynchronized |
Boolean flag that indicates whether the current trajectory is phase-synchronized. More... | |
Protected Member Functions inherited from RMLOutputParameters | |
void | Echo (FILE *FileHandler=stdout) const |
Prints the new state of motion of the output parameters to *FileHandler. More... | |
RMLOutputParameters (const unsigned int DegreesOfFreedom) | |
Constructor of class RMLOutputParameters. More... | |
RMLOutputParameters (const RMLOutputParameters &OP) | |
Copy constructor of class RMLPositionOutputParameters. More... | |
Class for the output parameters of the position-based On-Line Trajectory Generation algorithm.
The class RMLPositionOutputParameters is derived from the class RMLOutputParameters and constitutes a part of the interface for the position-based On-Line Trajectory Generation algorithm.
Definition at line 73 of file RMLPositionOutputParameters.h.
|
inline |
Constructor of class RMLPositionOutputParameters.
DegreesOfFreedom | Specifies the number of degrees of freedom |
Definition at line 91 of file RMLPositionOutputParameters.h.
|
inline |
Copy constructor of class RMLPositionOutputParameters.
OP | Object to be copied |
Definition at line 109 of file RMLPositionOutputParameters.h.
|
inline |
Destructor of class RMLPositionOutputParameters.
Definition at line 120 of file RMLPositionOutputParameters.h.
|
inline |
Prints the new state of motion of the output parameters to *FileHandler.
FileHandler | File handler for the output |
Definition at line 134 of file RMLPositionOutputParameters.h.