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 | 人形机器人定位系统 - SLAM、IMU融合、EKF、GPS/RTK定位 |
| argument-hint | 人形定位 OR 人形SLAM OR 位置估计 |
| user-invocable | true |
用于开发人形机器人的定位和姿态估计系统
当需要以下帮助时使用此技能:
humanoid_localization:
# 传感器
sensors:
- imu: /imu/data
- camera: /stereo/left/image
- lidar: /scan
# 滤波方法
filter: ekf / ukf / particle
# 地图
map_type: occupancy_grid / pointcloud
class HumanoidPoseEstimator:
def __init__(self):
self.imu = IMUSubscriber('/imu/data')
self.ekf = ExtendedKalmanFilter(state_dim=15)
# 状态: [pos, vel, quat, bias_gyro, bias_accel]
self.state = np.zeros(15)
def predict(self, dt):
"""预测步骤"""
# IMU 积分
self.state[3:6] += self.state[6:9] * dt # velocity update
# ...
def update(self, measurement, measurement_type):
"""更新步骤"""
if measurement_type == 'vision':
self.ekf.update_vision(measurement)
elif measurement_type == 'gps':
self.ekf.update_gps(measurement)
class HumanoidSLAM:
def __init__(self):
self.lidar = LaserScanSubscriber('/scan')
self.occupancy_map = OccupancyGrid(0.05) # 5cm resolution
def localization_step(self):
# 扫描匹配
scan = self.lidar.get_scan()
pose_hint = self.occupancy_map.match(scan)
return pose_hint
./humanoid/perception/SKILL.md - 感知系统./humanoid/navigation/SKILL.md - 导航系统./humanoid/skill-planning/SKILL.md - 技能规划