Reflexxes Motion Libraries
Manual and Documentation (Type II, Version 1.2.6)
|
Class for the input parameters of the On-Line Trajectory Generation algorithm. More...
#include <RMLInputParameters.h>
Public Member Functions | |
RMLInputParameters (const RMLInputParameters &IP) | |
Copy constructor of class RMLInputParameters. | |
~RMLInputParameters (void) | |
Destructor of class RMLInputParameters. | |
RMLInputParameters & | operator= (const RMLInputParameters &IP) |
Copy operator. | |
void | SetSelectionVector (const RMLBoolVector &InputVector) |
Sets the current selection vector by using the an RMLBoolVector object. | |
void | SetSelectionVector (const bool *InputVector) |
Sets the current selection vector by using a native C++ bool array. | |
void | SetSelectionVectorElement (const bool &InputValue, const unsigned int &Index) |
Sets one element of the current selection vector . | |
void | GetSelectionVector (RMLBoolVector *InputVector) const |
Copies the contents of the RMLBoolVector object containing the current position vector to the RMLBoolVector object referred to by InputVector . | |
void | GetSelectionVector (bool *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of bool values representing the current position vector to the memory pointed to by InputVector . | |
void | GetSelectionVectorElement (bool *InputValue, const unsigned int &Index) const |
Copies one element of the current selection vector to the memory pointed to by InputValue . | |
bool | GetSelectionVectorElement (const unsigned int &Index) const |
Returns one single element of the current selection vector . | |
void | SetCurrentPositionVector (const RMLDoubleVector &InputVector) |
Sets the current selection vector by using the an RMLDoubleVector object. | |
void | SetCurrentPositionVector (const double *InputVector) |
Sets the current selection vector by using a native C double array. | |
void | SetCurrentPositionVectorElement (const double &InputValue, const unsigned int &Index) |
Sets one element of the current selection vector . | |
void | GetCurrentPositionVector (RMLDoubleVector *InputVector) const |
Copies the contents of the RMLDoubleVector object containing the current position vector to the RMLDoubleVector object referred to by InputVector . | |
void | GetCurrentPositionVector (double *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the current position vector to the memory pointed to by InputVector . | |
void | GetCurrentPositionVectorElement (double *InputValue, const unsigned int &Index) const |
Copies one element of the current selection vector to the memory pointed to by InputValue . | |
double | GetCurrentPositionVectorElement (const unsigned int &Index) const |
Returns one single element of the current selection vector . | |
void | SetCurrentVelocityVector (const RMLDoubleVector &InputVector) |
Sets the current velocity vector by using the an RMLDoubleVector object. | |
void | SetCurrentVelocityVector (const double *InputVector) |
Sets the current velocity vector by using a native C double array. | |
void | SetCurrentVelocityVectorElement (const double &InputValue, const unsigned int &Index) |
Sets one element of the current velocity vector . | |
void | GetCurrentVelocityVector (RMLDoubleVector *InputVector) const |
Copies the contents of the RMLDoubleVector object containing the current velocity vector to the RMLDoubleVector object referred to by InputVector . | |
void | GetCurrentVelocityVector (double *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the current velocity vector to the memory pointed to by InputVector . | |
void | GetCurrentVelocityVectorElement (double *InputValue, const unsigned int &Index) const |
Copies one element of the current velocity vector to the memory pointed to by InputValue . | |
double | GetCurrentVelocityVectorElement (const unsigned int &Index) const |
Returns one single element of the current velocity vector . | |
void | SetCurrentAccelerationVector (const RMLDoubleVector &InputVector) |
Sets the current acceleration vector by using the an RMLDoubleVector object. | |
void | SetCurrentAccelerationVector (const double *InputVector) |
Sets the current acceleration vector by using a native C double array. | |
void | SetCurrentAccelerationVectorElement (const double &InputValue, const unsigned int &Index) |
Sets one element of the current acceleration vector . | |
void | GetCurrentAccelerationVector (RMLDoubleVector *InputVector) const |
Copies the contents of the RMLDoubleVector object containing the current acceleration vector to the RMLDoubleVector object referred to by InputVector . | |
void | GetCurrentAccelerationVector (double *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the current acceleration vector to the memory pointed to by InputVector . | |
void | GetCurrentAccelerationVectorElement (double *InputValue, const unsigned int &Index) const |
Copies one element of the current acceleration vector to the memory pointed to by InputValue . | |
double | GetCurrentAccelerationVectorElement (const unsigned int &Index) const |
Returns one single element of the current acceleration vector . | |
void | SetMaxAccelerationVector (const RMLDoubleVector &InputVector) |
Sets the maximum acceleration vector by using the an RMLDoubleVector object. | |
void | SetMaxAccelerationVector (const double *InputVector) |
Sets the maximum acceleration vector by using a native C double array. | |
void | SetMaxAccelerationVectorElement (const double &InputValue, const unsigned int &Index) |
Sets one element of the maximum acceleration vector . | |
void | GetMaxAccelerationVector (RMLDoubleVector *InputVector) const |
Copies the contents of the RMLDoubleVector object containing the maximum acceleration vector to the RMLDoubleVector object referred to by InputVector . | |
void | GetMaxAccelerationVector (double *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the maximum acceleration vector to the memory pointed to by InputVector . | |
void | GetMaxAccelerationVectorElement (double *InputValue, const unsigned int &Index) const |
Copies one element of the maximum acceleration vector to the memory pointed to by InputValue . | |
double | GetMaxAccelerationVectorElement (const unsigned int &Index) const |
Returns one single element of the maximum acceleration vector . | |
void | SetMaxJerkVector (const RMLDoubleVector &InputVector) |
Sets the maximum jerk vector by using the an RMLDoubleVector object. | |
void | SetMaxJerkVector (const double *InputVector) |
Sets the maximum jerk vector by using a native C double array. | |
void | SetMaxJerkVectorElement (const double &InputValue, const unsigned int &Index) |
Sets one element of the maximum jerk vector . | |
void | GetMaxJerkVector (RMLDoubleVector *InputVector) const |
Copies the contents of the RMLDoubleVector object containing the maximum jerk vector to the RMLDoubleVector object referred to by InputVector . | |
void | GetMaxJerkVector (double *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the maximum jerk vector to the memory pointed to by InputVector . | |
void | GetMaxJerkVectorElement (double *InputValue, const unsigned int &Index) const |
Copies one element of the maximum jerk vector to the memory pointed to by InputValue . | |
double | GetMaxJerkVectorElement (const unsigned int &Index) const |
Returns one single element of the maximum jerk vector . | |
void | SetTargetVelocityVector (const RMLDoubleVector &InputVector) |
Sets the target velocity vector by using the an RMLDoubleVector object. | |
void | SetTargetVelocityVector (const double *InputVector) |
Sets the target velocity vector by using a native C double array. | |
void | SetTargetVelocityVectorElement (const double &InputValue, const unsigned int &Index) |
Sets one element of the target velocity vector . | |
void | GetTargetVelocityVector (RMLDoubleVector *InputVector) const |
Copies the contents of the RMLDoubleVector object containing the target velocity vector to the RMLDoubleVector object referred to by InputVector . | |
void | GetTargetVelocityVector (double *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the target velocity vector to the memory pointed to by InputVector . | |
void | GetTargetVelocityVectorElement (double *InputValue, const unsigned int &Index) const |
Copies one element of the target velocity vector to the memory pointed to by InputValue . | |
double | GetTargetVelocityVectorElement (const unsigned int &Index) const |
Returns one single element of the target velocity vector . | |
unsigned int | GetNumberOfDOFs (void) const |
Returns the number of degrees of freedom. | |
double | GetMinimumSynchronizationTime (void) const |
Returns the optional parameter for the desired execution time. | |
void | SetMinimumSynchronizationTime (double Time) |
Sets the optional parameter for the desired execution time. | |
Public Attributes | |
unsigned int | NumberOfDOFs |
The number of degrees of freedom . | |
double | MinimumSynchronizationTime |
Minimum trajectory execution time in seconds specified by the user (optional input parameter) | |
RMLBoolVector * | SelectionVector |
A pointer to the selection vector . | |
RMLDoubleVector * | CurrentPositionVector |
A pointer to the current position vector . | |
RMLDoubleVector * | CurrentVelocityVector |
A pointer to the current velocity vector . | |
RMLDoubleVector * | CurrentAccelerationVector |
A pointer to the current acceleration vector . | |
RMLDoubleVector * | MaxAccelerationVector |
A pointer to the maximum acceleration vector . | |
RMLDoubleVector * | MaxJerkVector |
A pointer to the maximum jerk vector . | |
RMLDoubleVector * | TargetVelocityVector |
A pointer to the target velocity vector . | |
Protected Member Functions | |
RMLInputParameters (const unsigned int DegreesOfFreedom) | |
Constructor of class RMLInputParameters. | |
void | Echo (FILE *FileHandler=stdout) const |
Prints the complete set of input parameters to *FileHandler. |
Class for the input parameters of the On-Line Trajectory Generation algorithm.
The class RMLInputParameters constitutes the basis class for the actual interface classes RMLPositionInputParameters and RMLVelocityInputParameters, which are both derived from this one. For detailed descrpition of the input parameters, please refer to Description of Input Values.
RMLInputParameters::RMLInputParameters | ( | const unsigned int | DegreesOfFreedom | ) | [inline, protected] |
Constructor of class RMLInputParameters.
DegreesOfFreedom | Specifies the number of degrees of freedom |
protected
. RMLInputParameters::RMLInputParameters | ( | const RMLInputParameters & | IP | ) | [inline] |
Copy constructor of class RMLInputParameters.
IP | Object to be copied |
RMLInputParameters::~RMLInputParameters | ( | void | ) | [inline] |
Destructor of class RMLInputParameters.
void RMLInputParameters::Echo | ( | FILE * | FileHandler = stdout | ) | const [inline, protected] |
Prints the complete set of input parameters to *FileHandler.
FileHandler | File handler for the output |
Reimplemented in RMLPositionInputParameters, and RMLVelocityInputParameters.
void RMLInputParameters::GetCurrentAccelerationVector | ( | RMLDoubleVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLDoubleVector
object containing the current acceleration vector to the RMLDoubleVector
object referred to by InputVector
.
InputVector | A pointer to an RMLDoubleVector object, to which the data will be copied |
void RMLInputParameters::GetCurrentAccelerationVector | ( | double * | InputVector, |
const unsigned int & | SizeInBytes | ||
) | const [inline] |
Copies the array of double
values representing the current acceleration vector to the memory pointed to by InputVector
.
InputVector | A pointer to an array of double values, to which the data will be copied |
SizeInBytes | The size of available memory at the location pointed to by InputVector . To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a double value. |
void RMLInputParameters::GetCurrentAccelerationVectorElement | ( | double * | InputValue, |
const unsigned int & | Index | ||
) | const [inline] |
Copies one element of the current acceleration vector to the memory pointed to by InputValue
.
InputValue | A pointer to one double value, to which the desired vector element will be copied |
Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
double RMLInputParameters::GetCurrentAccelerationVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the current acceleration vector .
Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
void RMLInputParameters::GetCurrentPositionVector | ( | RMLDoubleVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLDoubleVector
object containing the current position vector to the RMLDoubleVector
object referred to by InputVector
.
InputVector | A pointer to an RMLDoubleVector object, to which the data will be copied |
void RMLInputParameters::GetCurrentPositionVector | ( | double * | InputVector, |
const unsigned int & | SizeInBytes | ||
) | const [inline] |
Copies the array of double
values representing the current position vector to the memory pointed to by InputVector
.
InputVector | A pointer to an array of double values, to which the data will be copied |
SizeInBytes | The size of available memory at the location pointed to by InputVector . To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a double value. |
void RMLInputParameters::GetCurrentPositionVectorElement | ( | double * | InputValue, |
const unsigned int & | Index | ||
) | const [inline] |
Copies one element of the current selection vector to the memory pointed to by InputValue
.
InputValue | A pointer to one double value, to which the desired vector element will be copied |
Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
double RMLInputParameters::GetCurrentPositionVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the current selection vector .
Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
void RMLInputParameters::GetCurrentVelocityVector | ( | RMLDoubleVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLDoubleVector
object containing the current velocity vector to the RMLDoubleVector
object referred to by InputVector
.
InputVector | A pointer to an RMLDoubleVector object, to which the data will be copied |
void RMLInputParameters::GetCurrentVelocityVector | ( | double * | InputVector, |
const unsigned int & | SizeInBytes | ||
) | const [inline] |
Copies the array of double
values representing the current velocity vector to the memory pointed to by InputVector
.
InputVector | A pointer to an array of double values, to which the data will be copied |
SizeInBytes | The size of available memory at the location pointed to by InputVector . To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a double value. |
void RMLInputParameters::GetCurrentVelocityVectorElement | ( | double * | InputValue, |
const unsigned int & | Index | ||
) | const [inline] |
Copies one element of the current velocity vector to the memory pointed to by InputValue
.
InputValue | A pointer to one double value, to which the desired vector element will be copied |
Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
double RMLInputParameters::GetCurrentVelocityVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the current velocity vector .
Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
void RMLInputParameters::GetMaxAccelerationVector | ( | RMLDoubleVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLDoubleVector
object containing the maximum acceleration vector to the RMLDoubleVector
object referred to by InputVector
.
InputVector | A pointer to an RMLDoubleVector object, to which the data will be copied |
void RMLInputParameters::GetMaxAccelerationVector | ( | double * | InputVector, |
const unsigned int & | SizeInBytes | ||
) | const [inline] |
Copies the array of double
values representing the maximum acceleration vector to the memory pointed to by InputVector
.
InputVector | A pointer to an array of double values, to which the data will be copied |
SizeInBytes | The size of available memory at the location pointed to by InputVector . To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a double value. |
void RMLInputParameters::GetMaxAccelerationVectorElement | ( | double * | InputValue, |
const unsigned int & | Index | ||
) | const [inline] |
Copies one element of the maximum acceleration vector to the memory pointed to by InputValue
.
InputValue | A pointer to one double value, to which the desired vector element will be copied |
Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
double RMLInputParameters::GetMaxAccelerationVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the maximum acceleration vector .
Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
void RMLInputParameters::GetMaxJerkVector | ( | RMLDoubleVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLDoubleVector
object containing the maximum jerk vector to the RMLDoubleVector
object referred to by InputVector
.
InputVector | A pointer to an RMLDoubleVector object, to which the data will be copied |
void RMLInputParameters::GetMaxJerkVector | ( | double * | InputVector, |
const unsigned int & | SizeInBytes | ||
) | const [inline] |
Copies the array of double
values representing the maximum jerk vector to the memory pointed to by InputVector
.
InputVector | A pointer to an array of double values, to which the data will be copied |
SizeInBytes | The size of available memory at the location pointed to by InputVector . To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a double value. |
void RMLInputParameters::GetMaxJerkVectorElement | ( | double * | InputValue, |
const unsigned int & | Index | ||
) | const [inline] |
Copies one element of the maximum jerk vector to the memory pointed to by InputValue
.
InputValue | A pointer to one double value, to which the desired vector element will be copied |
Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
double RMLInputParameters::GetMaxJerkVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the maximum jerk vector .
Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
double RMLInputParameters::GetMinimumSynchronizationTime | ( | void | ) | const [inline] |
Returns the optional parameter for the desired execution time.
unsigned int RMLInputParameters::GetNumberOfDOFs | ( | void | ) | const [inline] |
Returns the number of degrees of freedom.
void RMLInputParameters::GetSelectionVector | ( | RMLBoolVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLBoolVector
object containing the current position vector to the RMLBoolVector
object referred to by InputVector
.
InputVector | A pointer to an RMLBoolVector object, to which the data will be copied |
void RMLInputParameters::GetSelectionVector | ( | bool * | InputVector, |
const unsigned int & | SizeInBytes | ||
) | const [inline] |
Copies the array of bool
values representing the current position vector to the memory pointed to by InputVector
.
InputVector | A pointer to an array of bool values, to which the data will be copied |
SizeInBytes | The size of available memory at the location pointed to by InputVector . To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a bool value. |
void RMLInputParameters::GetSelectionVectorElement | ( | bool * | InputValue, |
const unsigned int & | Index | ||
) | const [inline] |
Copies one element of the current selection vector to the memory pointed to by InputValue
.
InputValue | A pointer to one bool value, to which the desired vector element will be copied |
Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
bool RMLInputParameters::GetSelectionVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the current selection vector .
Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
void RMLInputParameters::GetTargetVelocityVector | ( | RMLDoubleVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLDoubleVector
object containing the target velocity vector to the RMLDoubleVector
object referred to by InputVector
.
InputVector | A pointer to an RMLDoubleVector object, to which the data will be copied |
void RMLInputParameters::GetTargetVelocityVector | ( | double * | InputVector, |
const unsigned int & | SizeInBytes | ||
) | const [inline] |
Copies the array of double
values representing the target velocity vector to the memory pointed to by InputVector
.
InputVector | A pointer to an array of double values, to which the data will be copied |
SizeInBytes | The size of available memory at the location pointed to by InputVector . To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a double value. |
void RMLInputParameters::GetTargetVelocityVectorElement | ( | double * | InputValue, |
const unsigned int & | Index | ||
) | const [inline] |
Copies one element of the target velocity vector to the memory pointed to by InputValue
.
InputValue | A pointer to one double value, to which the desired vector element will be copied |
Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
double RMLInputParameters::GetTargetVelocityVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the target velocity vector .
Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue . |
RMLInputParameters & RMLInputParameters::operator= | ( | const RMLInputParameters & | IP | ) | [inline] |
Copy operator.
IP | RMLInputParameters object to be copied |
void RMLInputParameters::SetCurrentAccelerationVector | ( | const RMLDoubleVector & | InputVector | ) | [inline] |
Sets the current acceleration vector by using the an RMLDoubleVector
object.
InputVector | The input vector, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetCurrentAccelerationVector | ( | const double * | InputVector | ) | [inline] |
Sets the current acceleration vector by using a native C double
array.
InputVector | The input vector to an array of double values, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetCurrentAccelerationVectorElement | ( | const double & | InputValue, |
const unsigned int & | Index | ||
) | [inline] |
Sets one element of the current acceleration vector .
InputValue | The input value that is copied to the element Index of the current acceleration input vector attribute of this class. |
Index | The index of the element to be copied |
void RMLInputParameters::SetCurrentPositionVector | ( | const RMLDoubleVector & | InputVector | ) | [inline] |
Sets the current selection vector by using the an RMLDoubleVector
object.
InputVector | The input vector, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetCurrentPositionVector | ( | const double * | InputVector | ) | [inline] |
Sets the current selection vector by using a native C double
array.
InputVector | The input vector to an array of double values, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetCurrentPositionVectorElement | ( | const double & | InputValue, |
const unsigned int & | Index | ||
) | [inline] |
Sets one element of the current selection vector .
InputValue | The input value that is copied to the element Index of the current position input vector attribute of this class. |
Index | The index of the element to be copied |
void RMLInputParameters::SetCurrentVelocityVector | ( | const RMLDoubleVector & | InputVector | ) | [inline] |
Sets the current velocity vector by using the an RMLDoubleVector
object.
InputVector | The input vector, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetCurrentVelocityVector | ( | const double * | InputVector | ) | [inline] |
Sets the current velocity vector by using a native C double
array.
InputVector | The input vector to an array of double values, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetCurrentVelocityVectorElement | ( | const double & | InputValue, |
const unsigned int & | Index | ||
) | [inline] |
Sets one element of the current velocity vector .
InputValue | The input value that is copied to the element Index of the current velocity input vector attribute of this class. |
Index | The index of the element to be copied |
void RMLInputParameters::SetMaxAccelerationVector | ( | const RMLDoubleVector & | InputVector | ) | [inline] |
Sets the maximum acceleration vector by using the an RMLDoubleVector
object.
InputVector | The input vector, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetMaxAccelerationVector | ( | const double * | InputVector | ) | [inline] |
Sets the maximum acceleration vector by using a native C double
array.
InputVector | The input vector to an array of double values, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetMaxAccelerationVectorElement | ( | const double & | InputValue, |
const unsigned int & | Index | ||
) | [inline] |
Sets one element of the maximum acceleration vector .
InputValue | The input value that is copied to the element Index of the maximum acceleration input vector attribute of this class. |
Index | The index of the element to be copied |
void RMLInputParameters::SetMaxJerkVector | ( | const RMLDoubleVector & | InputVector | ) | [inline] |
Sets the maximum jerk vector by using the an RMLDoubleVector
object.
InputVector | The input vector, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetMaxJerkVector | ( | const double * | InputVector | ) | [inline] |
Sets the maximum jerk vector by using a native C double
array.
InputVector | The input vector to an array of double values, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetMaxJerkVectorElement | ( | const double & | InputValue, |
const unsigned int & | Index | ||
) | [inline] |
Sets one element of the maximum jerk vector .
InputValue | The input value that is copied to the element Index of the maximum jerk input vector attribute of this class. |
Index | The index of the element to be copied |
void RMLInputParameters::SetMinimumSynchronizationTime | ( | double | Time | ) | [inline] |
Sets the optional parameter for the desired execution time.
void RMLInputParameters::SetSelectionVector | ( | const RMLBoolVector & | InputVector | ) | [inline] |
Sets the current selection vector by using the an RMLBoolVector object.
InputVector | The input vector, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetSelectionVector | ( | const bool * | InputVector | ) | [inline] |
Sets the current selection vector by using a native C++ bool
array.
InputVector | The input vector to an array of bool values, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetSelectionVectorElement | ( | const bool & | InputValue, |
const unsigned int & | Index | ||
) | [inline] |
Sets one element of the current selection vector .
InputValue | The input value that is copied to the element Index of the current position input vector attribute of this class. |
Index | The index of the element to be copied |
void RMLInputParameters::SetTargetVelocityVector | ( | const RMLDoubleVector & | InputVector | ) | [inline] |
Sets the target velocity vector by using the an RMLDoubleVector
object.
InputVector | The input vector, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetTargetVelocityVector | ( | const double * | InputVector | ) | [inline] |
Sets the target velocity vector by using a native C double
array.
InputVector | The input vector to an array of double values, whose elements are copied to the attributes of this class. |
void RMLInputParameters::SetTargetVelocityVectorElement | ( | const double & | InputValue, |
const unsigned int & | Index | ||
) | [inline] |
Sets one element of the target velocity vector .
InputValue | The input value that is copied to the element Index of the target velocity input vector attribute of this class. |
Index | The index of the element to be copied |
A pointer to the current acceleration vector .
This attribute can be accessed directly or by using one of the following methods:
A pointer to the current position vector .
This attribute can be accessed directly or by using one of the following methods:
A pointer to the current velocity vector .
This attribute can be accessed directly or by using one of the following methods:
A pointer to the maximum acceleration vector .
This attribute can be accessed directly or by using one of the following methods:
A pointer to the maximum jerk vector .
This attribute can be accessed directly or by using one of the following methods:
Minimum trajectory execution time in seconds specified by the user (optional input parameter)
This input parameter is optional and allows users to specify a desired minimum execution time for time- and phase-synchronized trajectories that will be computed by calling ReflexxesAPI::RMLPosition() or ReflexxesAPI::RMLVelocity().
The following four cases may happen if this input parameter is used for the position-based algorithm (TypeIIRMLPosition):
MinimumSynchronizationTime
will be ignored.DesiredExecutionTime
is less then the minimum possible synchronization time, it will be ignored and the minimum possible synchronization time will be used.DesiredExecutionTime
is inside of an inoperative time interval of one or more degrees of freedom, the end of the time interval that will provide the time closest to the desired execution time will be used. This time is greater than the value of MinimumSynchronizationTime
.MinimumSynchronizationTime
.The following three cases may happen if this input parameter is used for the velocity-based algorithm (TypeIIRMLVelocity):
MinimumSynchronizationTime
will be ignored.DesiredExecutionTime
is less then the minimum possible synchronization time, it will be ignored and the minimum possible synchronization time will be used.MinimumSynchronizationTime
.unsigned int RMLInputParameters::NumberOfDOFs |
The number of degrees of freedom .
A pointer to the selection vector .
This attribute can be accessed directly or by using one of the following methods:
A pointer to the target velocity vector .
This attribute can be accessed directly or by using one of the following methods: