Skip to content

踩坑GitHub IntelRealSense/realsense-ros5 天前

D435i外部触发下Color与Depth无法硬件同步及FPS配置报错 ​

本文由 AI 根据公开内容整理,可能有误,请以原文为准:d435i hardware sync in color image with external trigger(GitHub IntelRealSense/realsense-ros #3444)

状态:已解决

问题 ​

在realsense-ros中使用D435i外部触发时,设置inter_cam_sync_mode: 4仅同步Depth流,Color流不受控。将depth_fps和color_fps设为15时报错Given stream configuration is not supported并回退默认30FPS。即使关闭自动曝光优先级,Color帧率仍无法与外部触发对齐,导致双色深数据不同步。

环境 ​

Intel RealSense D435i, realsense-ros (ROS1), 外部触发源

解决办法 ​

  1. 修正Launch参数:自定义流配置时必须同时指定width、height和fps三个参数(如depth_width:=848 depth_height:=480 depth_fps:=15 color_width:=1280 color_height:=720 color_fps:=15),否则设备拒绝配置并回退默认值。
  2. 强制FPS匹配:D435i的RGB与Depth同步依赖两路流FPS严格一致,必须将color_fps与depth_fps设为相同支持值(6/15/30/60)。
  3. 启用Genlock模式:设置/camera/stereo_module/inter_cam_sync_mode为4(Genlock Slave),此时外部触发频率需设为相机FPS的一半(如相机30FPS对应触发7.5Hz,15FPS对应7.5Hz或尝试10Hz)。
  4. 辅助同步设置:保持enable_auto_exposure: true且`auto_exposure_prior…

讨论原作者:@DannyLi001 等,版权归原作者所有。

来源

本页事实对应的公开页面,以原文为准。

  1. GitHub IntelRealSense/realsense-ros #3444:d435i hardware sync in color image with external trigger访问 2026-10-26