Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
__pycache__
runs
outputs
/artifacts/
.pdm-python
logs
.idea
Expand Down
10 changes: 10 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ Review 或修改 initializer 时:
- 检查仓库使用方、文档、环境/插件注册和 import 环风险;
- 清理后验证 package import 与注册行为。

### Package README

README 从宏观上说明 package:它提供什么能力、如何安装与使用、以及该 package 特有的契约与边界。不要把 README
写成实现文档——内部数值(增益、维度、阈值列表)、actor 数学公式、逐字段契约说明、调度器/时钟语义等应留在代码、
设计文档(`wiki/`)或用户教程(`docs/`)中,README 最多以一两句话概括并链接过去。不要叙述修改历史、调试过程或
对旧实现/历史报告作辩护。

框架级契约(Runtime/ControlSession/Controller 语义、rollout result 口径等)只在一处维护——对应框架 package 的
README 或教程;插件与任务 package 的 README 不重复这些内容,只描述本 package 特有的部分。

### Manager Kernel 入口方法

Manager fused-kernel 入口方法必须用 `@dispatch` 装饰,绝不使用 `@njit`——Numba 编译、缓存和内联由 manager
Expand Down
371 changes: 371 additions & 0 deletions artifacts/g1-wbt-dance.deploy/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,371 @@
{
"control": {
"angular_velocity_frame": "body",
"base_orientation": "body_to_world",
"mode": "joint_servo",
"period_s": 0.02,
"quaternion_order": "xyzw",
"state_timeout_s": 0.1
},
"payloads": [
{
"path": "payloads/motion.npz",
"sha256": "5dec09a5d1b0e37f98ea05002eb95194750422254d2bb0558a01a25a9387725a"
}
],
"policy": {
"component_version": "onnx/v1",
"input": {
"dtype": "float32",
"name": "obs",
"shape": [
1,
154
]
},
"output": {
"dtype": "float32",
"name": "actions",
"shape": [
1,
29
]
},
"payload_path": "policy/model.onnx",
"sha256": "47d53c5e0126c7891765ecc7c962572a4eccffc939427bf7e8be65f475f156ba"
},
"robot": {
"base_link_name": "pelvis",
"default_joint_position": [
-0.31200000643730164,
0.0,
0.0,
0.6690000295639038,
-0.3630000054836273,
0.0,
-0.31200000643730164,
0.0,
0.0,
0.6690000295639038,
-0.3630000054836273,
0.0,
0.0,
0.0,
0.0,
0.20000000298023224,
0.20000000298023224,
0.0,
0.6000000238418579,
0.0,
0.0,
0.0,
0.20000000298023224,
-0.20000000298023224,
0.0,
0.6000000238418579,
0.0,
0.0,
0.0
],
"joint_names": [
"left_hip_pitch_joint",
"left_hip_roll_joint",
"left_hip_yaw_joint",
"left_knee_joint",
"left_ankle_pitch_joint",
"left_ankle_roll_joint",
"right_hip_pitch_joint",
"right_hip_roll_joint",
"right_hip_yaw_joint",
"right_knee_joint",
"right_ankle_pitch_joint",
"right_ankle_roll_joint",
"waist_yaw_joint",
"waist_roll_joint",
"waist_pitch_joint",
"left_shoulder_pitch_joint",
"left_shoulder_roll_joint",
"left_shoulder_yaw_joint",
"left_elbow_joint",
"left_wrist_roll_joint",
"left_wrist_pitch_joint",
"left_wrist_yaw_joint",
"right_shoulder_pitch_joint",
"right_shoulder_roll_joint",
"right_shoulder_yaw_joint",
"right_elbow_joint",
"right_wrist_roll_joint",
"right_wrist_pitch_joint",
"right_wrist_yaw_joint"
],
"position_lower": [
-2.5306999683380127,
-0.5235998630523682,
-2.7576000690460205,
-0.08726692199707031,
-0.87267005443573,
-0.26179999113082886,
-2.5306999683380127,
-2.967099905014038,
-2.7576000690460205,
-0.08726692199707031,
-0.87267005443573,
-0.26179999113082886,
-2.618000030517578,
-0.5199999809265137,
-0.5199999809265137,
-3.089200019836426,
-1.5881998538970947,
-2.618000030517578,
-1.0471999645233154,
-1.9722199440002441,
-1.6144299507141113,
-1.6144299507141113,
-3.089200019836426,
-2.251499891281128,
-2.618000030517578,
-1.0471999645233154,
-1.9722199440002441,
-1.6144299507141113,
-1.6144299507141113
],
"position_upper": [
2.8798000812530518,
2.967099905014038,
2.7576000690460205,
2.8798000812530518,
0.5235999822616577,
0.26179999113082886,
2.8798000812530518,
0.5235998630523682,
2.7576000690460205,
2.8798000812530518,
0.5235999822616577,
0.26179999113082886,
2.618000030517578,
0.5199999809265137,
0.5199999809265137,
2.6703996658325195,
2.251499891281128,
2.618000030517578,
2.094399929046631,
1.9722199440002441,
1.6144299507141113,
1.6144299507141113,
2.6703996658325195,
1.5881998538970947,
2.618000030517578,
2.094399929046631,
1.9722199440002441,
1.6144299507141113,
1.6144299507141113
],
"torque_limit": [
88.0,
139.0,
88.0,
139.0,
50.0,
50.0,
88.0,
139.0,
88.0,
139.0,
50.0,
50.0,
88.0,
50.0,
50.0,
25.0,
25.0,
25.0,
25.0,
25.0,
5.0,
5.0,
25.0,
25.0,
25.0,
25.0,
25.0,
5.0,
5.0
]
},
"schema_version": "motrix-deploy/v1",
"source": {
"checkpoint": "checkpoints/latest.pt",
"framework": "motrix.fastsac/torch",
"run_id": "26-10-07_21-28-43-758744"
},
"task": {
"config": {
"action_scale": [
0.5475465059280396,
0.3506614565849304,
0.5475465059280396,
0.3506614565849304,
0.4385773241519928,
0.4385773241519928,
0.5475465059280396,
0.3506614565849304,
0.5475465059280396,
0.3506614565849304,
0.4385773241519928,
0.4385773241519928,
0.5475465059280396,
0.4385773241519928,
0.4385773241519928,
0.4385773241519928,
0.4385773241519928,
0.4385773241519928,
0.4385773241519928,
0.4385773241519928,
0.07450086623430252,
0.07450086623430252,
0.4385773241519928,
0.4385773241519928,
0.4385773241519928,
0.4385773241519928,
0.4385773241519928,
0.07450086623430252,
0.07450086623430252
],
"kd": [
2.557889699935913,
6.308801651000977,
2.557889699935913,
6.308801651000977,
1.8144457340240479,
1.8144457340240479,
2.557889699935913,
6.308801651000977,
2.557889699935913,
6.308801651000977,
1.8144457340240479,
1.8144457340240479,
2.557889699935913,
1.8144457340240479,
1.8144457340240479,
0.9072228670120239,
0.9072228670120239,
0.9072228670120239,
0.9072228670120239,
0.9072228670120239,
1.0681414604187012,
1.0681414604187012,
0.9072228670120239,
0.9072228670120239,
0.9072228670120239,
0.9072228670120239,
0.9072228670120239,
1.0681414604187012,
1.0681414604187012
],
"kp": [
40.179237365722656,
99.09842681884766,
40.179237365722656,
99.09842681884766,
28.501245498657227,
28.501245498657227,
40.179237365722656,
99.09842681884766,
40.179237365722656,
99.09842681884766,
28.501245498657227,
28.501245498657227,
40.179237365722656,
28.501245498657227,
28.501245498657227,
14.250622749328613,
14.250622749328613,
14.250622749328613,
14.250622749328613,
14.250622749328613,
16.77832794189453,
16.77832794189453,
14.250622749328613,
14.250622749328613,
14.250622749328613,
14.250622749328613,
14.250622749328613,
16.77832794189453,
16.77832794189453
],
"motion_frames": 999,
"period_s": 0.02,
"preparation_joint_position": null,
"preparation_kd": [
5.0,
5.0,
5.0,
10.0,
5.0,
5.0,
5.0,
5.0,
5.0,
10.0,
5.0,
5.0,
5.0,
5.0,
5.0,
3.0,
3.0,
3.0,
3.0,
3.0,
3.0,
3.0,
3.0,
3.0,
3.0,
3.0,
3.0,
3.0,
3.0
],
"preparation_kp": [
350.0,
200.0,
200.0,
300.0,
300.0,
150.0,
350.0,
200.0,
200.0,
300.0,
300.0,
150.0,
200.0,
200.0,
200.0,
40.0,
40.0,
40.0,
40.0,
40.0,
40.0,
40.0,
40.0,
40.0,
40.0,
40.0,
40.0,
40.0,
40.0
],
"preparation_ramp_duration_s": 2.0,
"preparation_settle_duration_s": 1.0,
"preparation_timeout_s": 5.0,
"reference_body_name": "torso_link",
"termination_joint_position_threshold": 0.5,
"termination_joint_velocity_threshold": 100.0,
"termination_ref_orientation_threshold": 0.8
},
"name": "g1_wbt/v1"
}
}
Loading
Loading