Frankx  0.2.0
A High-Level Motion API for Franka
Public Member Functions | Public Attributes | List of all members
movex::MotionData Struct Reference

#include <motion_data.hpp>

Public Member Functions

 MotionData (double dynamic_rel=1.0)
 
MotionDatawithDynamicRel (double dynamic_rel)
 
MotionDatawithMaxDynamics ()
 Use maximal possible dynamic of the robot. More...
 
MotionDatawithReaction (const Reaction &reaction)
 Add a reaction to the motion. More...
 
bool didBreak ()
 Whether any of the reactions did occur (fire) during the motion. More...
 

Public Attributes

double velocity_rel {1.0}
 
double acceleration_rel {1.0}
 
double jerk_rel {1.0}
 
bool max_dynamics {false}
 
std::vector< Reactionreactions {}
 

Constructor & Destructor Documentation

◆ MotionData()

movex::MotionData::MotionData ( double  dynamic_rel = 1.0)
inlineexplicit

Member Function Documentation

◆ didBreak()

bool movex::MotionData::didBreak ( )
inline

Whether any of the reactions did occur (fire) during the motion.

◆ withDynamicRel()

MotionData& movex::MotionData::withDynamicRel ( double  dynamic_rel)
inline

◆ withMaxDynamics()

MotionData& movex::MotionData::withMaxDynamics ( )
inline

Use maximal possible dynamic of the robot.

◆ withReaction()

MotionData& movex::MotionData::withReaction ( const Reaction reaction)
inline

Add a reaction to the motion.

Member Data Documentation

◆ acceleration_rel

double movex::MotionData::acceleration_rel {1.0}

◆ jerk_rel

double movex::MotionData::jerk_rel {1.0}

◆ max_dynamics

bool movex::MotionData::max_dynamics {false}

◆ reactions

std::vector<Reaction> movex::MotionData::reactions {}

◆ velocity_rel

double movex::MotionData::velocity_rel {1.0}

The documentation for this struct was generated from the following file: