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 : "astra2"
# Path to the configuration file. If empty, default parameters will be used
config_file_path : "astra2.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
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 : 720
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
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 : 800
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 : 600
2025-04-26 18:12:18 +08:00
# Fps of the depth image. 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 : "RLE"
2025-04-26 18:12:18 +08:00
# 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.
2024-12-24 10:03:32 +08:00
align_mode : "HW"
2025-04-26 18:12:18 +08:00
2024-12-24 10:03:32 +08:00
ir :
2025-04-26 18:12:18 +08:00
# If false, the left IR image will not be enabled
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 : 800
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 : 600
2025-04-26 18:12:18 +08:00
# Fps of the ir image. If 0, the default FPS will be used
2024-12-24 10:03:32 +08:00
ir_fps : 30
2025-04-26 18:12:18 +08:00
# Format of the left IR image. Supported formats are 'Y8'
2024-12-24 10:03:32 +08:00
ir_format : "Y8"
imu :
2025-04-26 18:12:18 +08:00
# If true, 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
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, 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"
point_cloud :
2025-04-26 18:12:18 +08:00
# If true, the 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 true, the extrinsics publish will be enabled
enable_publish_extrinsic : false
# If true, the frame synchronization will be enabled
2024-12-24 10:03:32 +08:00
enable_frame_sync : true
2025-04-26 18:12:18 +08:00
# Publish D2C superimposed image (only for testing).
2024-12-24 10:03:32 +08:00
enable_d2c_viewer : false
2025-04-26 18:12:18 +08:00
# If false, the hardware time will not be used
use_hardware_time : false
# If false, the host time will not be synchronized with the device time
enable_sync_host_time : false
2024-12-24 10:03:32 +08:00
2025-04-26 18:12:18 +08:00
device_sync :
# Device synchronization mode. supports: {1.FREE_RUN 2.STANDALONE 3.PRIMARY 4.SECONDARY 5.SECONDARY_SYNCED 6.SOFTWARE_TRIGGERING 7.HARDWARE_TRIGGERING}.
# For details, Please refer to the OBMultiDeviceSyncMode-related comments in SDK/include/libobsensor/ObTypes.h for a detailed explanation of each mode.
sync_mode : "STANDALONE"
# The delay time of the depth image capture after receiving the capture command or trigger signal in microseconds.
# For details, Please refer to the OBMultiDeviceSyncConfig-related comments in SDK/include/libobsensor/ObTypes.h
depth_delay_us : 0
# The delay time of the color image capture after receiving the capture command or trigger signal in microseconds.
color_delay_us : 0
# The delay time of the image capture after receiving the capture command or trigger signal in microseconds.
trigger2image_delay_us : 0
# Trigger signal output enable flag.
trigger_out_enabled : true
# The delay time of the trigger signal output after receiving the capture command or trigger signal in microseconds.
trigger_out_delay_us : 0
# The frame number of each stream after each trigger in triggering mode.
frames_per_trigger : 2
# software trigger period in ms
software_trigger_period : 33