camera_config.py
Go to the documentation of this file.
00001 import roslib
00002 roslib.load_manifest('hrl_camera')
00003 import cv
00004 
00005 camera_parameters = {
00006         #A sample configuration
00007         'default' :
00008         {
00009             'calibration_image_width' : 320.0,
00010             'calibration_image_height' : 240.0, 
00011             'focal_length_x_in_pixels' : 161.80593,
00012             'focal_length_y_in_pixels' : 163.49099,
00013             'optical_center_x_in_pixels' : 159.78997,
00014             'optical_center_y_in_pixels' : 136.73113,
00015             'lens_distortion_radial_1' : -0.26334,
00016             'lens_distortion_radial_2' : 0.05096,
00017             'lens_distortion_tangential_1' : 0.00105,
00018             'lens_distortion_tangential_2' : -0.00016,
00019             'opencv_bayer_pattern' : None,
00020             #whether this camera was mounted upside down
00021             'upside_down': True,
00022             'color': False,
00023             #the class to load in a normal python import statement
00024             'class': 'firefly',
00025             #UUID obtained by calling 'python camera_uuid.py'
00026             'uid': None 
00027         },
00028 
00029         'dummy_deepthought':
00030         {
00031             'calibration_image_width' : 640.0,
00032             'calibration_image_height' : 480.0, 
00033             'focal_length_x_in_pixels' : 362.381,
00034             'focal_length_y_in_pixels' : 362.260,
00035             'optical_center_x_in_pixels' : 275.630,
00036             'optical_center_y_in_pixels' : 267.914,
00037             'lens_distortion_radial_1' :    -0.270544,
00038             'lens_distortion_radial_2' :    0.0530850,
00039             'lens_distortion_tangential_1' : 0,
00040             'lens_distortion_tangential_2' : 0,
00041             'opencv_bayer_pattern' :  cv.CV_BayerBG2BGR,
00042             'upside_down': False,
00043             'color': True,
00044             'class': 'firefly',
00045             'uid': 7281161
00046         },
00047 
00048 #########################################################################
00049 # Start of cameras on Cody
00050 #########################################################################
00051     'mekabotUTM':
00052     {
00053         'calibration_image_width' : 640.0,
00054         'calibration_image_height' : 480.0,
00055         'focal_length_x_in_pixels' : 362.381,
00056         'focal_length_y_in_pixels' : 362.260,
00057         'optical_center_x_in_pixels' : 275.630,
00058         'optical_center_y_in_pixels' : 267.914,
00059         'lens_distortion_radial_1' : -0.270544,
00060         'lens_distortion_radial_2' : 0.0530850,
00061         'lens_distortion_tangential_1' : 0,
00062         'lens_distortion_tangential_2' : 0,
00063         'opencv_bayer_pattern' : cv.CV_BayerGB2BGR,
00064         #'opencv_bayer_pattern' : cv.CV_BayerBG2BGR,
00065         'type': 'Point Grey Firefly',
00066         'class': 'firefly',
00067         'color': True,
00068         'uid': 8520228
00069     },
00070 
00071 
00072 
00073 #########################################################################
00074 # Start of camera on ELE
00075 #########################################################################
00076         'catadioptric' :
00077         {  
00078             'calibration_image_width' : 640.0,
00079             'calibration_image_height' : 480.0, 
00080             'focal_length_x_in_pixels' : 360,
00081             'focal_length_y_in_pixels' : 360,
00082             'optical_center_x_in_pixels' : 320,
00083             'optical_center_y_in_pixels' : 240,
00084             'lens_distortion_radial_1' :    0,
00085             'lens_distortion_radial_2' :    0,
00086             'lens_distortion_tangential_1' : 0,
00087             'lens_distortion_tangential_2' : 0,
00088             'opencv_bayer_pattern' : None,
00089             'type': 'Point Grey Firefly',
00090             'class': 'firefly',
00091             'color': False,
00092             'uid': 7281154
00093         },
00094 
00095         'stereo_left':
00096         {  
00097             'calibration_image_width' : 640.0,
00098             'calibration_image_height' : 480.0, 
00099             'focal_length_x_in_pixels' : 1017.33,
00100             'focal_length_y_in_pixels' : 1018.47,
00101             'optical_center_x_in_pixels' : 306.264,
00102             'optical_center_y_in_pixels' : 226.465,
00103             'lens_distortion_radial_1' :    -0.480961,
00104             'lens_distortion_radial_2' :     0.341886,
00105             'lens_distortion_tangential_1' : 0,
00106             'lens_distortion_tangential_2' : 0,
00107             'opencv_bayer_pattern' : cv.CV_BayerGR2BGR,
00108             'type': 'Point Grey Firefly',
00109             'class': 'firefly',
00110             'color': True,
00111             'frame_rate': 7.5,
00112             'ros_topic': '/stereohead/left/color_image',
00113             'uid': 7140923
00114         },
00115 
00116         'stereo_right':
00117         {  
00118             'calibration_image_width' : 640.0,
00119             'calibration_image_height' : 480.0, 
00120             'focal_length_x_in_pixels' : 1013.70,
00121             'focal_length_y_in_pixels' : 1015.33,
00122             'optical_center_x_in_pixels' : 303.834,
00123             'optical_center_y_in_pixels' : 219.792,
00124             'lens_distortion_radial_1' :   -0.530238,
00125             'lens_distortion_radial_2' :   0.766580,
00126             'lens_distortion_tangential_1' : 0,
00127             'lens_distortion_tangential_2' : 0,
00128             'opencv_bayer_pattern' : cv.CV_BayerGR2BGR,
00129             'type': 'Point Grey Firefly',
00130             'class': 'firefly',
00131             'color': True,
00132             'frame_rate': 7.5,
00133             'ros_topic': '/stereohead/right/color_image',
00134             'uid': 7041054
00135         },
00136 
00137         'snozzberry_hand' :
00138         {
00139             'calibration_image_width' : 640.0,
00140             'calibration_image_height' : 480.0, 
00141             'focal_length_x_in_pixels' : 351.38 ,
00142             'focal_length_y_in_pixels' : 351.01, 
00143             'optical_center_x_in_pixels' : 301.92,
00144             'optical_center_y_in_pixels' : 203.98,
00145             'lens_distortion_radial_1' :   -0.258504,
00146             'lens_distortion_radial_2' : 0.0482161,
00147             'lens_distortion_tangential_1' : 0.0,
00148             'lens_distortion_tangential_2' : 0.0,
00149             'opencv_bayer_pattern' : cv.CV_BayerGR2BGR,
00150             'color': True,
00151             'type': 'Point Grey Firefly',
00152             'class': 'firefly',
00153             'uid': 7140879,
00154             'fovy': 62.
00155         },
00156 
00157         'ele_carriage' :
00158         {
00159             'calibration_image_width' : 1024.0,
00160             'calibration_image_height' : 768.0, 
00161             'focal_length_x_in_pixels' : 624.043,
00162             'focal_length_y_in_pixels' : 625.488,
00163             'optical_center_x_in_pixels' : 531.805 ,
00164             'optical_center_y_in_pixels' : 404.651,
00165             'lens_distortion_radial_1' :  -0.314033,
00166             'lens_distortion_radial_2' :  0.0973255,
00167             'lens_distortion_tangential_1' : 0.,
00168             'lens_distortion_tangential_2' : 0,
00169             'opencv_bayer_pattern' : cv.CV_BayerGR2RGB,
00170             'cv_cap_prop_mode' : 101,
00171             'upside_down': False,
00172             'color': True,
00173             'type': 'Point Grey DragonFly2',
00174             'class': 'dragonfly2',
00175             'uid': 9030523
00176         },
00177 
00178         'ele_utm_old' :
00179         {
00180             'calibration_image_width' : 640.0,
00181             'calibration_image_height' : 480.0, 
00182             'focal_length_x_in_pixels' :   358.804,
00183             'focal_length_y_in_pixels' :   359.702,
00184             'optical_center_x_in_pixels' : 309.151,
00185             'optical_center_y_in_pixels' : 226.581,
00186 
00187             'lens_distortion_radial_1' : -0.273398,
00188             'lens_distortion_radial_2' : 0.0546037,
00189             'lens_distortion_tangential_1' : 0,
00190             'lens_distortion_tangential_2' : 0,
00191 
00192              'cv_cap_prop_mode' : 101,
00193             'opencv_bayer_pattern' :  cv.CV_BayerBG2BGR,
00194             'color': True,
00195             'type': 'Point Grey Firefly',
00196             'class': 'firefly',
00197             'uid': 8520136
00198         },
00199 #########################################################################
00200 # End of cameras on ELE.
00201 #########################################################################
00202         'remote_head' :
00203         {
00204             'calibration_image_width': 1024.0,
00205             'calibration_image_height': 768.0, 
00206 
00207             'focal_length_x_in_pixels':   863.136719,
00208             'focal_length_y_in_pixels':   863.513672,
00209             'optical_center_x_in_pixels': 546.340088,
00210             'optical_center_y_in_pixels': 403.253998,
00211 
00212             'lens_distortion_radial_1':     -0.417464,
00213             'lens_distortion_radial_2':     0.217398 ,
00214             'lens_distortion_tangential_1': 0.002538 ,
00215             'lens_distortion_tangential_2': 0.000321 ,
00216 
00217             'cv_cap_prop_mode': 101,
00218             'opencv_bayer_pattern': cv.CV_BayerGR2RGB,
00219             'color': True,
00220             'type': 'Point Grey DragonFly2',
00221             'class': 'dragonfly2',
00222             'uid': 9030543
00223         },
00224 
00225         'lab_overhead' :
00226         {
00227             'calibration_image_width' : 1024.0,
00228             'calibration_image_height' : 768.0, 
00229             'focal_length_x_in_pixels' : 462.794,
00230             'focal_length_y_in_pixels' : 462.041,
00231             'optical_center_x_in_pixels' : 488.590,
00232             'optical_center_y_in_pixels' : 428.419,
00233             'lens_distortion_radial_1' : -0.240018,
00234             'lens_distortion_radial_2' : 0.0372740,
00235             'lens_distortion_tangential_1' : 0,
00236             'lens_distortion_tangential_2' : 0,
00237             'opencv_bayer_pattern' : None,
00238             #whether this camera was mounted upside down
00239             'upside_down': True,
00240             'color': True,
00241             'type': 'Point Grey DragonFly2',
00242             #the class to load in a normal python import statement
00243             'class': 'dragonfly2',
00244             #UUID obtained by calling 'python camera_uuid.py'
00245             'uid': None 
00246             }
00247     }


hrl_camera
Author(s): Hai Nguyen, Advait Jain, Cressel Anderson, Marc Killpack
autogenerated on Wed Nov 27 2013 11:37:01