Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Kodu::MatchesObjectTagInGripper Class Reference

A functor that will check if the object is still in the robot's gripper. More...

#include <GripperVisualMonitorTask.h>

Inheritance diagram for Kodu::MatchesObjectTagInGripper:

Detailed Description

A functor that will check if the object is still in the robot's gripper.

Definition at line 24 of file GripperVisualMonitorTask.h.

List of all members.

Public Member Functions

 MatchesObjectTagInGripper ()
 Constructor.
 MatchesObjectTagInGripper (const MatchesObjectTagInGripper &kPred)
 Copy constructor.
 ~MatchesObjectTagInGripper ()
 Destructor.
MatchesObjectTagInGripperoperator= (const MatchesObjectTagInGripper &kPred)
 Assignment operator.
bool operator() (const DualCoding::ShapeRoot &) const
 Checks if a shape matches the specified criteria.

Private Attributes

DualCoding::Point aprTagCentroid
 The april tag's centroid (in local shape space).
int aprTagId
 The object's april tag id number.

Static Private Attributes

static float const kMaxAprTagCentroidVariance = 30.0f

Friends

class VisualGripperMonitorTask

Constructor & Destructor Documentation

Kodu::MatchesObjectTagInGripper::MatchesObjectTagInGripper (  ) 

Constructor.

Definition at line 27 of file GripperVisualMonitorTask.h.

Kodu::MatchesObjectTagInGripper::MatchesObjectTagInGripper ( const MatchesObjectTagInGripper kPred  ) 

Copy constructor.

Definition at line 34 of file GripperVisualMonitorTask.h.

Kodu::MatchesObjectTagInGripper::~MatchesObjectTagInGripper (  ) 

Destructor.

Definition at line 43 of file GripperVisualMonitorTask.h.


Member Function Documentation

bool Kodu::MatchesObjectTagInGripper::operator() ( const DualCoding::ShapeRoot &  kShape  )  const

Checks if a shape matches the specified criteria.

Definition at line 19 of file GripperVisualMonitorTask.cc.

MatchesObjectTagInGripper& Kodu::MatchesObjectTagInGripper::operator= ( const MatchesObjectTagInGripper kPred  ) 

Assignment operator.

Definition at line 48 of file GripperVisualMonitorTask.h.


Friends And Related Function Documentation

friend class VisualGripperMonitorTask [friend]

Definition at line 60 of file GripperVisualMonitorTask.h.


Member Data Documentation

ASSUMPTION:

  • grabbed object's radius is greater than or equal to 1/2 the distance from the inside of the gripper to the gripper's fingers.

Definition at line 63 of file GripperVisualMonitorTask.h.

Referenced by operator()().


The documentation for this class was generated from the following files:

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:23 2016 by Doxygen 1.6.3