Reflex Class Referenceabstract

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

+ Inheritance diagram for Reflex:

Public Member Functions

std::map< std::string, floatgetJoints ()
 
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, floatjointAngles
 
std::mutex mutex
 
std::string name
 
IceUtil::Time updateTime
 

Detailed Description

Definition at line 36 of file reflex.h.

Constructor & Destructor Documentation

◆ Reflex()

Reflex ( int  interval)
inline

Definition at line 39 of file reflex.h.

+ Here is the call graph for this function:

◆ ~Reflex()

virtual ~Reflex ( )
inlinevirtual

Definition at line 47 of file reflex.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ calc()

virtual void calc ( )
protectedpure virtual

Implemented in FeedforwardReflex, and JointIK.

+ Here is the caller graph for this function:

◆ getJoints()

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

Definition at line 85 of file reflex.h.

◆ getName()

virtual std::string getName ( ) const
pure virtual

Implemented in FeedforwardReflex, JointIK, VOR, and OKR.

◆ getWeight()

float getWeight ( ) const
inline

Definition at line 100 of file reflex.h.

◆ onStop()

virtual void onStop ( )
protectedpure virtual

Implemented in FeedforwardReflex, and JointIK.

+ Here is the caller graph for this function:

◆ quaternionToRPY()

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

Definition at line 115 of file reflex.h.

+ Here is the caller graph for this function:

◆ setEnabled()

void setEnabled ( bool  enabled)
inline

Definition at line 73 of file reflex.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setWeight()

void setWeight ( float  weight)
inline

Definition at line 105 of file reflex.h.

◆ start()

void start ( )
inline

Definition at line 53 of file reflex.h.

+ Here is the caller graph for this function:

◆ stop()

void stop ( )
inline

Definition at line 61 of file reflex.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ interval

int interval
protected

Definition at line 134 of file reflex.h.

◆ isEnabled

bool isEnabled
protected

Definition at line 136 of file reflex.h.

◆ jointAngles

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

Definition at line 132 of file reflex.h.

◆ mutex

std::mutex mutex
protected

Definition at line 130 of file reflex.h.

◆ name

std::string name
protected

Definition at line 140 of file reflex.h.

◆ updateTime

IceUtil::Time updateTime
protected

Definition at line 138 of file reflex.h.


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