IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Public Member Functions | Public Attributes | List of all members
D435RecRosbag Class Reference
Inheritance diagram for D435RecRosbag:
Inheritance graph
[legend]
Collaboration diagram for D435RecRosbag:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, d435.D435_Configs d435_configs=d435.D435_Configs(exposure=100, gain=50), color_topic_name="color", depth_topic_name="depth", depth_scale_topic_name="depth_scale", frame_rate=None)
 
def init_vidWriter (self)
 
def save_frame (self, rgb, depth_before_scale)
 
- Public Member Functions inherited from D435RecBase
def __init__ (self, d435.D435_Configs d435_configs=d435.D435_Configs(exposure=100, gain=50), ext=".bag")
 
def check_duplicate (self, save_file, exist_file)
 
def get_save_path_from_input (self)
 
def postprocess_save_path (self, save_path)
 
def run (self)
 

Public Attributes

 color_topic_name
 
 depth_scale_topic_name
 
 depth_topic_name
 
 frame_rate
 
 vid_writer
 
- Public Attributes inherited from D435RecBase
 d435_configs
 
 d435_starter
 
 depth_scale
 
 ext
 
 save_dir
 
 save_path
 
 vid_writer
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
d435.D435_Configs  d435_configs = d435.D435_Configs(exposure=100, gain=50),
  color_topic_name = "color",
  depth_topic_name = "depth",
  depth_scale_topic_name = "depth_scale",
  frame_rate = None 
)

Member Function Documentation

◆ init_vidWriter()

def init_vidWriter (   self)

Reimplemented from D435RecBase.

◆ save_frame()

def save_frame (   self,
  rgb,
  depth_before_scale 
)

Reimplemented from D435RecBase.

Member Data Documentation

◆ color_topic_name

color_topic_name

◆ depth_scale_topic_name

depth_scale_topic_name

◆ depth_topic_name

depth_topic_name

◆ frame_rate

frame_rate

◆ vid_writer

vid_writer

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