ReflexxesAPI.h
Go to the documentation of this file.
1 // ---------------------- Doxygen info ----------------------
36 // ----------------------------------------------------------
37 // For a convenient reading of this file's source code,
38 // please use a tab width of four characters.
39 // ----------------------------------------------------------
40 
41 
42 #ifndef __ReflexxesAPI__
43 #define __ReflexxesAPI__
44 
45 
48 #include "RMLPositionFlags.h"
51 #include "RMLVelocityFlags.h"
52 #include "RMLVector.h"
53 
54 
55 // ---------------------- Doxygen info ----------------------
122 // ----------------------------------------------------------
124 {
125 public:
126 
127 // ---------------------- Doxygen info ----------------------
189 // ----------------------------------------------------------
190  ReflexxesAPI( const unsigned int &DegreesOfFreedom
191  , const double &CycleTimeInSeconds
192  , const unsigned int &NumberOfAdditionalThreads = 0);
193 
194 
195 // ---------------------- Doxygen info ----------------------
211 // ----------------------------------------------------------
212  ~ReflexxesAPI(void);
213 
214 
215 // ---------------------- Doxygen info ----------------------
261 // ----------------------------------------------------------
263  {
275  RML_ERROR = -1,
325  };
326 
327 
328 // ---------------------- Doxygen info ----------------------
403 // ----------------------------------------------------------
404  int RMLPosition( const RMLPositionInputParameters &InputValues
405  , RMLPositionOutputParameters *OutputValues
406  , const RMLPositionFlags &Flags);
407 
408 
409 // ---------------------- Doxygen info ----------------------
461 // ----------------------------------------------------------
462  int RMLPositionAtAGivenSampleTime( const double &TimeValueInSeconds
463  , RMLPositionOutputParameters *OutputValues);
464 
465 
466 // ---------------------- Doxygen info ----------------------
545 // ----------------------------------------------------------
546  int RMLVelocity( const RMLVelocityInputParameters &InputValues
547  , RMLVelocityOutputParameters *OutputValues
548  , const RMLVelocityFlags &Flags);
549 
550 
551 
552 // ---------------------- Doxygen info ----------------------
601 // ----------------------------------------------------------
602  int RMLVelocityAtAGivenSampleTime( const double &TimeValueInSeconds
603  , RMLVelocityOutputParameters *OutputValues);
604 
605 protected:
606 
607 // ---------------------- Doxygen info ----------------------
618 // ----------------------------------------------------------
619  unsigned int NumberOfDOFs;
620 
621 
622 // ---------------------- Doxygen info ----------------------
643 // ----------------------------------------------------------
644  unsigned int NumberOfOwnThreads;
645 
646 
647 // ---------------------- Doxygen info ----------------------
658 // ----------------------------------------------------------
659  double CycleTime;
660 
661 
662 // ---------------------- Doxygen info ----------------------
679 // ----------------------------------------------------------
681 
682 
683 // ---------------------- Doxygen info ----------------------
700 // ----------------------------------------------------------
702 
703 }; // class ReflexxesAPI
704 
705 
706 #endif
Header file for the class RMLPositionOutputParameters.
Header file for the dynamic vector class used for the Reflexxes Motion Libraries. ...
Header file for the class RMLPositionFlags.
Data structure containing flags to parameterize the execution of the position-based On-Line Trajector...
Data structure containing flags to parameterize the execution of the velocity-based On-Line Trajector...
unsigned int NumberOfOwnThreads
Positive integer number of additional threads as specified by the constructor ReflexxesAPI() ...
Definition: ReflexxesAPI.h:644
int RMLVelocityAtAGivenSampleTime(const double &TimeValueInSeconds, RMLVelocityOutputParameters *OutputValues)
After calling ReflexxesAPI::RMLVelocity(), this methods returns the state of motion of the computed t...
~ReflexxesAPI(void)
Destructor of the class ReflexxesAPI.
RMLResultValue
Result values of the On-Line Trajectory Generation algorithm.
Definition: ReflexxesAPI.h:262
Header file for the class RMLPositionInputParameters.
Header file for the class RMLVelocityInputParameters.
Header file for the class RMLVelocityFlags.
int RMLPosition(const RMLPositionInputParameters &InputValues, RMLPositionOutputParameters *OutputValues, const RMLPositionFlags &Flags)
This is the central method of each Reflexxes Type Motion Library.
Header file for the class RMLVelocityOutputParameters.
Class for the output parameters of the velocity-based On-Line Trajectory Generation algorithm...
int RMLVelocity(const RMLVelocityInputParameters &InputValues, RMLVelocityOutputParameters *OutputValues, const RMLVelocityFlags &Flags)
This is the method for velocity-based On-Line Trajectory Generation.
double CycleTime
Cycle time in seconds as specified by the constructor ReflexxesAPI()
Definition: ReflexxesAPI.h:659
void * RMLVelocityObject
A pointer to an object for velocity-based On-Line Trajectory Generation.
Definition: ReflexxesAPI.h:701
ReflexxesAPI(const unsigned int &DegreesOfFreedom, const double &CycleTimeInSeconds, const unsigned int &NumberOfAdditionalThreads=0)
Constructor of the API class ReflexxesAPI (API of the Reflexxes Motion Library)
void * RMLPositionObject
A pointer to an object for position-based On-Line Trajectory Generation.
Definition: ReflexxesAPI.h:680
unsigned int NumberOfDOFs
Positive integer number of degrees of freedom as specified by the constructor ReflexxesAPI() ...
Definition: ReflexxesAPI.h:619
This class constitutes the API of the Reflexxes Motion Libraries
Definition: ReflexxesAPI.h:123
Class for the output parameters of the position-based On-Line Trajectory Generation algorithm...
Class for the input parameters of the position-based On-Line Trajectory Generation algorithm...
Class for the input parameters of the velocity-based On-Line Trajectory Generation algorithm...
int RMLPositionAtAGivenSampleTime(const double &TimeValueInSeconds, RMLPositionOutputParameters *OutputValues)
After calling ReflexxesAPI::RMLPosition(), this methods returns the state of motion of the computed t...


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