IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Public Member Functions | List of all members
ConfigRS305 Class Reference

config general parameters of Realsense 305 camera More...

Inheritance diagram for ConfigRS305:
Inheritance graph
[legend]
Collaboration diagram for ConfigRS305:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, str yamlFilePath=None)
 the constructor. More...
 
def getConfig (self)
 returns config dictionary More...
 
def setConfig (self, str filePath)
 allows setting all configs at once More...
 
def setConfigParameter (self, cam, param, value)
 allows the setting of a specific parameter of a camera to a certain value More...
 
- Public Member Functions inherited from CfgCamera
def __init__ (self, init_dict=None, key_list=None, new_allowed=True)
 
- Public Member Functions inherited from AlgConfig
def __setattr__ (self, name, value)
 
def dump (self, **kwargs)
 

Detailed Description

config general parameters of Realsense 305 camera

config general parameters of Realsense SR 305 camera

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
str  yamlFilePath = None 
)

the constructor.

If yamlFilePath is not give, default initialization is done

Parameters
[in]yamlFilePaththe file path of the yaml to read camera initailization parameters from
config general parameters of Realsense 305 camera
Args:
    filePath (str):
        path of yaml configuration file

Member Function Documentation

◆ getConfig()

def getConfig (   self)

returns config dictionary

Returns
config the config dictionary
returns config dictionary
Returns:
    congif: the config dictionary

◆ setConfig()

def setConfig (   self,
str  filePath 
)

allows setting all configs at once

Parameters
[in]configa configuration dictionary
allows setting all configs at once
Args:
filePath (str):
    path of yaml configuration file

◆ setConfigParameter()

def setConfigParameter (   self,
  cam,
  param,
  value 
)

allows the setting of a specific parameter of a camera to a certain value

Parameters
[in]camname of the camera to change the value of
[in]paramthe name of the camera parameters
[in]valueto set parameter to
Note
if parameters are unclear, print out config
allows the setting of a specific parameter of a camera to a certain value

Args:
    cam (any): name of camera
    param (any): name of camera parameter
    value (any): value to set parameter to

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