用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/MIUAV/vibe-coding-ros2 --skill localization命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | localization |
| description | 机械臂定位系统 - 末端执行器定位、工作空间标定、手眼标定 |
| argument-hint | 机械臂定位 OR 手眼标定 OR 末端定位 |
| user-invocable | true |
用于开发机械臂的定位和标定系统
当需要以下帮助时使用此技能:
manipulator_calibration:
# 手眼类型
eye_to_hand: true # false = eye in hand
# 标定板
target:
type: charuco / checkerboard / aprilgrid
# 末端工具
tool:
type: gripper / suction / custom
class EyeToHandCalibration:
def __init__(self, eye_to_hand=True):
self.eye_to_hand = eye_to_hand
self.calib_poses = []
def capture_pose(self, robot_pose, camera_pose):
"""采集标定数据"""
self.calib_poses.append({
'robot': robot_pose, # 末端位姿 (6D)
'camera': camera_pose # 相机观测位姿
})
def compute_transform(self):
"""计算手眼关系"""
# AX = XB 解算
if self.eye_to_hand:
# 相机固定, 末端移动
return self.solve_AX_XB(self.calib_poses)
else:
# 相机在手上
return self.solve_AX_XB(self.calib_poses)
class TCPCalibration:
def __init__(self):
self.poses = []
def calibrate(self, robot, n_poses=8):
"""标定工具中心点"""
# 移动到不同姿态的固定点
for i in range(n_poses):
input("移动到固定点, 按回车继续...")
pose = robot.get_tcp_pose()
self.poses.append(pose)
# 计算 TCP
return self.compute_tcp_from_poses(self.poses)
./manipulator/perception/SKILL.md - 感知系统./manipulator/motion-control/SKILL.md - 运动控制./manipulator/skill-planning/SKILL.md - 技能规划