Public Member Functions | Public Attributes | Private Attributes | List of all members
pick_and_place.MoveItDemo Class Reference

Public Member Functions

def __init__ (self)
 
def get_pose (self, co)
 
def make_grasps (self, initial_pose_stamped, allowed_touch_objects, grasp_opening=[0])
 
def make_gripper_posture (self, joint_positions)
 
def make_gripper_translation (self, min_dist, desired, vector)
 
def make_places (self, target_id, init_pose)
 
def mat_to_pose (self, mat, transform=None)
 
def pose_to_mat (self, pose)
 
def sendColors (self)
 
def setColor (self, name, r, g, b, a=0.9)
 

Public Attributes

 colors
 
 gripper_closed
 
 gripper_neutral
 
 gripper_opened
 
 gripper_pose_pub
 
 gripper_tighten
 
 scene
 
 scene_pub
 

Private Attributes

 _tf2_buff
 
 _tf2_list
 

Detailed Description

Definition at line 60 of file pick_and_place.py.

Constructor & Destructor Documentation

def pick_and_place.MoveItDemo.__init__ (   self)

Definition at line 61 of file pick_and_place.py.

Member Function Documentation

def pick_and_place.MoveItDemo.get_pose (   self,
  co 
)

Definition at line 505 of file pick_and_place.py.

def pick_and_place.MoveItDemo.make_grasps (   self,
  initial_pose_stamped,
  allowed_touch_objects,
  grasp_opening = [0] 
)

Definition at line 348 of file pick_and_place.py.

def pick_and_place.MoveItDemo.make_gripper_posture (   self,
  joint_positions 
)

Definition at line 303 of file pick_and_place.py.

def pick_and_place.MoveItDemo.make_gripper_translation (   self,
  min_dist,
  desired,
  vector 
)

Definition at line 329 of file pick_and_place.py.

def pick_and_place.MoveItDemo.make_places (   self,
  target_id,
  init_pose 
)

Definition at line 408 of file pick_and_place.py.

def pick_and_place.MoveItDemo.mat_to_pose (   self,
  mat,
  transform = None 
)
Convert a homogeneous matrix to a Pose message, optionally premultiply by a transform.

Args:
    mat (numpy.ndarray): 4x4 array (or matrix) representing a homogenous transform.
    transform (numpy.ndarray): Optional 4x4 array representing additional transform

Returns:
    pose (geometry_msgs.msg.Pose): Pose message representing transform.

Definition at line 542 of file pick_and_place.py.

def pick_and_place.MoveItDemo.pose_to_mat (   self,
  pose 
)
Convert a pose message to a 4x4 numpy matrix.

Args:
    pose (geometry_msgs.msg.Pose): Pose rospy message class.

Returns:
    mat (numpy.matrix): 4x4 numpy matrix

Definition at line 527 of file pick_and_place.py.

def pick_and_place.MoveItDemo.sendColors (   self)

Definition at line 491 of file pick_and_place.py.

def pick_and_place.MoveItDemo.setColor (   self,
  name,
  r,
  g,
  b,
  a = 0.9 
)

Definition at line 474 of file pick_and_place.py.

Member Data Documentation

pick_and_place.MoveItDemo._tf2_buff
private

Definition at line 69 of file pick_and_place.py.

pick_and_place.MoveItDemo._tf2_list
private

Definition at line 70 of file pick_and_place.py.

pick_and_place.MoveItDemo.colors

Definition at line 92 of file pick_and_place.py.

pick_and_place.MoveItDemo.gripper_closed

Definition at line 76 of file pick_and_place.py.

pick_and_place.MoveItDemo.gripper_neutral

Definition at line 77 of file pick_and_place.py.

pick_and_place.MoveItDemo.gripper_opened

Definition at line 75 of file pick_and_place.py.

pick_and_place.MoveItDemo.gripper_pose_pub

Definition at line 89 of file pick_and_place.py.

pick_and_place.MoveItDemo.gripper_tighten

Definition at line 80 of file pick_and_place.py.

pick_and_place.MoveItDemo.scene

Definition at line 83 of file pick_and_place.py.

pick_and_place.MoveItDemo.scene_pub

Definition at line 86 of file pick_and_place.py.


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


turtlebot_arm_moveit_demos
Author(s): Jorge Santos
autogenerated on Fri Feb 7 2020 03:56:37