JointIK Class Reference

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

+ Inheritance diagram for JointIK:

Public Member Functions

std::string getName () const override
 
 JointIK (int interval)
 
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 setBools (bool armar4, bool velocityBased)
 
void setRobot (std::string nodeSetName, std::string headIKName, RobotStateComponentInterfacePrx robotStateComponent)
 
 ~JointIK () 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 ()
 

Protected Member Functions

void calc () override
 
void onStop () override
 
- Protected Member Functions inherited from Reflex
Eigen::Vector3f quaternionToRPY (Eigen::Quaternionf q)
 

Additional Inherited Members

- 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 43 of file jointik.h.

Constructor & Destructor Documentation

◆ JointIK()

JointIK ( int  interval)
inline

Definition at line 46 of file jointik.h.

+ Here is the call graph for this function:

◆ ~JointIK()

~JointIK ( )
inlineoverride

Definition at line 50 of file jointik.h.

Member Function Documentation

◆ calc()

void calc ( )
overrideprotectedvirtual

Implements Reflex.

Definition at line 30 of file jointik.cpp.

+ Here is the call graph for this function:

◆ getName()

std::string getName ( ) const
inlineoverridevirtual

Implements Reflex.

Definition at line 61 of file jointik.h.

◆ onStop()

void onStop ( )
overrideprotectedvirtual

Implements Reflex.

Definition at line 151 of file jointik.cpp.

+ Here is the caller graph for this function:

◆ reportHeadTargetChanged()

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

Definition at line 144 of file jointik.cpp.

◆ reportJointAngles()

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

Definition at line 125 of file jointik.cpp.

◆ reportJointVelocities()

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

Definition at line 134 of file jointik.cpp.

◆ setBools()

void setBools ( bool  armar4,
bool  velocityBased 
)

Definition at line 117 of file jointik.cpp.

◆ setRobot()

void setRobot ( std::string  nodeSetName,
std::string  headIKName,
RobotStateComponentInterfacePrx  robotStateComponent 
)

Definition at line 105 of file jointik.cpp.

+ Here is the call graph for this function:

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