Go to the documentation of this file.
17 #ifndef ROSEE_ACTIONGENERIC_H
18 #define ROSEE_ACTIONGENERIC_H
21 #include <yaml-cpp/yaml.h>
35 typedef std::shared_ptr<ActionGeneric>
Ptr;
36 typedef std::shared_ptr<const ActionGeneric>
ConstPtr;
80 virtual void emitYaml ( YAML::Emitter& out )
const override;
85 virtual bool fillFromYaml ( YAML::const_iterator yamlIt )
override;
101 #endif // ROSEE_ACTIONGENERIC_H
Class to handle a generic, simple action. Differently from other class, this is easily creable manual...
ActionGeneric()
default costructor. It is used when parsing a file with YamlWorker,
JointPos getJointPos() const override
Get the joint position related to this action, overriden from Action.
std::map< std::string, unsigned int > JointsInvolvedCount
The map to describe, how many times a joint is set by the action. An ActionPrimitive and an ActionCom...
The pure virtual class representing an Action. It has members that are in common to all derived class...
virtual bool fillFromYaml(YAML::const_iterator yamlIt) override
function to fill members of the Action with infos taken from yaml files
std::vector< ROSEE::JointPos > getAllJointPos() const override
Get the joint position related to this action, overriden from Action Necessary to not make this class...
std::shared_ptr< const ActionGeneric > ConstPtr
std::shared_ptr< ActionGeneric > Ptr
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,...
virtual 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::set< std::string > fingersInvolved
end-effector
Author(s): Luca Muratore
, Davide Torielli , Liana Bertoni
autogenerated on Sat Dec 14 2024 03:49:26