Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/MIUAV/vibe-coding-ros2 --skill manipulation-tasks명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | manipulation-tasks |
| description | ManiSkill3 操作任务技能 - 抓取、放置、装配任务配置 |
| argument-hint | ManiSkill3任务 OR 机器人抓取 OR 操作任务 |
| user-invocable | true |
用于 ManiSkill3 中的机器人操作任务
当需要以下帮助时使用此技能:
python -m mani_skill3_examples.example_env \
--task-name="PickCube-v0" \
--num-envs=16
from mani_skill3 import task
class PickCube(task.Task):
def __init__(self):
super().__init__()
# 目标: 抓取立方体并移动到目标位置
self.target_position = np.array([0.5, 0.0, 0.0])
def compute_reward(self, info):
# 奖励: 靠近目标
dist = np.linalg.norm(info['object_pos'] - self.target_position)
return -dist
class PlaceObject(task.Task):
def __init__(self):
super().__init__()
self.target_region = np.array([0.5, 0.0, 0.05])
def check_success(self, info):
# 检查物体是否在目标区域
in_region = np.linalg.norm(info['object_pos'][:2] - self.target_region[:2]) < 0.05
return in_region
task:
name: PickCube
num_envs: 16
robot:
type: Panda
control_mode: "joint_position"
objects:
cube:
type: rigid
size: [0.04, 0.04, 0.04]
reward:
- type: distance
weight: 1.0
- type: success
weight: 10.0
解决方案:调整抓取姿态,增加探索