Public Member Functions | List of all members
RMLPositionOutputParameters Class Reference

Class for the output parameters of the position-based On-Line Trajectory Generation algorithm. More...

#include <RMLPositionOutputParameters.h>

Inheritance diagram for RMLPositionOutputParameters:
Inheritance graph
[legend]

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 $\ _{k}V_{i}^{\,trgt} $ 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 $\ _{k}V_{i}^{\,trgt} $ 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 $\ _{k}V_{i}^{\,trgt} $ 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 $\ _{k}V_{i}^{\,trgt} $ 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 $ \vec{A}_{i+1} $ 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 $ \vec{A}_{i+1} $ 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 $ \vec{A}_{i+1} $ to the memory pointed to by OutputValue. More...
 
double GetNewAccelerationVectorElement (const unsigned int &Index) const
 Returns one single element of the new selection vector $ \vec{A}_{i+1} $. More...
 
void GetNewPositionVector (RMLDoubleVector *OutputVector) const
 Copies the contents of the RMLDoubleVector object containing the new position vector $ \vec{P}_{i+1} $ 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 $ \vec{P}_{i+1} $ 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 $ \vec{P}_{i+1} $ to the memory pointed to by OutputValue. More...
 
double GetNewPositionVectorElement (const unsigned int &Index) const
 Returns one single element of the new selection vector $ \vec{P}_{i+1} $. More...
 
void GetNewVelocityVector (RMLDoubleVector *OutputVector) const
 Copies the contents of the RMLDoubleVector object containing the new velocity vector $ \vec{V}_{i+1} $ 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 $ \vec{V}_{i+1} $ 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 $ \vec{V}_{i+1} $ to the memory pointed to by OutputValue. More...
 
double GetNewVelocityVectorElement (const unsigned int &Index) const
 Returns one single element of the new selection vector $ \vec{V}_{i+1} $. 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...
 
RMLOutputParametersoperator= (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...
 
RMLDoubleVectorExecutionTimes
 A pointer to an RMLDoubleVector object that contains the execution times of all selected degrees of freedom in the case non-synchronized trajectories. More...
 
RMLDoubleVectorMaxExtremaTimesVector
 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...
 
RMLDoubleVectorMaxPosExtremaPositionVectorOnly
 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...
 
RMLDoubleVectorMinExtremaTimesVector
 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...
 
RMLDoubleVectorMinPosExtremaPositionVectorOnly
 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...
 
RMLDoubleVectorNewAccelerationVector
 A pointer to the new acceleration vector $ \vec{A}_{i+1} $. More...
 
RMLDoubleVectorNewPositionVector
 A pointer to the new position vector $ \vec{P}_{i+1} $. More...
 
RMLDoubleVectorNewVelocityVector
 A pointer to the new velocity vector $ \vec{V}_{i+1} $. More...
 
unsigned int NumberOfDOFs
 The number of degrees of freedom $ K $. More...
 
double SynchronizationTime
 The synchronization time $ t_{i}^{\,sync} $ 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...
 

Detailed Description

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.

See also
ReflexxesAPI
RMLOutputParameters
RMLVelocityOutputParameters
RMLPositionInputParameters

Definition at line 73 of file RMLPositionOutputParameters.h.

Constructor & Destructor Documentation

RMLPositionOutputParameters::RMLPositionOutputParameters ( const unsigned int  DegreesOfFreedom)
inline

Constructor of class RMLPositionOutputParameters.

Warning
The constructor is not real-time capable as heap memory has to be allocated.
Parameters
DegreesOfFreedomSpecifies the number of degrees of freedom

Definition at line 91 of file RMLPositionOutputParameters.h.

RMLPositionOutputParameters::RMLPositionOutputParameters ( const RMLPositionOutputParameters OP)
inline

Copy constructor of class RMLPositionOutputParameters.

Warning
The constructor is not real-time capable as heap memory has to be allocated.
Parameters
OPObject to be copied

Definition at line 109 of file RMLPositionOutputParameters.h.

RMLPositionOutputParameters::~RMLPositionOutputParameters ( void  )
inline

Destructor of class RMLPositionOutputParameters.

Definition at line 120 of file RMLPositionOutputParameters.h.

Member Function Documentation

void RMLPositionOutputParameters::Echo ( FILE *  FileHandler = stdout) const
inline

Prints the new state of motion of the output parameters to *FileHandler.

Parameters
FileHandlerFile handler for the output
Warning
The usage of this method is not real-time capable.

Definition at line 134 of file RMLPositionOutputParameters.h.


The documentation for this class was generated from the following file:


libreflexxestype2
Author(s):
autogenerated on Sat Nov 21 2020 03:17:35