Functions | Variables
rs_general::rs_general Namespace Reference

Functions

def get_camera_params_and_values
def is_log_contains_keyword
def parse_camera_type
def shell_cmd_timeout

Variables

tuple BASE_LOG_DIR = (os.path.expanduser('~/.ros/log/'))
tuple LOG_FOLDER = os.listdir(BASE_LOG_DIR)
list LOGFILE = BASE_LOG_DIR+LOG_FOLDER[-1]

Function Documentation

parse args to get all the camera parameters and paired values
   the args transferred from .test file, should remove 4 elements
   in args: start 1 - script name;
            last 3 - '--gtest_output', '--name', '_log';
@fn parse_camera_type
@param args: all the arguments
@return param_dict: dictionary of camera params

Definition at line 38 of file rs_general.py.

def rs_general.rs_general.is_log_contains_keyword (   log_file,
  keyword 
)
check if the keyword contains in log

Definition at line 60 of file rs_general.py.

parse args to get camera type
@fn parse_camera_type
@param args: all the arguments
@return camera_type

Definition at line 23 of file rs_general.py.

def rs_general.rs_general.shell_cmd_timeout (   cmd,
  timeout = 0 
)
Execute shell command till timeout

Definition at line 75 of file rs_general.py.


Variable Documentation

tuple rs_general::rs_general::BASE_LOG_DIR = (os.path.expanduser('~/.ros/log/'))

Definition at line 16 of file rs_general.py.

Definition at line 17 of file rs_general.py.

Definition at line 20 of file rs_general.py.



realsense_camera
Author(s): Rajvi Jingar , Reagan Lopez , Matt Hansen , Mark Horn
autogenerated on Thu Jun 6 2019 21:15:58