사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/google-deepmind/robotics-antigravity-plugin --skill i2rt-yam-ik시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
I2RT YAM Inverse Kinematics (mink + daqp via `YamIk`)
Use bundled `YamIk` (pip install mink daqp mujoco, <1 ms/solve on Linux & macOS) parameterized by arm_type ("yam" or "yam_pro") and gripper_type ("linear_4310", "crank_4310", "linear_3507", "flexible_4310", etc.) via combine_arm_and_gripper_xml — never load standalone yam.xml when driving a gripper-equipped arm because bare yam.xml has nsite = 0:
- `grasp_site` Frame Convention & Jaw-Closing Axis (`±Y_site`, NOT `+X_site`):
- YAM has 3 parallel pitch axes (
J2 || J3 || J4) and a74.0 mmJ4-J5non-spherical wrist offset. - In
i2rtgripper MJCFs,+Z_siteis the forward approach vector and parallel-jaw fingers open/close along `grasp_site` `±Y_site` (NOT `+X_site`). - Use
ik.make_grasp_pose(pos, approach_dir, jaw_perp_axis=...)(for arbitrary 3D approach vectors — top-down, angled, or side grasps) orik.make_topdown_grasp_pose(x, y, z, obj_yaw_rad=None, tilt_deg=0.0)(tilt_deg=10–15near outer reach>75%): - Pass
jaw_perp_axis=None(obj_yaw_rad=None) for symmetric objects to keep wrist rollJ6near neutral0. - For anisotropic objects where jaws must close perpendicular to a target axis
a, passjaw_perp_axis=a(+X_site || ±aso±Y_sitecloses across the object, automatically wrapped by±piusing the loaded MJCF's neutral+X_siteatJ6 = 0soJ6stays inside[-2.094, 2.094] rad).
- Reliable Seeding & Mandatory FK Verification ([yam_ik.py](scripts/yam_ik.py)):
- Instantiate
ik = YamIk(arm_type=..., gripper_type=...)once and callq_goal = ik.solve(T_target, q_seed=...). Q_DEFAULT_SEED = [0.0, 1.2, 1.2, -1.2, 0.0, 0.0]avoids stalling againstJ4 in [-1.693, 1.571] radon downward grasps; passq_seed=q_actual[:6]for local moves soPostureTaskregularizes smoothly around the current configuration.YamIk.solveenforcessolver="daqp",ConfigurationLimit, non-adjacent self-collision limits, frozen gripper DOFs (clamped to each model'sjnt_range), fresh re-seeding every call, and strict MuJoCo FK verification (pos_err <= 2 mm), raisingValueErrorbefore motion if any phase waypoint is unreachable.