Namespaces | Classes | Typedefs | Functions
ROSEE Namespace Reference

Namespaces

 TestUtils
 
 Utils
 

Classes

class  Action
 The pure virtual class representing an Action. It has members that are in common to all derived class. More...
 
class  ActionComposed
 A ActionComposed, which is formed by one or more Primitives (or even other composed). It is useful for example to create an action that grasp only with bending the tips (e.g. to take a dish from above) If the ActionComposed has the boolean value independent to true, it means that include indipendent sub-actions, so, each joint is used by at maximum by ONLY ONE of the sub-action inside. In this case the jointsInvolvedCount will contain only 0 or 1 values. If the ActionComposed is not independent, each joint position is calculated as the mean of all the joint position of the contained sub-actions that uses that joint. So each mean can include different primitives, so we used the jointsInvolvedCount vector to store the number of sub action that use each joint. More...
 
class  ActionGeneric
 Class to handle a generic, simple action. Differently from other class, this is easily creable manually, for ex giving a name and a JointPos map to the costructor. It contains essential infos about the action, and override the necessary pure virtual functions of base class Action. More...
 
class  ActionMultiplePinchTight
 Class to describe the action of "pinching" with more than 2 tips (with 2 tips there is the ActionPinchTight and ActionPinchLoose The number of the finger used is fixed when the object is costructed, and it is stored in the father member nFingersInvolved. More...
 
class  ActionPinchGeneric
 A base virtual class for the PinchTight and PinchLoose classes. It includes member and method that are in common between the two type of pinches. It derives the more generic ActionPrimitive. More...
 
class  ActionPinchLoose
 The action of pinch with two tips. The two tips must not collide ever (otherwise we have a TightPinch). They only need to move towards each other moving the relative joints. This PinchLoose is created because also if the tips do not collide (i.e. there is not a ActionPinchTight) we can have anyway a pinch at least to take object of a certain minimum size. All the non involved fingers are set in the default state. A pinchLoose is defined by: More...
 
class  ActionPinchTight
 The action of pinch with two tips. The two tips must collide for some hand configuration to mark this configuration as a pinchTight. All the non involved fingers are set in the default state. A pinchTight is defined by: More...
 
class  ActionPrimitive
 Virtual class, Base of all the primitive actions. It has some implemented functions that a derived class can use, if you don't want to override to make them more action-specific. All the primitives are defined by: More...
 
class  ActionSingleJointMultipleTips
 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") More...
 
class  ActionTimed
 An action composed by other ones that must be executed one after other with some wait time (also 0) in between. E.G. 0.000000second --—> Grasp --—> 0.1 + 0.1 second --—> OpenLid --—> 0.5second -— and so on This class contains all the joint position of each action (actionsJointPosMap ) and some time margins which indicates wait time before and after the action (actionsTimeMarginsMap). Each action inside is identified by its name, so no two action with same name can exist (see insertAction ) After create the ActionTimed object, we can add actions with insertAction(). As all other Action classes, it implements also functions to emit and parse in a yaml file. More...
 
class  ActionTrig
 The action of moving some joints (see later) of a single finger in a full clousure position towards the palm. The action is unique (joints involved in a certain position: the bound) so maxStoredActionStates == 1 always Described by: More...
 
class  DummyHal
 Class representing an end-effector. More...
 
class  EEHal
 Class representing an end-effector. More...
 
class  EEInterface
 Class representing and End-Effector. More...
 
class  FindActions
 Class to check which fingertips collide (for the pinch action at the moment) More...
 
class  MapActionHandler
 
class  Parser
 Class responsible for parsing the YAML file providing the URDF, SRDF, the EE-HAL library implementation and the EEInterface. More...
 
class  ParserMoveIt
 class to parse urdf and srdf with moveit classes and to give information about the model parsed More...
 
class  RosActionServer
 
class  RosServiceHandler
 
class  UniversalRosEndEffectorExecutor
 Class representing the ROS executor implementing the unviversal ROS EE concept. More...
 
class  XBot2Hal
 Concrete class which communicate directly with ROS topics. More...
 
class  YamlWorker
 

Typedefs

typedef 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, the value is a vector of joint positions (because in general a joint can have more DOFs. More...
 
typedef 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 ActionComposed (indipendent) have as values only 0 or 1. ActionComposed (not independet) can have values > 1. This map is also useful to understand if a joint is used or not by the action (0 == not used) so we can control only the necessary joints. More...
 

Functions

JointPos operator* (double multiplier, JointPos jp)
 
JointPos operator* (JointPos jp, double multiplier)
 
JointPosoperator*= (JointPos &jp, double multiplier)
 
JointPos operator+ (JointPos jp1, JointPos jp2)
 
JointPosoperator+= (JointPos &jp1, ROSEE::JointPos jp2)
 
std::ostream & operator<< (std::ostream &output, const JointPos jp)
 
std::ostream & operator<< (std::ostream &output, const JointsInvolvedCount jic)
 
std::ostream & operator<< (std::ostream &out, const ROSEE::Action::Type type)
 

Detailed Description

Utils funcion to create process to run roscore, gently copied from https://github.com/ADVRHumanoids/CartesianInterface/blob/refactor2020/tests/testutils.h

Typedef Documentation

◆ JointPos

typedef std::map<std::string, std::vector <double> > ROSEE::JointPos

The map to describe the position of all actuated joints. The key is the name of the string, the value is a vector of joint positions (because in general a joint can have more DOFs.

Definition at line 40 of file Action.h.

◆ JointsInvolvedCount

typedef std::map<std::string, unsigned int> ROSEE::JointsInvolvedCount

The map to describe, how many times a joint is set by the action. An ActionPrimitive and an ActionComposed (indipendent) have as values only 0 or 1. ActionComposed (not independet) can have values > 1. This map is also useful to understand if a joint is used or not by the action (0 == not used) so we can control only the necessary joints.

Definition at line 63 of file Action.h.

Function Documentation

◆ operator*() [1/2]

ROSEE::JointPos ROSEE::operator* ( double  multiplier,
ROSEE::JointPos  jp 
)

Definition at line 36 of file Action.cpp.

◆ operator*() [2/2]

ROSEE::JointPos ROSEE::operator* ( ROSEE::JointPos  jp,
double  multiplier 
)

Definition at line 41 of file Action.cpp.

◆ operator*=()

ROSEE::JointPos & ROSEE::operator*= ( ROSEE::JointPos jp,
double  multiplier 
)

Definition at line 46 of file Action.cpp.

◆ operator+()

ROSEE::JointPos ROSEE::operator+ ( ROSEE::JointPos  jp1,
ROSEE::JointPos  jp2 
)

Definition at line 57 of file Action.cpp.

◆ operator+=()

ROSEE::JointPos & ROSEE::operator+= ( ROSEE::JointPos jp1,
ROSEE::JointPos  jp2 
)

Definition at line 62 of file Action.cpp.

◆ operator<<() [1/3]

std::ostream & ROSEE::operator<< ( std::ostream &  output,
const JointPos  jp 
)

operator overload for JointPos so it is easier to print

Definition at line 24 of file Action.cpp.

◆ operator<<() [2/3]

std::ostream & ROSEE::operator<< ( std::ostream &  output,
const JointsInvolvedCount  jic 
)

Definition at line 81 of file Action.cpp.

◆ operator<<() [3/3]

std::ostream & ROSEE::operator<< ( std::ostream &  out,
const ROSEE::Action::Type  type 
)

To print the action type enum as the real name (eg primitive) and not as the enum number REmember to add here if new type are implemented

Definition at line 89 of file Action.cpp.



end-effector
Author(s): Luca Muratore , Davide Torielli , Liana Bertoni
autogenerated on Tue Apr 5 2022 02:57:53