Reflexxes Motion Libraries
Manual and Documentation (Type II, Version 1.2.6)
|
Data structure containing flags to parameterize the execution of the position-based On-Line Trajectory Generation algorithm. More...
#include <RMLPositionFlags.h>
Public Types | |
enum | FinalMotionBehaviorEnum { KEEP_TARGET_VELOCITY = 0, RECOMPUTE_TRAJECTORY = 1 } |
Enumeration whose values specify the behavior after the final state of motion is reached. More... | |
Public Member Functions | |
RMLPositionFlags (void) | |
Constructor of the class. | |
~RMLPositionFlags (void) | |
Destructor of the class RMLPositionFlags. | |
bool | operator== (const RMLPositionFlags &Flags) const |
Equal operator. | |
bool | operator!= (const RMLPositionFlags &Flags) const |
Unequal operator. | |
Public Attributes | |
int | BehaviorAfterFinalStateOfMotionIsReached |
This flag defines the behavior for the time after the final state of motion was reached. | |
bool | KeepCurrentVelocityInCaseOfFallbackStrategy |
If true, RMLPositionInputParameters::AlternativeTargetVelocityVector will be used in TypeIVRMLPosition::FallBackStrategy() |
Data structure containing flags to parameterize the execution of the position-based On-Line Trajectory Generation algorithm.
Enumeration whose values specify the behavior after the final state of motion is reached.
RMLPositionFlags::RMLPositionFlags | ( | void | ) | [inline] |
Constructor of the class.
Sets the default values:
RMLPositionFlags::~RMLPositionFlags | ( | void | ) | [inline] |
Destructor of the class RMLPositionFlags.
bool RMLPositionFlags::operator!= | ( | const RMLPositionFlags & | Flags | ) | const [inline] |
Unequal operator.
false
if all attributes of both objects are equal; true
otherwise bool RMLPositionFlags::operator== | ( | const RMLPositionFlags & | Flags | ) | const [inline] |
Equal operator.
true
if all attributes of both objects are equal; false
otherwise This flag defines the behavior for the time after the final state of motion was reached.
Two values are possible:
If true, RMLPositionInputParameters::AlternativeTargetVelocityVector will be used in TypeIVRMLPosition::FallBackStrategy()
In case, the second safety layer becomes activated by calling TypeIVRMLPosition::FallBackStrategy(), this flag can optionally be used to set the current velocity vector as the alternative target velocity vector for the velocity-based On-Line Trajectory Generation algorithm.
false
, and in most cases, is not necessary to change this. Depending on the application, it may be reasonable to keep the current velocity in case of an error.