Reflexxes Motion Libraries
Manual and Documentation (Type II, Version 1.2.6)
|
Class for the input parameters of the velocity-based On-Line Trajectory Generation algorithm. More...
#include <RMLVelocityInputParameters.h>
Public Member Functions | |
RMLVelocityInputParameters (const unsigned int DegreesOfFreedom) | |
Constructor of class RMLVelocityInputParameters. | |
RMLVelocityInputParameters (const RMLVelocityInputParameters &IP) | |
Copy constructor of class RMLVelocityInputParameters. | |
~RMLVelocityInputParameters (void) | |
Destructor of class RMLVelocityInputParameters. | |
RMLVelocityInputParameters & | operator= (const RMLVelocityInputParameters &IP) |
Copy operator. | |
bool | CheckForValidity (void) const |
Checks the input parameters for validity. | |
void | Echo (FILE *FileHandler=stdout) const |
Prints the complete set of input parameters to *FileHandler. | |
Protected Types | |
enum | { MAXIMUM_MAGNITUDE_RANGE = 10 } |
Class for the input parameters of the velocity-based On-Line Trajectory Generation algorithm.
The class RMLVelocityInputParameters is derived from the class RMLInputParameters and constitutes a part of the interface for the velocity-based On-Line Trajectory Generation algorithm.
A detailed description can be found at Description of Input Values.
anonymous enum [protected] |
RMLVelocityInputParameters::RMLVelocityInputParameters | ( | const unsigned int | DegreesOfFreedom | ) | [inline] |
Constructor of class RMLVelocityInputParameters.
DegreesOfFreedom | Specifies the number of degrees of freedom |
RMLVelocityInputParameters::RMLVelocityInputParameters | ( | const RMLVelocityInputParameters & | IP | ) | [inline] |
Copy constructor of class RMLVelocityInputParameters.
IP | Object to be copied |
RMLVelocityInputParameters::~RMLVelocityInputParameters | ( | void | ) | [inline] |
Destructor of class RMLVelocityInputParameters.
bool RMLVelocityInputParameters::CheckForValidity | ( | void | ) | const [inline] |
Checks the input parameters for validity.
This is an important method to ensure numerical robustness of the On-Line Trajectory Generation algorithm. Only if the result of this method is true
, a correct computation of output values can be obtained. If the result is false, the On-Line Trajectory Generation Algorithm will try compute correct output values, and in many cases, this is possible, but it is not guaranteed. All input values have to be within a proper order of magnitude (cf. RMLPositionInputParameters::MAXIMUM_MAGNITUDE_RANGE), the kinematic motion constraints, that is, the maximum values for velocity, and acceleration, have to be positive, and the target velocity must not be greater than the maximum velocity.
true
, if all requirements for input parameters are metfalse
, otherwisevoid RMLVelocityInputParameters::Echo | ( | FILE * | FileHandler = stdout | ) | const [inline] |
Prints the complete set of input parameters to *FileHandler.
FileHandler | File handler for the output |
Reimplemented from RMLInputParameters.
RMLVelocityInputParameters & RMLVelocityInputParameters::operator= | ( | const RMLVelocityInputParameters & | IP | ) | [inline] |
Copy operator.
IP | RMLVelocityInputParameters object to be copied |