用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/MIUAV/vibe-coding-ros2 --skill vision-perception命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | vision-perception |
| description | 视觉感知技能集合 — 目标检测、语义分割、立体匹配、3D检测、边缘部署,适用于机器人环境感知 |
| argument-hint | 视觉感知 OR 目标检测 OR 语义分割 OR vision perception OR yolo OR 图像分割 |
| user-invocable | true |
agents/skills/perception/edge-inference/ — 边缘推理加速agents/skills/ros2-debug/ — 调试相机图像 → 预处理 → 推理 → 后处理 → 输出
// ROS2 + YOLO
auto detector = std::make_shared<YoloDetector>("/model.onnx");
auto sub = this->create_subscription<Image>(
"/camera/image_raw", QoS(10).best_effort(),
[&](Image::SharedPtr msg) {
auto results = detector->infer(msg);
publish_detections(results);
});
#include <cv_bridge/cv_bridge.h>
#include <image_transport/image_transport.hpp>
// ROS2 Image → OpenCV
auto cv_img = cv_bridge::toCvShare(msg, "bgr8");
// 深度图像 → 点云 → 3D BBox
auto pc = depth_to_pointcloud(depth_img, camera_intrinsics);
auto bboxes = detect_3d(pc); // 输出 [x,y,z,w,h,d,yaw]
相机图像用 BEST_EFFORT(高频率,丢帧可接受)。