DepthAI ROS 驱动程序
最后更新
depthai_ros_driver 包中的可执行文件。这会将您的摄像头作为 ROS2 组件/ROS Nodelet 运行,并允许您使用 ROS 参数自定义摄像头。ROS2 和 ROS1 之间主要的 API 区别在于参数名称使用不同的约定——ROS2 中的参数使用 . 命名空间,ROS1 中的参数使用 _ 命名空间,例如在 ROS2 中:camera.i_pipeline_type,ROS1 中:camera_i_pipeline_type。为简单起见,本自述文件使用 ROS2 约定。所有可用参数及其默认值的列表可在自述文件底部找到。以 r_ 开头的参数可以在运行时自由修改,例如使用 rqt。以 i_ 开头的参数在摄像头初始化时设置,要更改它们,您必须调用 stop 和 start 服务。这可用于在运行时热插拔神经网络、更改分辨率等。启动文件
camera.launch.py以 RGBD 模式启动摄像头,并以空间(Mobilenet)模式启动神经网络。rgbd_pcl.launch.py以基本 RGBD 配置启动摄像头,不加载任何神经网络。还加载用于 RGBD 点云的 ROS 深度处理节点。example_multicam.launch.py同时启动多个摄像头,每个摄像头都在不同的容器中。编辑config目录中的multicam_example.yaml配置文件以更改参数。example_segmentation.launch.py以 RGBD + 语义分割(管道类型=RGBD,神经网络类型=rgb)模式启动摄像头。pointcloud.launch.py- 类似于rgbd_pcl.launch.py,但不使用 RGB 组件进行点云。example_marker_publish.launch.py启动camera.launch.py+ 发布检测到的对象作为标记/tfs 的小型 python 节点。rtabmap.launch.py启动摄像头和 RTAB-MAP RGBD SLAM(您需要先安装它 -sudo apt install ros-$ROS_DISTRO-rtabmap-ros)。您可能需要在此处通过参数设置手动对焦。
ros2 launch depthai_ros_driver camera.launch.py(ROS2)roslaunch depthai_ros_driver camera.launch(ROS1)
从外参发布 TF
depthai_bridge 中的 TFPublisher 类来覆盖,该类根据设备的摄像头校准数据重新发布带有更新信息的描述。要在 depthai_ros_driver 中启用此行为,您可以使用以下参数:camera.i_publish_tf_from_calibration- 将此设置为 true 将启动 TFPublisher
camera.i_tf_camera_name- 如果未设置,则默认为节点名称camera.i_tf_camera_model- 如果未设置,将自动检测。如果节点无法检测到摄像头的 STL 文件,则将其设置为OAK-D。要在camera.launch.py中明确设置,请设置override_cam_model:=truecamera.i_tf_base_framecamera.i_tf_parent_framecamera.i_tf_cam_pos_xcamera.i_tf_cam_pos_ycamera.i_tf_cam_pos_zcamera.i_tf_cam_rollcamera.i_tf_cam_pitchcamera.i_tf_cam_yaw
camera.launch.py 时,您可以设置 pass_tf_args_as_params:=true,以便使用 TF 参数填充这些参数。例如 ros2 launch depthai_ros_driver camera.launch.py pass_tf_args_as_params:=true parent_frame:=map cam_pos_x:=1.0 imu_from_descr:=true还可以使用 camera.i_tf_custom_urdf_path 和 camera.i_tf_custom_xacro_args 设置自定义 URDF 路径(目前仅支持绝对路径)和自定义 xacro 参数。请注意,robot_state_publisher 必须正在运行。关于外参的注意事项
如果您的摄像头 IMU 未校准,将显示警告,并且 IMU 将以零旋转和零平移发布。您可以通过设置
camera.i_tf_imu_from_descr: true 来覆盖此行为。这将根据摄像头模型从 URDF 发布默认 IMU 外参。可用传感器及其分辨率:
- IMX378 - {"12MP", "4K", "1080P"},默认 1080P
- OV9282 - {"800P", "720P", "400P"},默认 800P
- OV9782 - {"800P", "720P", "400P"},默认 800P
- OV9281 - {"800P", "720P", "400P"},默认 800P
- IMX214 - {"13MP", "12MP", "4K", "1080P"},默认 1080P
- IMX412 - {"13MP", "12MP", "4K", "1080P"},默认 1080P
- OV7750 - {"480P", "400P"},默认 480P
- OV7251 - {"480P", "400P"},默认 480P
- IMX477 - {"12MP", "4K", "1080P"},默认 1080P
- IMX577 - {"12MP", "4K", "1080P"},默认 1080P
- AR0234 - {"1200P"},默认 1200P
- IMX582 - {"48MP", "12MP", "4K"},默认 4K
- LCM48 - {"48MP", "12MP", "4K"},默认 4K
设置 RGB 参数
ISP 帧。要设置输出图像的自定义宽度和高度,您可以设置 i_isp_num 和 i_isp_den 来缩放图像尺寸(默认分别为 2 和 3,因此从 1920x1080 缩放到 1280x720),请注意,为了使 RGBD 对齐正常工作,结果宽度和高度必须可被 16 整除。此外,您可以设置 i.output_isp: false 以使用 video 输出,并使用 i_width 和 i_height 参数设置自定义尺寸。设置立体参数
深度对齐
stereo.i_align_depth: true 时,立体输出将对齐到由 stereo.i_board_socket_id 参数指定的板载插座(默认为 0/CAM_A)。您可以通过设置例如右流的 i_publish_right_rect: true 来启用校正后的立体流。您还可以设置 i_publish_synced_rect_pair: true 以获取具有相同时间戳的两幅图像。立体插座顺序
stereo.i_reverse_stereo_socket_order: true(这也可以为单个传感器设置)。自定义传感器插座
stereo.i_left_socket_id/stereo.i_right_socket_id。请注意,目前如果您想使用 rgb/中心插座而不是给定对中的一个,您将需要为此构建一个自定义管道。特征跟踪器
depthai_ros_msgs/msg/TrackedFeatures 消息。 要启用例如 rgb 节点上的特征,请设置 rgb: i_enable_feature_tracker: true。要在校正流上启用发布,请设置例如 stereo: i_left_rect_enable_feature_tracker。设置 IMU 参数
i_acc_freq: 400- 加速度计传感器频率i_acc_cov: 0.0- 加速度计协方差i_batch_report_threshold: 1- 批处理报告大小i_enable_rotation: false- 是否启用旋转矢量和磁力计数据(在使用 IMU_WITH_MAGN/IMU_WITH_MAGN_SPLIT 消息类型时可用)i_gyro_cov: 0.0- 陀螺仪协方差i_gyro_freq: 400- 陀螺仪频率i_mag_cov: 0.0- 磁力计协方差i_mag_freq: 100- 磁力计频率i_max_batch_reports: 10- 每批最大报告数i_message_type: IMU- ROS 发布器类型:IMU- sensor_msgs/ImuIMU_WITH_MAG- depthai_ros_msgs/ImuWithMagneticFieldIMU_WITH_MAG_SPLIT- 两个发布器 - sensor_msgs/Imu 和 sensor_msgs/MagneticFieldi_rot_cov: -1.0- 旋转协方差i_rot_freq: 400- 旋转频率i_sync_method: LINEAR_INTERPOLATE_ACCEL- 同步方法。可用选项:COPYLINEAR_INTERPOLATE_GYROLINEAR_INTERPOLATE_ACCELi_rotation_vector_type- 旋转矢量类型,更多信息请参考 此链接。可用选项:ROTATION_VECTORGAME_ROTATION_VECTORGEOMAGNETIC_ROTATION_VECTORARVR_STABILIZED_ROTATION_VECTORARVR_STABILIZED_GAME_ROTATION_VECTOR
停止/启动摄像头以节省电量/重新配置
camera.i_restart_on_diagnostics_error: true。管道参数
camera_i_pipeline_type可以是RGB- 仅发布 RGB 流,NN 可用RGBD- 发布 RGB + 深度流(为左右摄像头设置i_publish_topic以启用它们),NN 和空间 NN 可用Stereo- 发布左右传感器流,NN 可为每个传感器单独设置RGBStereo- 发布 RGB + 左 + 右流,NN 可为每个传感器单独设置Depth- 仅发布深度流,NN 可通过参数在立体节点上设置CamArray- 发布所有检测到的传感器流,NN 可为每个传感器单独设置Tof- 仅发布 TOF 流,无 NN 可用DepthTof- 发布深度 + TOF 流,特定于 OAK-D-SR-POE,NN 可通过参数在立体节点上设置StereoToF- 发布立体 + TOF 流,特定于 OAK-D-SR-POE,NN 可通过参数在立体节点上设置RGBToF- 发布 RGB + TOF 流,特定于 OAK-D-SR-POE,NN 可通过参数在立体节点上设置 这告诉摄像头是否应加载立体组件。默认设置为RGBD。 也可以创建自定义管道,因为所有类型都定义为插件。
test_plugins),在该包中创建一个可执行文件(test_plugins.cpp)。在该文件中,定义一个继承自 depthai_ros_driver::pipeline_gen::BasePipeline 并覆盖 createPipeline 方法的自定义插件。之后导出插件,例如:C
1#include <pluginlib /class_list_macros.hpp>
2 PLUGINLIB_EXPORT_CLASS(test_plugins::Test, depthai_ros_driver::pipeline_gen::BasePipeline)Xml
1<library path="test_plugins">
2 <class type="test_plugins::Test" base_class_type="depthai_ros_driver::pipeline_gen::BasePipeline">
3 <description>Test Pipeline.</description>
4 </class>
5 </library>camera.i_pipeline_type 设置为 test_plugins::Test。神经网络
camera 参数控制:camera.i_nn_type可以是none、rgb或spatial。这决定了我们加载的神经网络是否也应该获取深度信息(例如以 3D 格式提供检测)。默认设置为spatial。camera.i_mx_id/camera.i_ip/camera.i_usb_port_id用于连接到特定摄像头。如果未设置,它会自动连接到下一个可用设备。您可以通过运行默认启动文件从日志中获取这些参数。nn.i_nn_config_path表示包含要加载的神经网络类型和要使用的参数信息的 JSON 文件的路径。目前我们提供加载 MobileNet、Yolo 和分割(非空间)模型的选项。要查看它们的示例配置,请导航到depthai_ros_driver/config/nn。默认为depthai_ros_driver中的mobilenet.json。
depthai_ros_driver/segmentationdepthai_ros_driver/mobilenetdepthai_ros_driver/yolo
sensor_name.i_enable_nn 设置为 true 来在特定传感器上运行神经网络。之后,您可以类似地将 sensor_name_nn.i_nn_config_path 设置为配置文件的路径。 您还可以为 Stereo 节点设置空间神经网络,并将其左右流之一用作 rgb 输入。这可以在具有 RGB 侧传感器的摄像头(如 OAK-D-SR 和 OAK-D-LR)中启用。设置也类似:stereo.i_enable_spatial_nn- 设置为 true 以启用空间神经网络stereo.i_spatial_nn_source- 设置为left或right以选择哪个传感器用作神经网络的 rgb 输入stereo_nn.i_nn_config_path- 空间神经网络配置文件的路径
depthai_ros_driver/config/camera.yaml 中查看。同步
pipeline_gen: i_enable_sync: true,例如 rgb.i_synced: true 和 stereo.i_synced: true。 当运行 camera.launch.py 并带有 pointcloud.enable:=true 参数时,将应用此示例配置。特定摄像头配置
PoE 摄像头
subpixel 深度过滤。要启用低带宽,例如对于 rgb 摄像头,请更改参数:rgb.i_low_bandwidth-true以启用rgb.i_low_bandwidth_quality- 所需质量百分比(默认 50) 有关所有流的示例参数,请参阅low_bandwidth.yaml文件。
ToF 摄像头
sr_poe_rgbd_pcl.launch.py。 这也利用了 OAK-D-SR 特定的管道配置,您可以在上面找到有关管道类型的更多信息。 请注意,目前 ToF 摄像头由于传感器插座命名约定而以 rgb 帧发布图像。RealSense 兼容性
camera.launch.py 并带有 rs_compat:=true 参数来模拟 RealSense 摄像头的行为。 这将使用 RGBD 管道设置摄像头,并发布与 RealSense 摄像头兼容的主题名称。 TF 帧也将以 RealSense 格式提供。与 RS 节点的工作方式类似,您可以使用 pointcloud.enable:=true 参数启用点云发布。 请注意,驱动程序将以不同的名称和命名空间以及不同的 DAI 节点名称生成,因此您可能需要相应地调整您的配置文件。 命名约定如下:- 命名空间:
''->camera - 节点名称:
oak->camera rgb->colorstereo->depth- 'left' ->
infra_2 - 'right' ->
infra_1 - 帧
oak->camera_link
示例
Python
1# RealSense 驱动程序的示例包含
2rs_camera_launch_include = IncludeLaunchDescription(
3 PythonLaunchDescriptionSource([
4 PathJoinSubstitution([
5 FindPackageShare('realsense2_camera'),
6 'launch',
7 'rs_launch.py',
8 ])
9 ]),
10 launch_arguments={
11 'pointcloud.enable': true,
12 }.items()
13)Python
1# OAK 驱动程序的示例包含
2oak_camera_launch_include = IncludeLaunchDescription(
3 PythonLaunchDescriptionSource([
4 PathJoinSubstitution([
5 FindPackageShare('depthai_ros_driver'),
6 'launch',
7 'camera.launch.py',
8 ])
9 ]),
10 launch_arguments={
11 'rs_compat': true,
12 'pointcloud.enable': true,
13 }.items()
14)RTABMap 与 RealSense 兼容性示例
rtabmap_ros 包中的一个示例,realsense_d435i_color.launch.py。 注意 此示例截至目前(2024-08-27)需要根据 RS 主题名称进行调整,如下所示:之前
Python
1remappings=[
2('imu', '/imu/data'),
3('rgb/image', '/camera/color/image_raw'),
4('rgb/camera_info', '/camera/color/camera_info'),
5('depth/image', '/camera/realigned_depth_to_color/image_raw')]之后
Python
1remappings=[
2('imu', '/imu/data'),
3('rgb/image', '/camera/camera/color/image_raw'),
4('rgb/camera_info', '/camera/camera/color/camera_info'),
5('depth/image', '/camera/camera/depth/image_rect_raw')]Command Line
1ros2 launch realsense2_camera rs_launch.py enable_gyro:=true enable_accel:=true unite_imu_method:=1 enable_sync:=trueCommand Line
1ros2 launch depthai_ros_driver camera.launch.py rs_compat:=truedepthai_ros_driver 包中的 rtabmap.launch.py 示例,以使用 OAK 摄像头运行 RTABMap。您还可以进行少量修改,以在此示例中启用 RS 模式。重新校准
- 使用每个图像流可用的
set_camera_info服务 - 使用
i_calibration_file参数指向校准文件。注意 摄像头名称必须以/开头,例如/rgb。有关示例校准文件,请参阅depthai_ros_driver/config/calibration。 提供了calibration.launch文件,用于以单目和立体配置启动 ROS 摄像头校准器节点。 校准文件语法(来自camera_info_manager):
Yaml
1- file:///full/path/to/local/file.yaml
2- file:///full/path/to/videre/file.ini
3- package://camera_info_manager/tests/test_calibration.yaml
4- package://ros_package_name/calibrations/camera3.yaml将外部源用于神经网络推理或立体深度
示例场景
- 我们希望根据 USB 摄像头节点发布的图像获取分割或 2D 检测输出。 这可以通过将
rgb.i_simulate_from_topic参数设置为true来实现。这会创建一个sensor_msgs/Image订阅者,默认监听/<node_name>/rgb/input主题,并在每次回调时将数据传递到管道中。 主题名称可以通过经典的 ROS 主题重映射或将rgb.i_simulated_topic_name设置为所需名称来更改。 默认情况下,原始传感器节点仍在运行并发布数据。将rgb.i_disable_node设置为 true 将阻止其生成。请查看depthai_filters中的det2d_usb_cam_overlay.launch.py以查看其运行情况。 - 计算深度 -
left和right传感器节点都可以按照上面的示例进行设置,以从外部主题计算深度/视差。请注意,为此,您需要指定:
left.i_board_socket_id: 1right.i_board_socket_id: 2- 默认立体输入尺寸设置为 1280x720,如果图像尺寸不同,要设置自定义尺寸,请设置
stereo.i_set_input_size: true并相应调整stereo.i_input_width和stereo.i_input_height。 - 使用
camera.i_external_calibration_path参数的外部校准文件路径。要从设备获取校准,您可以将camera.i_calibration_dump设置为 true 或调用save_calibration服务。校准将保存到/tmp/<mx_id>_calibration.json。 一个示例可以在depthai_ros_driver中的stereo_from_rosbag.launch.py中看到。
开发者指南
- 创建单独的工作区
- 将存储库克隆到 src
- 将
.devcontainer目录复制到主工作区目录 - 在 VSCode 中打开工作区目录
参数列表
Yaml
1/oak:
2ros__parameters:
3 camera:
4 i_calibration_dump: false
5 i_enable_diagnostics: true
6 i_enable_ir: true
7 i_enable_sync: false
8 i_external_calibration_path: ""
9 i_floodlight_brightness: 0
10 i_ip: ""
11 i_laser_dot_brightness: 800
12 i_mx_id: ""
13 i_nn_type: none
14 i_pipeline_dump: false
15 i_pipeline_type: RGBD
16 i_publish_tf_from_calibration: false
17 i_restart_on_diagnostics_error: false
18 i_rs_compat: false
19 i_tf_base_frame: oak
20 i_tf_cam_pitch: "0.0"
21 i_tf_cam_pos_x: "0.0"
22 i_tf_cam_pos_y: "0.0"
23 i_tf_cam_pos_z: "0.0"
24 i_tf_cam_roll: "0.0"
25 i_tf_cam_yaw: "0.0"
26 i_tf_camera_model: ""
27 i_tf_camera_name: oak
28 i_tf_custom_urdf_location: ""
29 i_tf_custom_xacro_args: ""
30 i_tf_imu_from_descr: "false"
31 i_tf_parent_frame: oak-d-base-frame
32 i_usb_port_id: ""
33 i_usb_speed: SUPER_PLUS
34 diagnostic_updater:
35 period: 1.0
36 pipeline_gen:
37 i_enable_diagnostics: true
38 i_enable_imu: true
39 i_enable_sync: false
40 imu:
41 i_acc_cov: 0.0
42 i_acc_freq: 400
43 i_batch_report_threshold: 5
44 i_enable_rotation: false
45 i_get_base_device_timestamp: false
46 i_gyro_cov: 0.0
47 i_gyro_freq: 400
48 i_mag_cov: 0.0
49 i_max_batch_reports: 10
50 i_message_type: IMU
51 i_rot_cov: -1.0
52 i_sync_method: LINEAR_INTERPOLATE_ACCEL
53 i_update_ros_base_time_on_ros_msg: false
54 left:
55 i_add_exposure_offset: false
56 i_board_socket_id: 1
57 i_calibration_file: ""
58 i_disable_node: false
59 i_enable_feature_tracker: false
60 i_enable_lazy_publisher: true
61 i_enable_nn: false
62 i_exposure_offset: 0
63 i_fps: 30.0
64 i_fsync_continuous: false
65 i_fsync_trigger: false
66 i_get_base_device_timestamp: false
67 i_height: 720
68 i_low_bandiwdth_frame_freq: 30
69 i_low_bandwidth: false
70 i_low_bandwidth_bitrate: 0
71 i_low_bandwidth_ffmpeg_encoder: libx264
72 i_low_bandwidth_profile: 4
73 i_low_bandwidth_quality: 50
74 i_max_q_size: 30
75 i_publish_compressed: false
76 i_publish_topic: false
77 i_resolution: 720P
78 i_reverse_stereo_socket_order: false
79 i_sensor_img_orientation: AUTO
80 i_set_isp3a_fps: false
81 i_simulate_from_topic: false
82 i_simulated_topic_name: ""
83 i_synced: false
84 i_update_ros_base_time_on_ros_msg: false
85 i_width: 1280
86 r_exposure: 1000
87 r_iso: 800
88 r_set_man_exposure: false
89 nn:
90 i_board_socket_id: 0
91 i_disable_resize: false
92 i_enable_passthrough: false
93 i_enable_passthrough_depth: false
94 i_get_base_device_timestamp: false
95 i_num_inference_threads: 2
96 i_num_pool_frames: 4
97 i_update_ros_base_time_on_ros_msg: false
98 rgb:
99 i_add_exposure_offset: false
100 i_board_socket_id: 0
101 i_calibration_file: ""
102 i_disable_node: false
103 i_enable_feature_tracker: false
104 i_enable_lazy_publisher: true
105 i_enable_nn: false
106 i_enable_preview: false
107 i_exposure_offset: 0
108 i_fps: 30.0
109 i_fsync_continuous: false
110 i_fsync_trigger: false
111 i_get_base_device_timestamp: false
112 i_height: 720
113 i_interleaved: false
114 i_isp_den: 3
115 i_isp_num: 2
116 i_keep_preview_aspect_ratio: true
117 i_low_bandiwdth_frame_freq: 30
118 i_low_bandwidth: true
119 i_low_bandwidth_bitrate: 0
120 i_low_bandwidth_ffmpeg_encoder: libx264
121 i_low_bandwidth_profile: 4
122 i_low_bandwidth_quality: 50
123 i_max_q_size: 30
124 i_output_isp: true
125 i_preview_height: 300
126 i_preview_size: 300
127 i_preview_width: 300
128 i_publish_compressed: false
129 i_publish_topic: true
130 i_resolution: 1080P
131 i_reverse_stereo_socket_order: false
132 i_sensor_img_orientation: AUTO
133 i_set_isp3a_fps: false
134 i_set_isp_scale: true
135 i_simulate_from_topic: false
136 i_simulated_topic_name: ""
137 i_synced: false
138 i_update_ros_base_time_on_ros_msg: false
139 i_width: 1280
140 r_exposure: 20000
141 r_focus: 1
142 r_iso: 800
143 r_set_man_exposure: false
144 r_set_man_focus: false
145 r_set_man_whitebalance: false
146 r_whitebalance: 3300
147 right:
148 i_add_exposure_offset: false
149 i_board_socket_id: 2
150 i_calibration_file: ""
151 i_disable_node: false
152 i_enable_feature_tracker: false
153 i_enable_lazy_publisher: true
154 i_enable_nn: false
155 i_exposure_offset: 0
156 i_fps: 30.0
157 i_fsync_continuous: false
158 i_fsync_trigger: false
159 i_get_base_device_timestamp: false
160 i_height: 720
161 i_low_bandiwdth_frame_freq: 30
162 i_low_bandwidth: false
163 i_low_bandwidth_bitrate: 0
164 i_low_bandwidth_ffmpeg_encoder: libx264
165 i_low_bandwidth_profile: 4
166 i_low_bandwidth_quality: 50
167 i_max_q_size: 30
168 i_publish_compressed: false
169 i_publish_topic: false
170 i_resolution: 720P
171 i_reverse_stereo_socket_order: false
172 i_sensor_img_orientation: AUTO
173 i_set_isp3a_fps: false
174 i_simulate_from_topic: false
175 i_simulated_topic_name: ""
176 i_synced: false
177 i_update_ros_base_time_on_ros_msg: false
178 i_width: 1280
179 r_exposure: 1000
180 r_iso: 800
181 r_set_man_exposure: false
182
183 stereo:
184 i_add_exposure_offset: false
185 i_align_depth: true
186 i_bilateral_sigma: 0
187 i_board_socket_id: 0
188 i_depth_filter_size: 5
189 i_depth_preset: HIGH_ACCURACY
190 i_disparity_width: DISPARITY_96
191 i_enable_alpha_scaling: false
192 i_alpha_scaling: 0.0
193 i_enable_brightness_filter: false
194 i_brightness_filter_min_brightness: 0
195 i_brightness_filter_max_brightness: 256
196 i_enable_companding: false
197 i_enable_decimation_filter: false
198 i_decimation_filter_decimation_mode: PIXEL_SKIPPING
199 i_decimation_filter_decimation_factor: 1
200 i_enable_disparity_shift: false
201 i_disparity_shift: 0
202 i_enable_distortion_correction: false
203 i_enable_lazy_publisher: true
204 i_enable_spatial_filter: false
205 i_spatial_filter_hole_filling_radius: 2
206 i_spatial_filter_alpha: 0.5
207 i_spatial_filter_delta: 20
208 i_spatial_filter_iterations: 1
209 i_enable_spatial_nn: false
210 i_enable_speckle_filter: false
211 i_speckle_filter_speckle_range: 50
212 i_enable_temporal_filter: false
213 i_temporal_filter_alpha: 0.4
214 i_temporal_filter_delta: 20
215 i_temporal_filter_persistency: VALID_2_IN_LAST_4
216 i_enable_threshold_filter: false
217 i_threshold_filter_min_range: 400
218 i_threshold_filter_max_range: 15000
219 i_exposure_offset: 0
220 i_extended_disp: false
221 i_get_base_device_timestamp: false
222 i_height: 720
223 i_left_rect_add_exposure_offset: false
224 i_left_rect_enable_feature_tracker: false
225 i_left_rect_exposure_offset: 0
226 i_left_rect_low_bandwidth: false
227 i_left_rect_low_bandwidth_bitrate: 0
228 i_left_rect_low_bandwidth_ffmpeg_encoder: libx264
229 i_left_rect_low_bandwidth_frame_freq: 30
230 i_left_rect_low_bandwidth_profile: 4
231 i_left_rect_low_bandwidth_quality: 50
232 i_left_rect_publish_compressed: false
233 i_left_rect_synced: true
234 i_left_socket_id: 1
235 i_low_bandwidth: false
236 i_low_bandwidth_bitrate: 0
237 i_low_bandwidth_ffmpeg_encoder: libx264
238 i_low_bandwidth_profile: 4
239 i_low_bandwidth_quality: 50
240 i_lr_check: true
241 i_lrc_threshold: 10
242 i_max_q_size: 30
243 i_output_disparity: false
244 i_publish_left_rect: false
245 i_publish_right_rect: false
246 i_publish_synced_rect_pair: false
247 i_publish_topic: true
248 i_rectify_edge_fill_color: 0
249 i_reverse_stereo_socket_order: false
250 i_right_rect_add_exposure_offset: false
251 i_right_rect_enable_feature_tracker: false
252 i_right_rect_exposure_offset: 0
253 i_right_rect_low_bandwidth: false
254 i_right_rect_low_bandwidth_bitrate: 0
255 i_right_rect_low_bandwidth_ffmpeg_encoder: libx264
256 i_right_rect_low_bandwidth_frame_freq: 30
257 i_right_rect_low_bandwidth_profile: 4
258 i_right_rect_low_bandwidth_quality: 50
259 i_right_rect_publish_compressed: false
260 i_right_rect_synced: true
261 i_right_socket_id: 2
262 i_set_disparity_to_depth_use_spec_translation: false
263 i_set_input_size: false
264 i_socket_name: rgb
265 i_spatial_nn_source: right
266 i_stereo_conf_threshold: 240
267 i_subpixel: true
268 i_subpixel_fractional_bits: 3
269 i_synced: false
270 i_update_ros_base_time_on_ros_msg: false
271 i_width: 1280
272 use_sim_time: false
273 tof:
274 i_publish_topic: true
275 i_synced: true
276 i_calibration_file: ""
277 i_low_bandwidth: false # 启用低带宽模式目前可能无法正常工作
278 i_low_bandwidth_bitrate: 0
279 i_low_bandwidth_ffmpeg_encoder: libx264
280 i_low_bandwidth_profile: 4
281 i_low_bandwidth_quality: 80
282 i_get_base_device_timestamp: false
283 i_update_ros_base_time_on_ros_msg: false
284 i_enable_lazy_publisher: false
285 i_add_exposure_offset: false
286 i_exposure_offset: 0
287 i_reverse_stereo_socket_order: false
288 i_board_socket_id: 0
289 i_max_q_size: 8
290 i_width: 640
291 i_height: 480
292 i_fps: 30.0
293 i_enable_optical_correction: false
294 i_enable_fppn_correction: false
295 i_enable_temperature_correction: false
296 i_enable_wiggle_correction: false
297 i_enable_phase_unwrapping: false
298 i_enable_phase_shuffle_temporal_filter: true
299 i_phase_unwrapping_level: 4
300 i_phase_unwrap_error_threshold: 100
301 i_median_filter: MEDIAN_OFF