sot-core  4.11.8
Hierarchical task solver plug-in for dynamic-graph.
dynamicgraph::sot::GripperControl Class Reference

The goal of this entity is to ensure that the maximal torque will not be exceeded during a grasping task. If the maximal torque is reached, then the current position of the gripper is kept. More...

#include <sot/core/gripper-control.hh>

Inheritance diagram for dynamicgraph::sot::GripperControl:

Public Member Functions

 GripperControl (void)
 
void computeIncrement (const dynamicgraph::Vector &torques, const dynamicgraph::Vector &torqueLimits, const dynamicgraph::Vector &currentNormVel)
 Computes the. More...
 
dynamicgraph::Vector & computeDesiredPosition (const dynamicgraph::Vector &currentPos, const dynamicgraph::Vector &desiredPos, const dynamicgraph::Vector &torques, const dynamicgraph::Vector &torqueLimits, dynamicgraph::Vector &referencePos)
 

Static Public Member Functions

static dynamicgraph::Vector & selector (const dynamicgraph::Vector &fullsize, const Flags &selec, dynamicgraph::Vector &desPos)
 select only some of the values of the vector fullsize, based on the Flags vector. More...
 

Protected Attributes

double offset
 
dynamicgraph::Vector factor
 The multiplication. More...
 

Static Protected Attributes

static const double OFFSET_DEFAULT
 

Detailed Description

The goal of this entity is to ensure that the maximal torque will not be exceeded during a grasping task. If the maximal torque is reached, then the current position of the gripper is kept.

Constructor & Destructor Documentation

◆ GripperControl()

dynamicgraph::sot::GripperControl::GripperControl ( void  )

Member Function Documentation

◆ computeDesiredPosition()

dynamicgraph::Vector& dynamicgraph::sot::GripperControl::computeDesiredPosition ( const dynamicgraph::Vector &  currentPos,
const dynamicgraph::Vector &  desiredPos,
const dynamicgraph::Vector &  torques,
const dynamicgraph::Vector &  torqueLimits,
dynamicgraph::Vector &  referencePos 
)

◆ computeIncrement()

void dynamicgraph::sot::GripperControl::computeIncrement ( const dynamicgraph::Vector &  torques,
const dynamicgraph::Vector &  torqueLimits,
const dynamicgraph::Vector &  currentNormVel 
)

Computes the.

◆ selector()

static dynamicgraph::Vector& dynamicgraph::sot::GripperControl::selector ( const dynamicgraph::Vector &  fullsize,
const Flags selec,
dynamicgraph::Vector &  desPos 
)
static

select only some of the values of the vector fullsize, based on the Flags vector.

Member Data Documentation

◆ factor

dynamicgraph::Vector dynamicgraph::sot::GripperControl::factor
protected

The multiplication.

◆ offset

double dynamicgraph::sot::GripperControl::offset
protected

◆ OFFSET_DEFAULT

const double dynamicgraph::sot::GripperControl::OFFSET_DEFAULT
staticprotected

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