Reflex Class Referenceabstract

#include <RobotComponents/components/ReflexCombination/reflex.h>

+ Inheritance diagram for Reflex:

Public Member Functions

std::map< std::string, float > getJoints ()
 
virtual std::string getName () const =0
 
float getWeight () const
 
 Reflex (int interval)
 
void setEnabled (bool enabled)
 
void setWeight (float weight)
 
void start ()
 
void stop ()
 
virtual ~Reflex ()
 

Protected Member Functions

virtual void calc ()=0
 
virtual void onStop ()=0
 
Eigen::Vector3f quaternionToRPY (Eigen::Quaternionf q)
 

Protected Attributes

int interval
 
bool isEnabled
 
std::map< std::string, float > jointAngles
 
std::mutex mutex
 
std::string name
 
IceUtil::Time updateTime
 

Constructor & Destructor Documentation

◆ Reflex()

Reflex ( int interval)
inline

◆ ~Reflex()

virtual ~Reflex ( )
inlinevirtual

Member Function Documentation

◆ calc()

virtual void calc ( )
protectedpure virtual

Implemented in FeedforwardReflex, and JointIK.

◆ getJoints()

std::map< std::string, float > getJoints ( )
inline

◆ getName()

virtual std::string getName ( ) const
pure virtual

Implemented in FeedforwardReflex, JointIK, OKR, and VOR.

◆ getWeight()

float getWeight ( ) const
inline

◆ onStop()

virtual void onStop ( )
protectedpure virtual

Implemented in FeedforwardReflex, and JointIK.

◆ quaternionToRPY()

Eigen::Vector3f quaternionToRPY ( Eigen::Quaternionf q)
inlineprotected

◆ setEnabled()

void setEnabled ( bool enabled)
inline

◆ setWeight()

void setWeight ( float weight)
inline

◆ start()

void start ( )
inline

◆ stop()

void stop ( )
inline

Member Data Documentation

◆ interval

int interval
protected

◆ isEnabled

bool isEnabled
protected

◆ jointAngles

std::map<std::string, float> jointAngles
protected

◆ mutex

std::mutex mutex
protected

◆ name

std::string name
protected

◆ updateTime

IceUtil::Time updateTime
protected

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