Classes | Variables
pr2_playpen::hrl_manipulation Namespace Reference

Classes

class  HRLControllerPlaypen

Variables

int arm = 0
list center_quat = [0,0,0,1]
list center_xyz = [.625+x, y, table_height+.10]
tuple check_success = rospy.ServiceProxy('playpen_check_success', Check)
dictionary data = {}
tuple date = datetime.datetime.now()
string default = 'this is path to directory for saving files'
tuple f_name = date.strftime("%Y-%m-%d_%H-%M-%S")
tuple file_handle = open(save_dir+'/object'+str(i).zfill(3)+'.pkl', 'w')
tuple hcp = HRLControllerPlaypen()
 inside = False
tuple num_samples = train('table')
tuple p = optparse.OptionParser()
tuple place_rect_center
list place_rect_dims = [.1, .1]
list results = []
 SAVE = False
 save_dir = opt.path_save+f_name
tuple save_pr2_cloud = rospy.ServiceProxy('pr2_save_pt_cloud', Save)
tuple save_pr2_image = rospy.ServiceProxy('pr2_save_image', Save)
tuple start_time = rospy.get_time()
tuple success = hcp.pick_up_object_near_point(target_point, arm)
float table_height = 0.529
tuple target_point = create_point_stamped(target_point_xyz, 'base_link')
list target_point_xyz = [.625, 0, table_height]
tuple train = rospy.ServiceProxy('playpen_train', Train)
tuple x = np.random.uniform(-0.18, 0.18, 1)
tuple y = np.random.uniform(-0.18, 0.18, 1)

Variable Documentation

Definition at line 199 of file hrl_manipulation.py.

Definition at line 303 of file hrl_manipulation.py.

Definition at line 299 of file hrl_manipulation.py.

tuple pr2_playpen::hrl_manipulation::check_success = rospy.ServiceProxy('playpen_check_success', Check)

Definition at line 210 of file hrl_manipulation.py.

Definition at line 232 of file hrl_manipulation.py.

Definition at line 179 of file hrl_manipulation.py.

string pr2_playpen::hrl_manipulation::default = 'this is path to directory for saving files'

Definition at line 170 of file hrl_manipulation.py.

tuple pr2_playpen::hrl_manipulation::f_name = date.strftime("%Y-%m-%d_%H-%M-%S")

Definition at line 181 of file hrl_manipulation.py.

tuple pr2_playpen::hrl_manipulation::file_handle = open(save_dir+'/object'+str(i).zfill(3)+'.pkl', 'w')

Definition at line 231 of file hrl_manipulation.py.

Definition at line 175 of file hrl_manipulation.py.

Definition at line 292 of file hrl_manipulation.py.

Definition at line 227 of file hrl_manipulation.py.

tuple pr2_playpen::hrl_manipulation::p = optparse.OptionParser()

Definition at line 167 of file hrl_manipulation.py.

Initial value:
00001 create_pose_stamped(center_xyz+center_quat,
00002                                                             'base_link')

Definition at line 304 of file hrl_manipulation.py.

Definition at line 290 of file hrl_manipulation.py.

Definition at line 259 of file hrl_manipulation.py.

Definition at line 185 of file hrl_manipulation.py.

Definition at line 187 of file hrl_manipulation.py.

tuple pr2_playpen::hrl_manipulation::save_pr2_cloud = rospy.ServiceProxy('pr2_save_pt_cloud', Save)

Definition at line 212 of file hrl_manipulation.py.

tuple pr2_playpen::hrl_manipulation::save_pr2_image = rospy.ServiceProxy('pr2_save_image', Save)

Definition at line 213 of file hrl_manipulation.py.

Definition at line 242 of file hrl_manipulation.py.

pr2_playpen::hrl_manipulation::success = hcp.pick_up_object_near_point(target_point, arm)

Definition at line 255 of file hrl_manipulation.py.

Definition at line 178 of file hrl_manipulation.py.

tuple pr2_playpen::hrl_manipulation::target_point = create_point_stamped(target_point_xyz, 'base_link')

Definition at line 198 of file hrl_manipulation.py.

Definition at line 197 of file hrl_manipulation.py.

tuple pr2_playpen::hrl_manipulation::train = rospy.ServiceProxy('playpen_train', Train)

Definition at line 209 of file hrl_manipulation.py.

tuple pr2_playpen::hrl_manipulation::x = np.random.uniform(-0.18, 0.18, 1)

Definition at line 294 of file hrl_manipulation.py.

tuple pr2_playpen::hrl_manipulation::y = np.random.uniform(-0.18, 0.18, 1)

Definition at line 295 of file hrl_manipulation.py.



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:32