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

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

#include <RMLPositionFlags.h>

Inheritance diagram for RMLPositionFlags:
RMLFlags

List of all members.

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()

Detailed Description

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

See also:
RMLFlags
RMLVelocityFlags

Member Enumeration Documentation

Enumeration whose values specify the behavior after the final state of motion is reached.

See also:
BehaviorAfterFinalStateOfMotionIsReached
Enumerator:
KEEP_TARGET_VELOCITY 

The desired velocity of the target state of motion will be kept at zero acceleration.

RECOMPUTE_TRAJECTORY 

After the final state of motion is reached, a new trajectory will be computed, such that the desired state of motion will be reached again (and again, and again, etc.).


Constructor & Destructor Documentation

Constructor of the class.

Sets the default values:

Destructor of the class RMLPositionFlags.


Member Function Documentation

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

Unequal operator.

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

Equal operator.

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

Member Data Documentation

This flag defines the behavior for the time after the final state of motion was reached.

Two values are possible:

Note:
If the desired target velocity vector is zero, both values will lead to the same behavior.
See also:
FinalMotionBehaviorEnum
Behavior after the Final State of Motion is Reached

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 $ \vec{V}_i $ as the alternative target velocity vector for the velocity-based On-Line Trajectory Generation algorithm.

Note:
By default, this flag is set to 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.
See also:
RMLPositionInputParameters::AlternativeTargetVelocityVector
Safety: Three Layers of Error Handling

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.