Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/MIUAV/vibe-coding-ros2 --skill perception명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | perception |
| description | 人形机器人感知系统 - 双目视觉、深度感知、触觉传感器、平衡感知 |
| argument-hint | 人形感知 OR 人形视觉 OR 平衡感知 OR 触觉 |
| user-invocable | true |
用于配置和开发人形机器人的感知系统
当需要以下帮助时使用此技能:
humanoid_perception:
# 双目相机
stereo_camera:
type: realsense_d435i / zed2 / duo3d
topics: [/stereo/left/image, /stereo/right/image]
# IMU (平衡感知)
imu:
type: BMI160 / BMI088
topics: [/imu/data, /imu/filtered]
# 力矩传感器
ft_sensor:
topics: [/force_torque/left_foot, /force_torque/right_foot]
class HumanoidDepthPerception:
def __init__(self):
self.stereo = StereoCamera("/stereo")
self.depth_filter = KalmanFilter()
def get_depth(self, point_left, point_right):
# 三角测量获取深度
baseline = 0.12 # m
focal_length = 800 # pixels
disparity = abs(point_left.x - point_right.x)
depth = focal_length * baseline / disparity
return self.depth_filter.update(depth)
class BalancePerception:
def __init__(self):
self.ft_sensors = ForceTorqueSensor(['left_foot', 'right_foot'])
self.imu = IMUSensor()
def compute_zmp(self):
"""计算零力矩点"""
forces = self.ft_sensors.get_forces()
torques = self.ft_sensors.get_torques()
# ZMP 公式
F_total = sum(forces)
x_zmp = sum(torques_y) / F_total.z
y_zmp = -sum(torques_x) / F_total.z
return np.array([x_zmp, y_zmp])
def check_stability(self):
"""稳定性检测"""
zmp = self.compute_zmp()
support_polygon = self.compute_support_polygon()
return self.point_in_polygon(zmp, support_polygon)
./humanoid/localization/SKILL.md - 定位系统./humanoid/navigation/SKILL.md - 导航系统./humanoid/skill-planning/SKILL.md - 技能规划