Reflexxes Motion Libraries  Manual and Documentation (Type II, Version 1.2.6)
Public Types | Public Member Functions | Public Attributes | Protected Member Functions
RMLFlags Class Reference

Data structure containing flags to parameterize the execution of the On-Line Trajectory Generation algorithm. More...

#include <RMLFlags.h>

Inheritance diagram for RMLFlags:
RMLPositionFlags RMLVelocityFlags

List of all members.

Public Types

enum  SyncBehaviorEnum { PHASE_SYNCHRONIZATION_IF_POSSIBLE = 0, ONLY_TIME_SYNCHRONIZATION = 1, ONLY_PHASE_SYNCHRONIZATION = 2, NO_SYNCHRONIZATION = 3 }
 Enumeration whose values specify the synchronization method of the On-Line Trajectory Generation algorithm. More...

Public Member Functions

 ~RMLFlags (void)
 Destructor of the class RMLFlags.
bool operator== (const RMLFlags &Flags) const
 Equal operator.
bool operator!= (const RMLFlags &Flags) const
 Unequal operator.

Public Attributes

unsigned char SynchronizationBehavior
 This value specifies the desired synchronization behavior.
bool EnableTheCalculationOfTheExtremumMotionStates
 A flag to enable or disable the calculation of the extremum states of motion of the currently calculated trajectory.

Protected Member Functions

 RMLFlags (void)
 Constructor of the class.

Detailed Description

Data structure containing flags to parameterize the execution of the On-Line Trajectory Generation algorithm.


Member Enumeration Documentation

Enumeration whose values specify the synchronization method of the On-Line Trajectory Generation algorithm.

See also:
RMLFlags::SynchronizationBehavior
Synchronization Behavior
About the Flag RMLFlags::PHASE_SYNCHRONIZATION_IF_POSSIBLE
Enumerator:
PHASE_SYNCHRONIZATION_IF_POSSIBLE 

This is the default value. If it is possible to calculate a phase-synchronized (i.e., homothetic) trajectory, the algorithm will generate it. A more detailed description of this flag can be found on the page About the Flag RMLFlags::PHASE_SYNCHRONIZATION_IF_POSSIBLE.

ONLY_TIME_SYNCHRONIZATION 

Even if it is possible to calculate a phase-synchronized trajectory, only a time-synchronized trajectory will be provided. More information can be found on page Synchronization Behavior.

ONLY_PHASE_SYNCHRONIZATION 

Only phase-synchronized trajectories are allowed. If it is not possible calculate a phase-synchronized trajectory, an error will be returned (but feasible, steady, and continuous output values will still be computed). More information can be found on page Synchronization Behavior.

NO_SYNCHRONIZATION 

No synchronization will be performed, and all selected degrees of freedom are treated independently.


Constructor & Destructor Documentation

RMLFlags::RMLFlags ( void  ) [inline, protected]

Constructor of the class.

Note:
This is only the base class for the classes

such that the constructor is declared protected.
RMLFlags::~RMLFlags ( void  ) [inline]

Destructor of the class RMLFlags.


Member Function Documentation

bool RMLFlags::operator!= ( const RMLFlags Flags) const [inline]

Unequal operator.

Returns:
false if all attributes of both objects are equal; true otherwise
bool RMLFlags::operator== ( const RMLFlags Flags) const [inline]

Equal operator.

Returns:
true if all attributes of both objects are equal; false otherwise

Member Data Documentation

A flag to enable or disable the calculation of the extremum states of motion of the currently calculated trajectory.

If this flag is set, a call of

will not only calculate the desired trajectory, but also the motion states at the extremum positions. These values will be accessible through the methods of the classes

Remarks:
In average, the calculation of the extremum states of motion takes about five percent the overall computational effort of the OTG algorithm, such that the maximum execution time of the algorithm will be decreased by disabling this flag.
Note:
The default value for this flag is true.
See also:
Description of Output Values
Behavior after the Final State of Motion is Reached
About the Flag RMLFlags::PHASE_SYNCHRONIZATION_IF_POSSIBLE


The documentation for this class was generated from the following file:
User documentation of the Reflexxes Motion Libraries by Reflexxes GmbH (Company Information, Impressum). This document was generated with Doxygen on Mon Jul 7 2014 13:21:09. Copyright 2010–2014.