19 #ifndef __ROSEE_ACTIONTRIG_H 20 #define __ROSEE_ACTIONTRIG_H 23 #include <yaml-cpp/yaml.h> 69 typedef std::map < std::string, ActionTrig >
Map;
104 bool fillFromYaml( YAML::const_iterator yamlIt )
override;
112 #endif // __ROSEE_ACTIONTRIG_H void setJointPos(JointPos)
Virtual class, Base of all the primitive actions.
std::map< std::string, ActionTrig > Map
std::map< std::string, std::vector< double > > JointPos
The map to describe the position of all actuated joints.
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...
Type
Enum useful to discriminate each primitive action when, for example, we want to parse a file if you ...
The action of moving some joints (see later) of a single finger in a full clousure position towards t...
bool fillFromYaml(YAML::const_iterator yamlIt) override
function to fill members of the Action with infos taken from yaml files
ActionTrig(std::string actionName, ActionPrimitive::Type)
std::string getFingerInvolved() const
Specific method of trig to simply return a string instead of the full vector fingersInvolved that in ...
void setFingerInvolved(std::string)
std::vector< JointPos > getAllJointPos() const override
Overriden get from the pure virtual function of the base class ActionPrimitive The signature must be ...
JointPos getJointPos() const override
Overriden get from the pure virtual function of the base class Action.