FeedforwardReflex Class Reference

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

+ Inheritance diagram for FeedforwardReflex:

Public Member Functions

 FeedforwardReflex (int interval)
 
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 reportPlatformVelocity (float x, float y, float a)
 
void setBools (bool armar4, bool velocityBased)
 
void setRobot (std::string nodeSetName, std::string headIKName, RobotStateComponentInterfacePrx robotStateComponent)
 
bool update_input_fromArmarX (GazeStabInput *gs_input)
 
void update_output_toArmarX (GazeStabOutput *gs_output)
 
 ~FeedforwardReflex () override
 
- Public Member Functions inherited from Reflex
std::map< std::string, float > getJoints ()
 
float getWeight () const
 
 Reflex (int interval)
 
void setEnabled (bool enabled)
 
void setWeight (float weight)
 
void start ()
 
void stop ()
 
virtual ~Reflex ()
 

Public Attributes

std::vector< float > gyroscopeRotation_pred
 
double mean_optFl_pred
 
std::vector< float > optFlow_pred
 

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, float > jointAngles
 
std::mutex mutex
 
std::string name
 
IceUtil::Time updateTime
 

Constructor & Destructor Documentation

◆ FeedforwardReflex()

FeedforwardReflex ( int interval)
inline

◆ ~FeedforwardReflex()

~FeedforwardReflex ( )
inlineoverride

Member Function Documentation

◆ calc()

void calc ( )
overrideprotectedvirtual

Implements Reflex.

◆ getName()

std::string getName ( ) const
inlineoverridevirtual

Implements Reflex.

◆ onStop()

void onStop ( )
overrideprotectedvirtual

Implements Reflex.

◆ reportHeadTargetChanged()

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

◆ reportJointAngles()

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

◆ reportJointVelocities()

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

◆ reportPlatformVelocity()

void reportPlatformVelocity ( float x,
float y,
float a )

◆ setBools()

void setBools ( bool armar4,
bool velocityBased )

◆ setRobot()

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

◆ update_input_fromArmarX()

bool update_input_fromArmarX ( GazeStabInput * gs_input)

◆ update_output_toArmarX()

void update_output_toArmarX ( GazeStabOutput * gs_output)

Member Data Documentation

◆ gyroscopeRotation_pred

std::vector<float> gyroscopeRotation_pred

◆ mean_optFl_pred

double mean_optFl_pred

◆ optFlow_pred

std::vector<float> optFlow_pred

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