Functions | Variables
log_images Namespace Reference

Functions

def got_pose_cb

Variables

tuple bridge = CvBridge()
tuple cam = dr.dragonfly2(camera_name)
string camera_name = 'remote_head'
tuple cap = cvCreateFileCapture(video_name)
tuple ch_pub = rospy.Publisher('/checker_to_poses/trigger', Empty)
list color = cp['color']
tuple config_pub = rospy.Publisher(topic_name+'_info', CameraInfo)
list cp = cc.camera_parameters[camera_name]
tuple cv_im = cv.LoadImage(name)
tuple cvim = cvQueryFrame(cap)
tuple d = ut.load_pickle(pkl_name)
string dest = 'images_only'
 display = False
tuple distortion_cvmat = cvCreateMat(1,4,cv.CV_32FC1)
tuple dmat_np
list failed_im_list = []
string file_name = '_'
string fname = 'handheld_pull_log_'
tuple ft_pub = rospy.Publisher('/ftlogger/trigger', Empty)
dictionary got_pose_dict = {'flag': False, 'pose_fail': False}
string help = 'publish over ROS'
int i = 0
tuple im = cam.get_frame_debayered()
tuple im_list = deque()
list im_name_list = [opt.single_fname for i in range(10)]
tuple image_pub = rospy.Publisher(topic_name, Image)
tuple imat_np
tuple intrinsic_cvmat = cvCreateMat(3,3,cv.CV_32FC1)
list intrinsic_list
tuple kp = cvWaitKey(1)
tuple l = glob.glob(opt.dir+'/handheld_pull_log*.pkl')
 log_images = False
tuple m
tuple n_images = len(im_name_list)
list name = im_name_list[i]
string nm = '/%05d.png'
tuple p = optparse.OptionParser()
list pkl_name = l[0]
tuple rosimage = bridge.cv_to_imgmsg(cv_im, "bgr8")
string save_dir = '/checker_fail/'
tuple size = (int(cp['calibration_image_width']), int(cp['calibration_image_height']))
tuple t0 = time.time()
tuple t1 = time.time()
tuple t_st = time.time()
tuple t_string = ut.formatted_time()
list time_list = [time.time() for i in range(10)]
tuple time_stamp = ut.formatted_time()
string topic_name = 'cvcamera_'
string topic_name_cb = '/checkerdetector/ObjectDetection'
string type = 'string'
tuple undistort_image = cvCreateImage(size, IPL_DEPTH_8U, 3)
tuple undistort_mapx = cvCreateImage(size, IPL_DEPTH_32F, 1)
tuple undistort_mapy = cvCreateImage(size, IPL_DEPTH_32F, 1)
string video_name = 'mechanism_video_'
tuple vwr
string wnd = 'Checker Fail Images'

Function Documentation

def log_images.got_pose_cb (   data,
  got_pose_dict 
)

Definition at line 18 of file log_images.py.


Variable Documentation

tuple log_images::bridge = CvBridge()

Definition at line 97 of file log_images.py.

tuple log_images::cam = dr.dragonfly2(camera_name)

Definition at line 145 of file log_images.py.

string log_images::camera_name = 'remote_head'

Definition at line 46 of file log_images.py.

tuple log_images::cap = cvCreateFileCapture(video_name)

Definition at line 247 of file log_images.py.

tuple log_images::ch_pub = rospy.Publisher('/checker_to_poses/trigger', Empty)

Definition at line 94 of file log_images.py.

Definition at line 214 of file log_images.py.

tuple log_images::config_pub = rospy.Publisher(topic_name+'_info', CameraInfo)

Definition at line 93 of file log_images.py.

Definition at line 80 of file log_images.py.

tuple log_images::cv_im = cv.LoadImage(name)

Definition at line 108 of file log_images.py.

tuple log_images::cvim = cvQueryFrame(cap)

Definition at line 252 of file log_images.py.

Definition at line 73 of file log_images.py.

string log_images::dest = 'images_only'

Definition at line 40 of file log_images.py.

Definition at line 268 of file log_images.py.

tuple log_images::distortion_cvmat = cvCreateMat(1,4,cv.CV_32FC1)

Definition at line 216 of file log_images.py.

Initial value:
00001 np.array([[cp['lens_distortion_radial_1'],
00002                              cp['lens_distortion_radial_2'],
00003                              cp['lens_distortion_tangential_1'],
00004                              cp['lens_distortion_tangential_2']]])

Definition at line 225 of file log_images.py.

Definition at line 104 of file log_images.py.

Definition at line 285 of file log_images.py.

string log_images::fname = 'handheld_pull_log_'

Definition at line 200 of file log_images.py.

tuple log_images::ft_pub = rospy.Publisher('/ftlogger/trigger', Empty)

Definition at line 142 of file log_images.py.

dictionary log_images::got_pose_dict = {'flag': False, 'pose_fail': False}

Definition at line 99 of file log_images.py.

string log_images::help = 'publish over ROS'

Definition at line 32 of file log_images.py.

int log_images::i = 0

Definition at line 250 of file log_images.py.

tuple log_images::im = cam.get_frame_debayered()

Definition at line 149 of file log_images.py.

tuple log_images::im_list = deque()

Definition at line 151 of file log_images.py.

list log_images::im_name_list = [opt.single_fname for i in range(10)]

Definition at line 60 of file log_images.py.

tuple log_images::image_pub = rospy.Publisher(topic_name, Image)

Definition at line 92 of file log_images.py.

Initial value:
00001 np.array([[cp['focal_length_x_in_pixels'],0,
00002                              cp['optical_center_x_in_pixels']],
00003                             [0,cp['focal_length_y_in_pixels'],
00004                              cp['optical_center_y_in_pixels']],
00005                             [0,0,1]])

Definition at line 218 of file log_images.py.

tuple log_images::intrinsic_cvmat = cvCreateMat(3,3,cv.CV_32FC1)

Definition at line 215 of file log_images.py.

Initial value:
00001 [m[0,0], m[0,1], m[0,2], 0.0,
00002                           m[1,0], m[1,1], m[1,2], 0.0,
00003                           m[2,0], m[2,1], m[2,2], 0.0]

Definition at line 87 of file log_images.py.

tuple log_images::kp = cvWaitKey(1)

Definition at line 161 of file log_images.py.

tuple log_images::l = glob.glob(opt.dir+'/handheld_pull_log*.pkl')

Definition at line 68 of file log_images.py.

Definition at line 158 of file log_images.py.

Initial value:
00001 np.array([ [ cp['focal_length_x_in_pixels'], 0.,
00002                          cp['optical_center_x_in_pixels'], 0. ],
00003                        [ 0., cp['focal_length_y_in_pixels'],
00004                          cp['optical_center_y_in_pixels'], 0. ],
00005                        [ 0., 0., 1., 0.] ])

Definition at line 81 of file log_images.py.

Definition at line 105 of file log_images.py.

Definition at line 107 of file log_images.py.

string log_images::nm = '/%05d.png'

Definition at line 259 of file log_images.py.

tuple log_images::p = optparse.OptionParser()

Definition at line 29 of file log_images.py.

Definition at line 72 of file log_images.py.

tuple log_images::rosimage = bridge.cv_to_imgmsg(cv_im, "bgr8")

Definition at line 110 of file log_images.py.

tuple log_images::save_dir = '/checker_fail/'

Definition at line 274 of file log_images.py.

tuple log_images::size = (int(cp['calibration_image_width']), int(cp['calibration_image_height']))

Definition at line 213 of file log_images.py.

Definition at line 168 of file log_images.py.

Definition at line 163 of file log_images.py.

Definition at line 116 of file log_images.py.

Definition at line 182 of file log_images.py.

list log_images::time_list = [time.time() for i in range(10)]

Definition at line 61 of file log_images.py.

Definition at line 189 of file log_images.py.

string log_images::topic_name = 'cvcamera_'

Definition at line 91 of file log_images.py.

string log_images::topic_name_cb = '/checkerdetector/ObjectDetection'

Definition at line 100 of file log_images.py.

string log_images::type = 'string'

Definition at line 38 of file log_images.py.

tuple log_images::undistort_image = cvCreateImage(size, IPL_DEPTH_8U, 3)

Definition at line 237 of file log_images.py.

tuple log_images::undistort_mapx = cvCreateImage(size, IPL_DEPTH_32F, 1)

Definition at line 231 of file log_images.py.

tuple log_images::undistort_mapy = cvCreateImage(size, IPL_DEPTH_32F, 1)

Definition at line 232 of file log_images.py.

tuple log_images::video_name = 'mechanism_video_'

Definition at line 183 of file log_images.py.

Initial value:
00001 cvCreateVideoWriter(video_name, CV_FOURCC('I','4','2','0'),
00002                                   30, cvGetSize(im_list[0]), True)

Definition at line 184 of file log_images.py.

string log_images::wnd = 'Checker Fail Images'

Definition at line 271 of file log_images.py.



2010_biorob_everyday_mechanics
Author(s): Advait Jain, Hai Nguyen, Charles C. Kemp (Healthcare Robotics Lab, Georgia Tech)
autogenerated on Wed Nov 27 2013 11:58:43