IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Variables
scripts.vid_playback Namespace Reference

Variables

 args = parser.parse_args()
 
 bag = rosbag.Bag(args.save_file_path)
 
 bridge = CvBridge()
 
 default
 
 default_path
 
 depth = None
 
 depth_clip
 
 depth_scale = None
 
 frame_num = bag.get_message_count(topic_filters="color")
 
 frame_time_interval = total_time / frame_num
 
 help
 
 opKey = cv2.waitKey(1)
 
 parser = argparse.ArgumentParser(description='The d435 camera rosbag recorder.')
 
 ratio
 
 rgb = None
 
 save_file_path
 
 total_time = bag.get_end_time() - bag.get_start_time()
 
 type
 
 vidname = os.path.basename(args.save_file_path)
 
 window_name
 

Detailed Description

    @ brief:        The video playback from the rosbag file

    @ author:       Yiye Chen
    @ date:         02/16/2022

Variable Documentation

◆ args

args = parser.parse_args()

◆ bag

bag = rosbag.Bag(args.save_file_path)

◆ bridge

bridge = CvBridge()

◆ default

default

◆ default_path

default_path
Initial value:
1 = os.path.join(
2  os.path.dirname(os.path.abspath(__file__)),
3  "d435_record.bag"
4 )

◆ depth

depth = None

◆ depth_clip

depth_clip

◆ depth_scale

depth_scale = None

◆ frame_num

frame_num = bag.get_message_count(topic_filters="color")

◆ frame_time_interval

frame_time_interval = total_time / frame_num

◆ help

help

◆ opKey

opKey = cv2.waitKey(1)

◆ parser

parser = argparse.ArgumentParser(description='The d435 camera rosbag recorder.')

◆ ratio

ratio

◆ rgb

rgb = None

◆ save_file_path

save_file_path

◆ total_time

total_time = bag.get_end_time() - bag.get_start_time()

◆ type

type

◆ vidname

vidname = os.path.basename(args.save_file_path)

◆ window_name

window_name