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::ActionPinchLoose::distComp Struct Reference

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

+ Collaboration diagram for ROSEE::ActionPinchLoose::distComp:

Public Member Functions

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

Detailed Description

struct to put in order the actionStates set.

The first elements are the ones with lesser distance

Definition at line 95 of file ActionPinchLoose.h.

Member Function Documentation

bool ROSEE::ActionPinchLoose::distComp::operator() ( const StateWithDistance a,
const StateWithDistance b 
) const

Definition at line 96 of file ActionPinchLoose.h.

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

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