配置并启动 RDK X5 上的 MIPI CSI 摄像头、USB 摄像头或双目深度摄像头(RealSense/ZED/Orbbec),通过 Web 浏览器预览实时画面。Use when the user wants to start a camera, preview video, capture images, or troubleshoot camera connection issues on RDK X5. Do NOT use for AI inference on camera feeds (use rdk-x5-ai-detect), audio/video encoding (use rdk-x5-media), or GPIO hardware (use rdk-x5-gpio).
| 类型 | 型号 | 接口 |
|---|---|---|
| MIPI CSI | IMX219, IMX415, IMX477, OV5647, F37, GC4663 | CAM 0/1 |
| MIPI 双目 |
⚠️ 严禁带电插拔 MIPI 摄像头,否则烧坏模组。先断电再接线。
bash
source /opt/tros/humble/setup.bash
bash
source /opt/tros/humble/setup.bash
RealSense:
bash
sudo apt-get install ros-humble-librealsense2 ros-humble-realsense2- -y
ros2 launch realsense2camera rslaunch.py \
enablergbd:=true enablesync:=true \
aligndepth.enable:=true enablecolor:=true enable_depth:=true
ZED:
bash
source /opt/tros/humble/setup.bash
ros2 launch hobotzedcam pubstereoimgs.launch.py need_rectify:=true
bash
source /opt/tros/humble/setup.bash
浏览器访问 http://
bash
cd /app/multimediasamples/tuningtool
make && sudo ./run_tuning.sh
用于调整白平衡、曝光、降噪等 ISP 参数(C 源码需先编译)。
bash
pkill -f ros2.cam ; pkill -f ros2.websocket ; pkill -f ros2.*codec
| 现象 | 原因 | 解决 | |
|---|---|---|---|
| /dev/video* 无设备 | USB 未识别或 MIPI 未接好 | 检查物理连接;dmesg \ | tail 查看内核日志 |
| 启动报 Open camera failed |
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 rdk-x5-camera-1776184870 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 rdk-x5-camera-1776184870 技能
skillhub install rdk-x5-camera-1776184870
文件大小: 2.54 KB | 发布时间: 2026-4-15 13:31