17 #ifndef ACTIONSINGLEJOINTMULTIPLETIPS_H 18 #define ACTIONSINGLEJOINTMULTIPLETIPS_H 21 #include <yaml-cpp/yaml.h> 35 typedef std::map < std::string, ActionSingleJointMultipleTips >
Map;
83 void print ()
const override;
84 void emitYaml ( YAML::Emitter& out )
const override;
85 bool fillFromYaml( YAML::const_iterator yamlIt )
override;
95 #endif // ACTIONSINGLEJOINTMULTIPLETIPS_H JointPos getJointPosNearer() const
Virtual class, Base of all the primitive actions. It has some implemented functions that a derived cl...
JointPos getJointPosFurther() const
void print() const override
Overridable functions, if we want to make them more action-specific.
std::map< std::string, std::vector< double > > JointPos
The map to describe the position of all actuated joints. The key is the name of the string...
ActionSingleJointMultipleTips()
bool fillFromYaml(YAML::const_iterator yamlIt) override
function to fill members of the Action with infos taken from yaml files
std::map< std::string, ActionSingleJointMultipleTips > Map
void emitYaml(YAML::Emitter &out) const override
Function to fill the argument passed with info about the action. Pure virtual because each derived cl...
std::vector< JointPos > getAllJointPos() const override
Overriden get from the pure virtual function of the base class Action The signature must be equal...
std::string jointInvolved
std::set< std::string > getKeyElements() const override
Necessary method to know the key used by the maps which store all the Actions of one type...
std::string getJointName() const
Primitive which indicate a motion of n fingers moving ONLY ONE joint. For example, this primitive is necessary for the hands that have one joint that close all the fingers to do a grasp. But it can also useful to detect other multiple finger motions (like a "spread finger")
JointPos getJointPos() const override
Overriden get from the pure virtual function of the base class Action.