Part of an object that is aimed at being grasped.
More...
#include <hpp/manipulation/handle.hh>
Part of an object that is aimed at being grasped.
◆ ~Handle()
virtual hpp::manipulation::Handle::~Handle |
( |
| ) |
|
|
inlinevirtual |
◆ Handle()
Constructor
- Parameters
-
robot | the robot that grasps the handle, |
grasp | object containing the grasp information |
- Returns
- the constraint of relative position between the handle and the gripper.
◆ clearance() [1/2]
value_type hpp::manipulation::Handle::clearance |
( |
| ) |
const |
|
inline |
Get the clearance
The clearance is a distance, from the center of the gripper and along the x-aixs, that "ensures" an object being at that distance is not colliding with this gripper. It also gives an order of magnitude of the size of the gripper.
◆ clearance() [2/2]
void hpp::manipulation::Handle::clearance |
( |
const value_type & |
clearance | ) |
|
|
inline |
◆ clone()
virtual HandlePtr_t hpp::manipulation::Handle::clone |
( |
| ) |
const |
|
virtual |
Return a pointer to the copy of this.
◆ create()
Create constraint corresponding to a gripper grasping this object
- Parameters
-
robot | the robot that grasps the handle, |
grasp | object containing the grasp information |
- Returns
- the constraint of relative position between the handle and the gripper.
◆ createGrasp()
Create constraint corresponding to a gripper grasping this handle
- Parameters
-
gripper | object containing the gripper information |
- Returns
- the constraint of relative transformation between the handle and the gripper. The degrees of freedom of the relative transformation that are constrained are determined by the mask.
- See also
- constraints::Implicit::mask. The constraint is not parameterizable (has constant right hand side).
◆ createGraspAndComplement()
virtual ImplicitPtr_t hpp::manipulation::Handle::createGraspAndComplement |
( |
const GripperPtr_t & |
gripper, |
|
|
std::string |
name |
|
) |
| const |
|
virtual |
Create constraint composed of grasp constraint and its complement
- Parameters
-
gripper | object containing the gripper information |
- Returns
- the composition of grasp constraint and its complement, that that is a full relative transformation constraint.
◆ createGraspComplement()
virtual ImplicitPtr_t hpp::manipulation::Handle::createGraspComplement |
( |
const GripperPtr_t & |
gripper, |
|
|
std::string |
name |
|
) |
| const |
|
virtual |
Create complement constraint of gripper grasping this handle
- Parameters
-
gripper | object containing the gripper information |
- Returns
- complement constraint: constraint combined with its complement constitute a full relative transformation constraint. The complement constraint is parameterizable (has non constant right hand side).
◆ createPreGrasp()
Create constraint corresponding to a pregrasping task.
- Parameters
-
gripper | object containing the gripper information |
- Returns
- the constraint of relative transformation between the handle and the gripper.
- Note
- 6 DOFs of the relative transformation between the handle and the gripper are constrained. The transformation is shifted along x-axis of value shift.
◆ init()
void hpp::manipulation::Handle::init |
( |
HandleWkPtr_t |
weakPtr | ) |
|
|
inlineprotected |
◆ joint() [1/2]
const JointPtr_t& hpp::manipulation::Handle::joint |
( |
| ) |
const |
|
inline |
Get joint to which the handle is linked.
◆ joint() [2/2]
void hpp::manipulation::Handle::joint |
( |
const JointPtr_t & |
joint | ) |
|
|
inline |
Set joint to which the handle is linked.
◆ localPosition()
const Transform3f& hpp::manipulation::Handle::localPosition |
( |
| ) |
const |
|
inline |
Get local position in joint frame.
◆ mask() [1/2]
void hpp::manipulation::Handle::mask |
( |
const std::vector< bool > & |
mask | ) |
|
◆ mask() [2/2]
const std::vector<bool>& hpp::manipulation::Handle::mask |
( |
| ) |
const |
|
inline |
◆ name() [1/2]
const std::string& hpp::manipulation::Handle::name |
( |
| ) |
const |
|
inline |
◆ name() [2/2]
void hpp::manipulation::Handle::name |
( |
const std::string & |
n | ) |
|
|
inline |
◆ print()
virtual std::ostream& hpp::manipulation::Handle::print |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtual |
◆ robot()
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
const Handle & |
|
|
) |
| |
|
friend |
◆ className
std::string hpp::manipulation::Handle::className |
|
static |
The documentation for this class was generated from the following file: