VOR Class Reference

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

+ Inheritance diagram for VOR:

Public Member Functions

std::string getName () const override
 
void reportHeadTargetChanged (const NameValueMap &targetJointAngles, const FramedPositionBasePtr &targetPosition)
 
void reportJointAngles (const NameValueMap &values, bool valueChanged, const Ice::Current &c)
 
void reportJointVelocities (const NameValueMap &values, bool valueChanged, const Ice::Current &c)
 
void reportSensorValues (const IMUData &values)
 
void setBools (bool armar4, bool velocityBased)
 
void setJointNames (std::string eye_pitch_left, std::string eye_pitch_right, std::string eye_yaw_left, std::string eye_yaw_right, std::string neck_roll)
 
void setPIDValues (float kp, float ki, float kd)
 
 VOR (int interval)
 
 ~VOR () override
 
- Public Member Functions inherited from Reflex
std::map< std::string, floatgetJoints ()
 
float getWeight () const
 
 Reflex (int interval)
 
void setEnabled (bool enabled)
 
void setWeight (float weight)
 
void start ()
 
void stop ()
 
virtual ~Reflex ()
 

Additional Inherited Members

- Protected Member Functions inherited from Reflex
Eigen::Vector3f quaternionToRPY (Eigen::Quaternionf q)
 
- Protected Attributes inherited from Reflex
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 vor.h.

Constructor & Destructor Documentation

◆ VOR()

VOR ( int  interval)
inline

Definition at line 39 of file vor.h.

◆ ~VOR()

~VOR ( )
inlineoverride

Definition at line 43 of file vor.h.

Member Function Documentation

◆ getName()

std::string getName ( ) const
inlineoverridevirtual

Implements Reflex.

Definition at line 49 of file vor.h.

◆ reportHeadTargetChanged()

void reportHeadTargetChanged ( const NameValueMap &  targetJointAngles,
const FramedPositionBasePtr &  targetPosition 
)

◆ reportJointAngles()

void reportJointAngles ( const NameValueMap &  values,
bool  valueChanged,
const Ice::Current &  c 
)

Definition at line 217 of file vor.cpp.

◆ reportJointVelocities()

void reportJointVelocities ( const NameValueMap &  values,
bool  valueChanged,
const Ice::Current &  c 
)

Definition at line 226 of file vor.cpp.

◆ reportSensorValues()

void reportSensorValues ( const IMUData &  values)

Definition at line 122 of file vor.cpp.

◆ setBools()

void setBools ( bool  armar4,
bool  velocityBased 
)

Definition at line 165 of file vor.cpp.

◆ setJointNames()

void setJointNames ( std::string  eye_pitch_left,
std::string  eye_pitch_right,
std::string  eye_yaw_left,
std::string  eye_yaw_right,
std::string  neck_roll 
)

Definition at line 145 of file vor.cpp.

◆ setPIDValues()

void setPIDValues ( float  kp,
float  ki,
float  kd 
)

Definition at line 156 of file vor.cpp.


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