feat: add R1 26-DoF motion-tracking training preset - #2
Open
Zarato2122 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
依赖关系
这是基于 PR #1 的 stacked PR,base 为
feat/asap-r1-retarget-adapter。应先合并 PR #1,再合并本 PR。本阶段目标
让 Unitree R1 EDU 按完整 26-DoF 接入 ASAP phase-based motion-tracking 训练链路;不修改 ASAP 核心 task/reward/observation/PPO 代码,并用最短 smoke 验证 rollout 和一次 PPO update 可以执行。
改动文件
humanoidverse/config/exp/r1_26dof_motion_tracking.yaml:新增可复用的 R1 26-DoF Isaac Gym motion-tracking preset。humanoidverse/config/robot/r1/r1.yaml:将 joint/body order 与官方 R1 URDF 在 Isaac Gym 中的顺序统一;头部 action index 为 14/15。humanoidverse/data/robots/r1/r1_fitmotionONLY.xml:同步 body 名称和遍历顺序,使 retarget motion PKL 与训练 URDF 无需隐式 permutation。docs/r1_motion_retargeting_adapter.md:补充 simulator-aligned order 和 DDS 映射说明。reproduction/r1-26dof-motion-tracking-smoke.md:记录环境、命令、指标、输出路径和限制。测试命令
+exp=r1_26dof_motion_tracking。xmllint --noout humanoidverse/data/robots/r1/r1_fitmotionONLY.xml。MjModel.from_xml_path(...)。Humanoid_Batch、MotionLibRobot和 head-sweep reference 检查。测试结果
nq=33 nv=32 nu=26 nbody=28 njnt=27。0.250 rad、yaw0.600 rad,head tracking point 位移0.0291 m。0.43;rollout、reward、backprop/update 和 checkpoint save 均完成。本地输出路径
logs/ASAPR1Smoke/20260716_152112-R1_26DoF_OneIteration-motion_tracking-r1/。/tmp/asap-r1-unitree-ros-source/robots/r1_description/。/tmp/asap-r1-adapter-validation/src/assets/robots/unitree_r1/xmls/。/tmp/asap-r1-26dof-training-assets/。未提交的大文件
model_0.pt、model_1.pt、TensorBoard/log 输出未提交。当前限制和下一步