Public Member Functions | Public Attributes
pr2_playpen.pr2_arm_controller2.PR2Arms Class Reference

Class for simple management of the arms and grippers. More...

List of all members.

Public Member Functions

def __init__
 Initializes all of the servers, clients, and variables.
def close_gripper
 Close the gripper.
def get_cep_jtt
def get_ee_jtt
def go_cep_jtt
def l_cart_state_cb
def move_gripper
 Move the gripper the given amount with given amount of effort.
def open_gripper
 Open the gripper.
def r_cart_state_cb
def set_cep_jtt

Public Attributes

 arm_state_lock
 gripper_action_client
 l_arm_cart_pub
 l_cep_pos
 l_cep_rot
 off_point
 r_arm_cart_pub
 r_cep_pos
 r_cep_pos_hooktip
 r_cep_rot
 r_ee_pos
 r_ee_rot
 send_delay
 tf_lstnr

Detailed Description

Class for simple management of the arms and grippers.

Provides functionality for moving the arms, opening and closing the grippers, performing IK, and other functionality as it is developed.

Definition at line 52 of file pr2_arm_controller2.py.


Constructor & Destructor Documentation

def pr2_playpen.pr2_arm_controller2.PR2Arms.__init__ (   self,
  send_delay = 50000000,
  gripper_point = (0.23,0.0,
  force_torque = False 
)

Initializes all of the servers, clients, and variables.

Parameters:
send_delaysend trajectory points send_delay nanoseconds into the future
gripper_pointgiven the frame of the wrist_roll_link, this point offsets the location used in FK and IK, preferably to the tip of the gripper

Definition at line 61 of file pr2_arm_controller2.py.


Member Function Documentation

def pr2_playpen.pr2_arm_controller2.PR2Arms.close_gripper (   self,
  arm,
  effort = 15 
)

Close the gripper.

Parameters:
arm0 for right, 1 for left

Definition at line 191 of file pr2_arm_controller2.py.

def pr2_playpen.pr2_arm_controller2.PR2Arms.get_cep_jtt (   self,
  arm,
  hook_tip = False 
)

Definition at line 116 of file pr2_arm_controller2.py.

Definition at line 110 of file pr2_arm_controller2.py.

def pr2_playpen.pr2_arm_controller2.PR2Arms.go_cep_jtt (   self,
  arm,
  p 
)

Definition at line 154 of file pr2_arm_controller2.py.

Definition at line 103 of file pr2_arm_controller2.py.

def pr2_playpen.pr2_arm_controller2.PR2Arms.move_gripper (   self,
  arm,
  amount = 0.08,
  effort = 15 
)

Move the gripper the given amount with given amount of effort.

Parameters:
arm0 for right, 1 for left
amountthe amount the gripper should be opened
effort- supposed to be in Newtons. (-ve number => max effort)

Definition at line 177 of file pr2_arm_controller2.py.

Open the gripper.

Parameters:
arm0 for right, 1 for left

Definition at line 184 of file pr2_arm_controller2.py.

Definition at line 85 of file pr2_arm_controller2.py.

def pr2_playpen.pr2_arm_controller2.PR2Arms.set_cep_jtt (   self,
  arm,
  p,
  rot = None 
)

Definition at line 126 of file pr2_arm_controller2.py.


Member Data Documentation

Definition at line 61 of file pr2_arm_controller2.py.

Definition at line 61 of file pr2_arm_controller2.py.

Definition at line 61 of file pr2_arm_controller2.py.

Definition at line 103 of file pr2_arm_controller2.py.

Definition at line 103 of file pr2_arm_controller2.py.

Definition at line 61 of file pr2_arm_controller2.py.

Definition at line 61 of file pr2_arm_controller2.py.

Definition at line 85 of file pr2_arm_controller2.py.

Definition at line 85 of file pr2_arm_controller2.py.

Definition at line 85 of file pr2_arm_controller2.py.

Definition at line 85 of file pr2_arm_controller2.py.

Definition at line 85 of file pr2_arm_controller2.py.

Definition at line 61 of file pr2_arm_controller2.py.

Definition at line 61 of file pr2_arm_controller2.py.


The documentation for this class was generated from the following file:


pr2_playpen
Author(s): Marc Killpack / mkillpack3@gatech.edu, Advisor: Prof. Charlie Kemp, Lab: Healthcare Robotics Lab at Georgia Tech
autogenerated on Wed Nov 27 2013 12:18:33