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>
Public Member Functions | |
| GripperControl (void) | |
| void | computeIncrement (const dg::Vector &torques, const dg::Vector &torqueLimits, const dg::Vector ¤tNormVel) |
| Computes the. More... | |
| dg::Vector & | computeDesiredPosition (const dg::Vector ¤tPos, const dg::Vector &desiredPos, const dg::Vector &torques, const dg::Vector &torqueLimits, dg::Vector &referencePos) |
Static Public Member Functions | |
| static dg::Vector & | selector (const dg::Vector &fullsize, const Flags &selec, dg::Vector &desPos) |
| select only some of the values of the vector fullsize, based on the Flags vector. More... | |
Protected Attributes | |
| double | offset |
| dg::Vector | factor |
| The multiplication. More... | |
Static Protected Attributes | |
| static const double | OFFSET_DEFAULT |
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.
| dynamicgraph::sot::GripperControl::GripperControl | ( | void | ) |
| dg::Vector& dynamicgraph::sot::GripperControl::computeDesiredPosition | ( | const dg::Vector & | currentPos, |
| const dg::Vector & | desiredPos, | ||
| const dg::Vector & | torques, | ||
| const dg::Vector & | torqueLimits, | ||
| dg::Vector & | referencePos | ||
| ) |
| void dynamicgraph::sot::GripperControl::computeIncrement | ( | const dg::Vector & | torques, |
| const dg::Vector & | torqueLimits, | ||
| const dg::Vector & | currentNormVel | ||
| ) |
Computes the.
|
static |
select only some of the values of the vector fullsize, based on the Flags vector.
|
protected |
The multiplication.
|
protected |
|
staticprotected |