hpp::manipulation::AxialHandle Class Reference

Handle symmetric around its x-axis. More...

#include <hpp/manipulation/axial-handle.hh>

Inheritance diagram for hpp::manipulation::AxialHandle:
Collaboration diagram for hpp::manipulation::AxialHandle:

List of all members.

Public Member Functions

virtual HandlePtr_t clone () const
 Return a pointer to the copy of this.
virtual DifferentiableFunctionPtr_t createGrasp (const GripperPtr_t &gripper) const
 Create constraint corresponding to a gripper grasping this object.
virtual DifferentiableFunctionPtr_t createGraspComplement (const GripperPtr_t &gripper) const
 Create constraint that acts on the non-constrained axis of the constraint generated by Handle::createGrasp.
virtual DifferentiableFunctionPtr_t createPreGrasp (const GripperPtr_t &gripper) const
 Create constraint corresponding to a pregrasping task.
virtual DifferentiableFunctionPtr_t createPreGraspComplement (const GripperPtr_t &gripper, const value_type &shift) const
 Create constraint that acts on the non-constrained axis of the constraint generated by Handle::createPreGrasp.
virtual std::ostream & print (std::ostream &os) const

Static Public Member Functions

static AxialHandlePtr_t create (const std::string &name, const Transform3f &localPosition, const JointPtr_t &joint)
 Create constraint corresponding to a gripper grasping this object.

Protected Member Functions

 AxialHandle (const std::string &name, const Transform3f &localPosition, const JointPtr_t &joint)
 Constructor.
void init (const AxialHandleWkPtr_t &weakPtr)

Protected Attributes

AxialHandleWkPtr_t weakPtr_
 Weak pointer to itself.

Detailed Description

Handle symmetric around its x-axis.


Constructor & Destructor Documentation

hpp::manipulation::AxialHandle::AxialHandle ( const std::string &  name,
const Transform3f localPosition,
const JointPtr_t joint 
) [inline, protected]

Constructor.

Parameters:
robotthe robot that grasps the handle,
graspobject containing the grasp information
Returns:
the constraint of relative position between the handle and the gripper. The rotation around x is not constrained.

Referenced by create().


Member Function Documentation

Return a pointer to the copy of this.

Reimplemented from hpp::manipulation::Handle.

static AxialHandlePtr_t hpp::manipulation::AxialHandle::create ( const std::string &  name,
const Transform3f localPosition,
const JointPtr_t joint 
) [inline, static]

Create constraint corresponding to a gripper grasping this object.

Parameters:
robotthe robot that grasps the handle,
graspobject containing the grasp information
Returns:
the constraint of relative position between the handle and the gripper. The rotation around x is not constrained.

Reimplemented from hpp::manipulation::Handle.

References AxialHandle(), and init().

Create constraint corresponding to a gripper grasping this object.

Parameters:
graspobject containing the grasp information
Returns:
the constraint of relative transformation between the handle and the gripper. The rotation around x is not constrained.

Reimplemented from hpp::manipulation::Handle.

Create constraint that acts on the non-constrained axis of the constraint generated by Handle::createGrasp.

Parameters:
gripperobject containing the gripper information
Returns:
a relative orientation constraint between the handle and the gripper. Only the rotation around the x-axis is constrained.

Reimplemented from hpp::manipulation::Handle.

Create constraint corresponding to a pregrasping task.

Parameters:
gripperobject containing the gripper information
Returns:
the constraint of relative transformation between the handle and the gripper.
Note:
The translation along x-axis and the rotation around z-axis are not constrained.

Reimplemented from hpp::manipulation::Handle.

virtual DifferentiableFunctionPtr_t hpp::manipulation::AxialHandle::createPreGraspComplement ( const GripperPtr_t gripper,
const value_type shift 
) const [virtual]

Create constraint that acts on the non-constrained axis of the constraint generated by Handle::createPreGrasp.

Parameters:
gripperobject containing the gripper information
shiftthe target value along the x-axis
Returns:
the constraint of relative position between the handle and the gripper.
Note:
The translation along x-axis and the rotation around z-axis are constrained.

Reimplemented from hpp::manipulation::Handle.

void hpp::manipulation::AxialHandle::init ( const AxialHandleWkPtr_t &  weakPtr) [inline, protected]

References weakPtr_.

Referenced by create().

virtual std::ostream& hpp::manipulation::AxialHandle::print ( std::ostream &  os) const [virtual]

Reimplemented from hpp::manipulation::Handle.


Member Data Documentation

AxialHandleWkPtr_t hpp::manipulation::AxialHandle::weakPtr_ [protected]

Weak pointer to itself.

Reimplemented from hpp::manipulation::Handle.

Referenced by init().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends