Package edu.tufts.hrilab.manipulator.pr2
Class PR2RightGripper
java.lang.Object
edu.tufts.hrilab.manipulator.generic.GenericManipulator
edu.tufts.hrilab.manipulator.pr2.PR2RightGripper
-
Field Summary
Fields inherited from class edu.tufts.hrilab.manipulator.generic.GenericManipulator
log, maxGraspWidthMeters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatReturn the current effort, if knownfloatReturn the current gripper position, using the same concept of `position` from moveGripper().floatReturn the goal gripper position, if known, in meters.booleanmoveGripper(float position) Move the gripper.voidshutdown()Shut down any threads or nodes to make everything nice and clean.Methods inherited from class edu.tufts.hrilab.manipulator.generic.GenericManipulator
graspToDistance, instantiateGenericManipulator
-
Constructor Details
-
PR2RightGripper
public PR2RightGripper()
-
-
Method Details
-
moveGripper
public boolean moveGripper(float position) Description copied from class:GenericManipulatorMove the gripper. `position` represents a position in meters. 0.0 is closed, and 0.05 is open 5 cm.- Specified by:
moveGripperin classGenericManipulator
-
getCurrentGripperPosition
public float getCurrentGripperPosition()Description copied from class:GenericManipulatorReturn the current gripper position, using the same concept of `position` from moveGripper().- Specified by:
getCurrentGripperPositionin classGenericManipulator
-
getGoalGripperPosition
public float getGoalGripperPosition()Description copied from class:GenericManipulatorReturn the goal gripper position, if known, in meters. 0.0 is closed, and 0.05 is open 5 cm.- Specified by:
getGoalGripperPositionin classGenericManipulator
-
getCurrentGripperEffort
public float getCurrentGripperEffort()Description copied from class:GenericManipulatorReturn the current effort, if known- Specified by:
getCurrentGripperEffortin classGenericManipulator
-
shutdown
public void shutdown()Description copied from class:GenericManipulatorShut down any threads or nodes to make everything nice and clean.- Specified by:
shutdownin classGenericManipulator
-