ROS End-Effector package: provides a ROS-based set of standard interfaces to command robotics end-effectors in an agnostic fashion.
Public Member Functions | List of all members
ROSEE::ActionMultiplePinchTight::depthComp Struct Reference

struct to put in order the actionStates. More...

+ Collaboration diagram for ROSEE::ActionMultiplePinchTight::depthComp:

Public Member Functions

bool operator() (const StateWithDepth &a, const StateWithDepth &b) const

Detailed Description

struct to put in order the actionStates.

with "<" we put as best the position that has less sumDepth.

Definition at line 95 of file ActionMultiplePinchTight.h.

Member Function Documentation

bool ROSEE::ActionMultiplePinchTight::depthComp::operator() ( const StateWithDepth a,
const StateWithDepth b 
) const

Definition at line 96 of file ActionMultiplePinchTight.h.

97  {return (std::abs(a.second) < std::abs(b.second) );}

The documentation for this struct was generated from the following file: