IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Classes | Functions | Variables
Surveillance.deployment.ROS.rosbag_runner Namespace Reference

Classes

class  ImageListener
 

Functions

def get_args ()
 
def resave_to_folder (target)
 

Variables

def args = get_args()
 
 bag = rosbag.Bag(rosbag_file)
 
int call_back_id = 0
 
string command
 
 display
 
 force_restart
 Local configuration for debug. More...
 
 info_dict
 
 listener = ImageListener(args)
 
 lock = threading.Lock()
 
 puzzle_solver
 
 puzzle_solver_mode
 
 read_activity
 
 rosbag_file = os.path.join(args.fDir, args.rosbag_name)
 
 rosbag_name
 
 roscore_proc = None
 
 shell
 
 survelliance_system
 
list target_list = ['bTrack_SolID']
 
string test_activity_topic = "/test_activity"
 
string test_dep_topic = "/test_depth"
 
string test_rgb_topic = "/test_rgb"
 
 timestamp_beginning = None
 
 timestamp_ending = None
 

Detailed Description

@brief          The test script that run the system on a rosbag file,
                include building the system and test the system.

@author         Yiye Chen,          yychen2019@gatech.edu
                Yunzhi Lin,         yunzhi.lin@gatech.edu
@date           02/25/2022

Function Documentation

◆ get_args()

def Surveillance.deployment.ROS.rosbag_runner.get_args ( )

◆ resave_to_folder()

def Surveillance.deployment.ROS.rosbag_runner.resave_to_folder (   target)

Variable Documentation

◆ args

def args = get_args()

◆ bag

bag = rosbag.Bag(rosbag_file)

◆ call_back_id

int call_back_id = 0

◆ command

command
Initial value:
1 = "rosbag play {} -d 2 -r 1 -s 15 -q --topic {} {} {}".format(
2  rosbag_file, test_rgb_topic, test_dep_topic, test_activity_topic)

◆ display

display

◆ force_restart

force_restart

Local configuration for debug.

◆ info_dict

info_dict
Initial value:
1 = yaml.safe_load(
2  subprocess.Popen(['rosbag', 'info', '--yaml', rosbag_file], stdout=subprocess.PIPE).communicate()[0])

◆ listener

listener = ImageListener(args)

◆ lock

lock = threading.Lock()

◆ puzzle_solver

puzzle_solver

◆ puzzle_solver_mode

puzzle_solver_mode

◆ read_activity

read_activity

◆ rosbag_file

rosbag_file = os.path.join(args.fDir, args.rosbag_name)

◆ rosbag_name

rosbag_name

◆ roscore_proc

roscore_proc = None

◆ shell

shell

◆ survelliance_system

survelliance_system

◆ target_list

list target_list = ['bTrack_SolID']

◆ test_activity_topic

string test_activity_topic = "/test_activity"

◆ test_dep_topic

string test_dep_topic = "/test_depth"

◆ test_rgb_topic

string test_rgb_topic = "/test_rgb"

◆ timestamp_beginning

timestamp_beginning = None

◆ timestamp_ending

timestamp_ending = None