hpp-pinocchio
4.9.1
Wrapping of the kinematic/dynamic chain Pinocchio for HPP.
|
#include <hpp/pinocchio/gripper.hh>
Public Member Functions | |
const JointPtr_t & | joint () const |
Get joint to which the gripper is attached. More... | |
const FrameIndex & | frameId () const |
Get the frame Id of the gripper in the vector of frame of the Model. More... | |
const Transform3f & | objectPositionInJoint () const |
Get handle position in the the Grippering joint. More... | |
const std::string & | name () const |
get name More... | |
value_type | clearance () const |
void | clearance (const value_type &clearance) |
GripperPtr_t | clone () const |
std::ostream & | print (std::ostream &os) const |
Static Public Member Functions | |
static GripperPtr_t | create (const std::string &name, const DeviceWkPtr_t &device) |
static GripperPtr_t | createCopy (const GripperPtr_t &gripper, const DeviceWkPtr_t &otherDevice) |
Protected Member Functions | |
Gripper (const std::string &name, const DeviceWkPtr_t &device) | |
void | init (GripperWkPtr_t weakPtr) |
Definition of a robot gripper
This class represent a robot gripper as a frame attached to the joint of the robot that holds the gripper.
To graps a box-shaped object with small lengths along x and y, the gripper frame should coincide with the object frame.
|
protected |
Constructor
name | of the gripper in the device, |
device |
|
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.
|
inline |
Set the clearance
GripperPtr_t hpp::pinocchio::Gripper::clone | ( | ) | const |
|
inlinestatic |
Return a shared pointer to new instance
name | of the gripper in the device, |
device |
|
inlinestatic |
|
inline |
Get the frame Id of the gripper in the vector of frame of the Model.
|
inlineprotected |
|
inline |
Get joint to which the gripper is attached.
|
inline |
get name
const Transform3f& hpp::pinocchio::Gripper::objectPositionInJoint | ( | ) | const |
Get handle position in the the Grippering joint.
std::ostream& hpp::pinocchio::Gripper::print | ( | std::ostream & | os | ) | const |