2024-12-24 10:03:32 +08:00
# config/*.yaml files are used to configure the camera parameters
---
orbbec_ros :
camera_parameters :
general :
# Camera model. upport product models by referencing config/*.yaml
camera_model : "gemini2L"
# Path to the configuration file. If empty, default parameters will be used
config_file_path : "gemini2L.yaml"
deivce :
2025-04-26 18:12:18 +08:00
# camera name, usually overwritten by launch file
2024-12-24 10:03:32 +08:00
camera_name : "camera"
2025-04-26 18:12:18 +08:00
# camera serial number, usually overwritten by launch file
2024-12-24 10:03:32 +08:00
serial_number : ""
2025-04-26 18:12:18 +08:00
# The USB port of the camera. This parameter is required when using multiple cameras.
2024-12-24 10:03:32 +08:00
usb_port : ""
2025-04-26 18:12:18 +08:00
# Number of devices. If multiple cameras are required, this parameter must be filled in launch file
2024-12-24 10:03:32 +08:00
device_num : 1
2025-04-26 18:12:18 +08:00
# The delay time for reopening the device, in milliseconds. Usually, there is no need to modify by default.
2024-12-24 10:03:32 +08:00
connection_delay : 100
2025-04-26 18:12:18 +08:00
network_device :
# Whether to enable the function of enumerating network devices. True means enabled and false means disabled. This function is only supported by Femto Mega and Gemini 2 XL devices.
# When accessing these devices through the network, the IP address of the device needs to be preconfigured. The enable switch needs to be set to true.
enumerate_net_device : false
# Port number of the network device. If 0, a random port will be used
net_device_port : 0
# IP address of the network device.
net_device_ip : ""
2024-12-24 10:03:32 +08:00
color :
2025-04-26 18:12:18 +08:00
# If true, the color image will be enabled
2024-12-24 10:03:32 +08:00
enable_color : true
2025-04-26 18:12:18 +08:00
# Width of the color image. If 0, the default width will be used
2024-12-24 10:03:32 +08:00
color_width : 1280
2025-04-26 18:12:18 +08:00
# Height of the color image. If 0, the default height will be used
2024-12-24 10:03:32 +08:00
color_height : 800
2025-04-26 18:12:18 +08:00
# fps of the color image. If 0, the default FPS will be used
2024-12-24 10:03:32 +08:00
color_fps : 30
2025-04-26 18:12:18 +08:00
# Format of the color image.
2024-12-24 10:03:32 +08:00
color_format : "MJPG"
depth :
2025-04-26 18:12:18 +08:00
# If true, the depth image will be enabled
2024-12-24 10:03:32 +08:00
enable_depth : true
2025-04-26 18:12:18 +08:00
# Width of the depth image. If 0, the default width will be used
2024-12-24 10:03:32 +08:00
depth_width : 1280
2025-04-26 18:12:18 +08:00
# Height of the depth image. If 0, the default height will be used
2024-12-24 10:03:32 +08:00
depth_height : 800
2025-04-26 18:12:18 +08:00
# If 0, the default FPS will be used
2024-12-24 10:03:32 +08:00
depth_fps : 30
2025-04-26 18:12:18 +08:00
# Format of the depth image.
2024-12-24 10:03:32 +08:00
depth_format : "Y16"
2025-04-26 18:12:18 +08:00
# If false, the depth scale will not be enabled
enable_depth_scale : true
# Depth registration mode.
2024-12-24 10:03:32 +08:00
depth_registration : false
2025-04-26 18:12:18 +08:00
# The alignment mode to be used. Options are "HW" for hardware alignment and "SW" for software alignment
2024-12-24 10:03:32 +08:00
align_mode : "HW"
2025-04-26 18:12:18 +08:00
# Gemini 2, Gemini 2 L, and Gemini 2 XL cameras support deep working mode switching
# Specific camera deep working mode support types can be found in the deep mode comments.
# Deep working mode support is as follows:{"Unbinned Dense Default","Unbinned Sparse Default","Binned Sparse Default","Obstacle Avoidance"}
# Depth work mode. #For details, Please refer to the comments in SDK/include/libobsensor/Advanced.h for a detailed explanation.
depth_work_mode : ""
# Configure the loading path of the deep filtering configuration file. By default, the deep filtering configuration file is located in the /config/depthfilter directory and is only supported by Gemini2.
depth_filter_config : ""
filter :
soft_filter :
# If true, the soft filter will be enabled
enable_soft_filter : true
# soft_filter_max_diff, If -1, the default value will be used
soft_filter_max_diff : -1
# soft_filter_speckle_size, If -1, the default value will be used
soft_filter_speckle_size : -1
noise_removal_filter :
# If true, the noise removal filter will be enabled
enable_noise_removal_filter : true
2024-12-24 10:03:32 +08:00
ir :
2025-04-26 18:12:18 +08:00
# enable the ir camera stream
2024-12-24 10:03:32 +08:00
enable_ir : true
2025-04-26 18:12:18 +08:00
# Width of the left IR image. If 0, the default width will be used
2024-12-24 10:03:32 +08:00
ir_width : 640
2025-04-26 18:12:18 +08:00
# Height of the left IR image. If 0, the default height will be used
2024-12-24 10:03:32 +08:00
ir_height : 400
2025-04-26 18:12:18 +08:00
# If 0, the default FPS will be used
2024-12-24 10:03:32 +08:00
ir_fps : 15
2025-04-26 18:12:18 +08:00
# Format of the left IR image.
2024-12-24 10:03:32 +08:00
ir_format : "Y8"
imu :
2025-04-26 18:12:18 +08:00
# If true, enable the IMU accelerometer data will be enabled
2024-12-24 10:03:32 +08:00
enable_accel : false
2025-04-26 18:12:18 +08:00
# Rate of the accelerometer
2024-12-24 10:03:32 +08:00
accel_rate : "100hz"
2025-04-26 18:12:18 +08:00
# Range of the accelerometer.
2024-12-24 10:03:32 +08:00
accel_range : "4g"
2025-04-26 18:12:18 +08:00
# If true, enable the IMU gyroscope data will be enabled
2024-12-24 10:03:32 +08:00
enable_gyro : false
2025-04-26 18:12:18 +08:00
# Rate of the gyroscope.
2024-12-24 10:03:32 +08:00
gyro_rate : "100hz"
2025-04-26 18:12:18 +08:00
# Range of the gyroscope.
2024-12-24 10:03:32 +08:00
gyro_range : "1000dps"
2025-04-26 18:12:18 +08:00
# enable_sync_output_accel_gyro
2024-12-24 10:03:32 +08:00
enable_sync_output_accel_gyro : false
point_cloud :
2025-04-26 18:12:18 +08:00
# If true, the depth point cloud will be enabled
2024-12-24 10:03:32 +08:00
enable_point_cloud : true
2025-04-26 18:12:18 +08:00
# enable color point cloud. {fase:disable, true:enable}
2024-12-24 10:03:32 +08:00
enable_colored_point_cloud : false
advanced :
2025-04-26 18:12:18 +08:00
# If false, the hardware time will not be used
use_hardware_time : true