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