Classes | Functions | Variables
camera_setup_lib Namespace Reference

Classes

class  _object

Functions

def _swig_repr
def get_brightness_settings
def get_frame_rate
def get_gamma
def get_registers
def get_whitebalance
def set_auto
def set_brightness
def set_frame_rate
def set_gamma
def set_stereo_slaving
def set_whitebalance

Variables

int _newclass = 1
 _object = types.ObjectType
dictionary brightness_register_dict
 endCameraSetup = _camera_setup_lib.endCameraSetup
dictionary fps_dict
 getCameraUID = _camera_setup_lib.getCameraUID
 getRegister = _camera_setup_lib.getRegister
 init_bus1394 = _camera_setup_lib.init_bus1394
dictionary register_dict
 setFrameRate = _camera_setup_lib.setFrameRate
 setRegister = _camera_setup_lib.setRegister
dictionary spf_dict

Function Documentation

def camera_setup_lib._swig_repr (   self) [private]

Definition at line 3 of file camera_setup_lib.py.

index would be the .device property of a Camera object

[register function, register value]

Definition at line 88 of file camera_setup_lib.py.

Get the frame rate

Definition at line 59 of file camera_setup_lib.py.

def camera_setup_lib.get_gamma (   index)

Definition at line 105 of file camera_setup_lib.py.

index would be the .device property of a Camera object

[register function, register value]

Definition at line 52 of file camera_setup_lib.py.

Definition at line 113 of file camera_setup_lib.py.

def camera_setup_lib.set_auto (   index)
Set a particular camera to automatically ajdust brightness and exposure

Definition at line 96 of file camera_setup_lib.py.

def camera_setup_lib.set_brightness (   index,
  brightness = None,
  exposure = None,
  shutter_time = None,
  gain = None 
)
If brightness is not specified auto mode is used for all settings. If shutter_time
and gain are specified, exposure does nothing. All values should be set between 0-4095

Definition at line 119 of file camera_setup_lib.py.

def camera_setup_lib.set_frame_rate (   index,
  rate 
)

Definition at line 67 of file camera_setup_lib.py.

def camera_setup_lib.set_gamma (   index,
  gamma 
)
gamma: 0 or 1

Definition at line 108 of file camera_setup_lib.py.

def camera_setup_lib.set_stereo_slaving (   master,
  slave 
)
master and slave would be the .device property of Camera objects

This function assumes that the right camera is slave off of the left

Definition at line 72 of file camera_setup_lib.py.

def camera_setup_lib.set_whitebalance (   index,
  r_val,
  b_val 
)

Definition at line 116 of file camera_setup_lib.py.


Variable Documentation

Definition at line 11 of file camera_setup_lib.py.

camera_setup_lib::_object = types.ObjectType

Definition at line 10 of file camera_setup_lib.py.

Initial value:
00001 { 'brightness':   0x800,  'exposure': 0x804, 
00002                              'shutter_time': 0x81c,  'gain':     0x820,
00003                              'white_balance': 0x80c, 'gamma': 0x818}

Definition at line 26 of file camera_setup_lib.py.

camera_setup_lib::endCameraSetup = _camera_setup_lib.endCameraSetup

Definition at line 20 of file camera_setup_lib.py.

Initial value:
00001 { 60:0xa0000000,
00002                              30:0x80000000,
00003 #                             20:0x70000000, 20 does not seem to be an
00004 #                             option
00005                              15:0x60000000,
00006                              7.5:0x40000000,
00007                              3.75:0x20000000,
00008                              1.875:0x10000000 }

Definition at line 34 of file camera_setup_lib.py.

camera_setup_lib::getCameraUID = _camera_setup_lib.getCameraUID

Definition at line 19 of file camera_setup_lib.py.

camera_setup_lib::getRegister = _camera_setup_lib.getRegister

Definition at line 22 of file camera_setup_lib.py.

camera_setup_lib::init_bus1394 = _camera_setup_lib.init_bus1394

Definition at line 18 of file camera_setup_lib.py.

Initial value:
00001 { 'frame_rate':    0x600, 'trigger_mode':  0x830, 
00002                              'trigger_delay': 0x834, 'pio_direction': 0x11f8, 
00003                              'strobe_0_cnt':  0x1500 }

Definition at line 30 of file camera_setup_lib.py.

camera_setup_lib::setFrameRate = _camera_setup_lib.setFrameRate

Definition at line 21 of file camera_setup_lib.py.

camera_setup_lib::setRegister = _camera_setup_lib.setRegister

Definition at line 23 of file camera_setup_lib.py.

Initial value:
00001 { '0xa':60,
00002                              '0x8':30,
00003                              '0x6':15,
00004                              '0x4':7.5 }

Definition at line 44 of file camera_setup_lib.py.



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