robokudo.descriptors.camera_configs.config_filereader_playback

Classes

CameraConfig

Configuration class for file-based camera data playback.

Module Contents

class robokudo.descriptors.camera_configs.config_filereader_playback.CameraConfig

Configuration class for file-based camera data playback.

This class defines the configuration parameters for reading camera data from files, typically used for offline processing or testing. It supports reading from both ROS package directories and regular filesystem paths.

Variables:
  • interface_type – Type of camera interface, set to “FileReader”

  • loop – Flag to enable looping over directory contents

  • target_ros_package – ROS package name containing the data files (optional)

  • target_dir – Directory path containing the data files

  • color2depth_ratio – Ratio between color and depth image resolution (x, y)

  • filename_prefix – Prefix for filtering relevant files

  • kinect_height_fix_mode – Flag to enable Kinect-specific height corrections

Note

If target_ros_package is None, target_dir is used as an absolute or relative path. Otherwise, target_dir is appended to the ROS package path.

interface_type = 'FileReader'
loop = True
target_ros_package = None
target_dir = '/tmp'
color2depth_ratio = (0.5, 0.5)
filename_prefix = 'rk_'
kinect_height_fix_mode = True