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 - 技能规划