Files

525 lines
11 KiB
JSON

{
"schema": 1,
"id": "t1",
"name": "Booster T1",
"family": "t1",
"adapter": "generic",
"dimensions": {
"height": 1.18
},
"model": "model.xml",
"assets": [
{
"path": "meshes/Trunk.STL",
"vfs": "meshes/Trunk.STL"
},
{
"path": "meshes/H1.STL",
"vfs": "meshes/H1.STL"
},
{
"path": "meshes/H2.STL",
"vfs": "meshes/H2.STL"
},
{
"path": "meshes/AL1.STL",
"vfs": "meshes/AL1.STL"
},
{
"path": "meshes/AL2.STL",
"vfs": "meshes/AL2.STL"
},
{
"path": "meshes/AL3.STL",
"vfs": "meshes/AL3.STL"
},
{
"path": "meshes/left_hand_link.STL",
"vfs": "meshes/left_hand_link.STL"
},
{
"path": "meshes/AR1.STL",
"vfs": "meshes/AR1.STL"
},
{
"path": "meshes/AR2.STL",
"vfs": "meshes/AR2.STL"
},
{
"path": "meshes/AR3.STL",
"vfs": "meshes/AR3.STL"
},
{
"path": "meshes/right_hand_link.STL",
"vfs": "meshes/right_hand_link.STL"
},
{
"path": "meshes/Waist.STL",
"vfs": "meshes/Waist.STL"
},
{
"path": "meshes/Hip_Pitch_Left.STL",
"vfs": "meshes/Hip_Pitch_Left.STL"
},
{
"path": "meshes/Hip_Roll_Left.STL",
"vfs": "meshes/Hip_Roll_Left.STL"
},
{
"path": "meshes/Hip_Yaw_Left.STL",
"vfs": "meshes/Hip_Yaw_Left.STL"
},
{
"path": "meshes/Shank_Left.STL",
"vfs": "meshes/Shank_Left.STL"
},
{
"path": "meshes/Ankle_Cross_Left.STL",
"vfs": "meshes/Ankle_Cross_Left.STL"
},
{
"path": "meshes/left_foot_link.STL",
"vfs": "meshes/left_foot_link.STL"
},
{
"path": "meshes/Hip_Pitch_Right.STL",
"vfs": "meshes/Hip_Pitch_Right.STL"
},
{
"path": "meshes/Hip_Roll_Right.STL",
"vfs": "meshes/Hip_Roll_Right.STL"
},
{
"path": "meshes/Hip_Yaw_Right.STL",
"vfs": "meshes/Hip_Yaw_Right.STL"
},
{
"path": "meshes/Shank_Right.STL",
"vfs": "meshes/Shank_Right.STL"
},
{
"path": "meshes/Ankle_Cross_Right.STL",
"vfs": "meshes/Ankle_Cross_Right.STL"
},
{
"path": "meshes/right_foot_link.STL",
"vfs": "meshes/right_foot_link.STL"
},
{
"path": "meshes/Logo.STL",
"vfs": "meshes/Logo.STL"
}
],
"base": {
"type": "floating",
"root_body": "trunk",
"freejoint": "world_joint",
"spawn": {
"pos": [
0,
0,
0.6811
],
"yaw": 0
}
},
"sim": {
"timestep": 0.005,
"decimation": 4
},
"joints": {
"groups": {
"policy": [
"aahead_yaw_joint",
"aahead_pitch_joint",
"left_shoulder_pitch_joint",
"left_shoulder_roll_joint",
"left_elbow_pitch_joint",
"left_elbow_yaw_joint",
"right_shoulder_pitch_joint",
"right_shoulder_roll_joint",
"right_elbow_pitch_joint",
"right_elbow_yaw_joint",
"waist_yaw_joint",
"left_hip_pitch_joint",
"left_hip_roll_joint",
"left_hip_yaw_joint",
"left_knee_pitch_joint",
"left_ankle_pitch_joint",
"left_ankle_roll_joint",
"right_hip_pitch_joint",
"right_hip_roll_joint",
"right_hip_yaw_joint",
"right_knee_pitch_joint",
"right_ankle_pitch_joint",
"right_ankle_roll_joint"
],
"aahead_yaw_joint": [
"aahead_yaw_joint"
],
"aahead_pitch_joint": [
"aahead_pitch_joint"
],
"left_shoulder_pitch_joint": [
"left_shoulder_pitch_joint"
],
"left_shoulder_roll_joint": [
"left_shoulder_roll_joint"
],
"left_elbow_pitch_joint": [
"left_elbow_pitch_joint"
],
"left_elbow_yaw_joint": [
"left_elbow_yaw_joint"
],
"right_shoulder_pitch_joint": [
"right_shoulder_pitch_joint"
],
"right_shoulder_roll_joint": [
"right_shoulder_roll_joint"
],
"right_elbow_pitch_joint": [
"right_elbow_pitch_joint"
],
"right_elbow_yaw_joint": [
"right_elbow_yaw_joint"
],
"waist_yaw_joint": [
"waist_yaw_joint"
],
"left_hip_pitch_joint": [
"left_hip_pitch_joint"
],
"left_hip_roll_joint": [
"left_hip_roll_joint"
],
"left_hip_yaw_joint": [
"left_hip_yaw_joint"
],
"left_knee_pitch_joint": [
"left_knee_pitch_joint"
],
"left_ankle_pitch_joint": [
"left_ankle_pitch_joint"
],
"left_ankle_roll_joint": [
"left_ankle_roll_joint"
],
"right_hip_pitch_joint": [
"right_hip_pitch_joint"
],
"right_hip_roll_joint": [
"right_hip_roll_joint"
],
"right_hip_yaw_joint": [
"right_hip_yaw_joint"
],
"right_knee_pitch_joint": [
"right_knee_pitch_joint"
],
"right_ankle_pitch_joint": [
"right_ankle_pitch_joint"
],
"right_ankle_roll_joint": [
"right_ankle_roll_joint"
]
},
"defaults": {
"aahead_yaw_joint": 0.0,
"aahead_pitch_joint": 0.0,
"left_shoulder_pitch_joint": 0.2,
"left_shoulder_roll_joint": -1.3,
"left_elbow_pitch_joint": 0.0,
"left_elbow_yaw_joint": -0.4,
"right_shoulder_pitch_joint": 0.2,
"right_shoulder_roll_joint": 1.3,
"right_elbow_pitch_joint": 0.0,
"right_elbow_yaw_joint": 0.4,
"waist_yaw_joint": 0.0,
"left_hip_pitch_joint": -0.2,
"left_hip_roll_joint": 0.0,
"left_hip_yaw_joint": 0.0,
"left_knee_pitch_joint": 0.4,
"left_ankle_pitch_joint": -0.2,
"left_ankle_roll_joint": 0.0,
"right_hip_pitch_joint": -0.2,
"right_hip_roll_joint": 0.0,
"right_hip_yaw_joint": 0.0,
"right_knee_pitch_joint": 0.4,
"right_ankle_pitch_joint": -0.2,
"right_ankle_roll_joint": 0.0
}
},
"observations": {
"obs": {
"terms": [
{
"type": "linear_velocity",
"sensor": "imu_lin_vel"
},
{
"type": "gyro",
"sensor": "imu_ang_vel"
},
{
"type": "projected_gravity",
"body": "trunk"
},
{
"type": "joint_pos_rel",
"group": "policy"
},
{
"type": "joint_vel",
"group": "policy"
},
{
"type": "last_action",
"group": "policy"
},
{
"type": "command",
"size": 3
}
]
}
},
"actions": [
{
"type": "joint_position",
"group": "aahead_yaw_joint",
"scale": 0.35,
"offset": "default"
},
{
"type": "joint_position",
"group": "aahead_pitch_joint",
"scale": 0.35,
"offset": "default"
},
{
"type": "joint_position",
"group": "left_shoulder_pitch_joint",
"scale": 0.23937499999999998,
"offset": "default"
},
{
"type": "joint_position",
"group": "left_shoulder_roll_joint",
"scale": 0.23937499999999998,
"offset": "default"
},
{
"type": "joint_position",
"group": "left_elbow_pitch_joint",
"scale": 0.23937499999999998,
"offset": "default"
},
{
"type": "joint_position",
"group": "left_elbow_yaw_joint",
"scale": 0.23937499999999998,
"offset": "default"
},
{
"type": "joint_position",
"group": "right_shoulder_pitch_joint",
"scale": 0.23937499999999998,
"offset": "default"
},
{
"type": "joint_position",
"group": "right_shoulder_roll_joint",
"scale": 0.23937499999999998,
"offset": "default"
},
{
"type": "joint_position",
"group": "right_elbow_pitch_joint",
"scale": 0.23937499999999998,
"offset": "default"
},
{
"type": "joint_position",
"group": "right_elbow_yaw_joint",
"scale": 0.23937499999999998,
"offset": "default"
},
{
"type": "joint_position",
"group": "waist_yaw_joint",
"scale": 0.17,
"offset": "default"
},
{
"type": "joint_position",
"group": "left_hip_pitch_joint",
"scale": 0.1235,
"offset": "default"
},
{
"type": "joint_position",
"group": "left_hip_roll_joint",
"scale": 0.11333333333333333,
"offset": "default"
},
{
"type": "joint_position",
"group": "left_hip_yaw_joint",
"scale": 0.17,
"offset": "default"
},
{
"type": "joint_position",
"group": "left_knee_pitch_joint",
"scale": 0.163125,
"offset": "default"
},
{
"type": "joint_position",
"group": "left_ankle_pitch_joint",
"scale": 0.3655,
"offset": "default"
},
{
"type": "joint_position",
"group": "left_ankle_roll_joint",
"scale": 0.215,
"offset": "default"
},
{
"type": "joint_position",
"group": "right_hip_pitch_joint",
"scale": 0.1235,
"offset": "default"
},
{
"type": "joint_position",
"group": "right_hip_roll_joint",
"scale": 0.11333333333333333,
"offset": "default"
},
{
"type": "joint_position",
"group": "right_hip_yaw_joint",
"scale": 0.17,
"offset": "default"
},
{
"type": "joint_position",
"group": "right_knee_pitch_joint",
"scale": 0.163125,
"offset": "default"
},
{
"type": "joint_position",
"group": "right_ankle_pitch_joint",
"scale": 0.3655,
"offset": "default"
},
{
"type": "joint_position",
"group": "right_ankle_roll_joint",
"scale": 0.215,
"offset": "default"
}
],
"actuation": {
"type": "native_position"
},
"commands": {
"size": 3,
"limits": [
0.6,
-0.4,
0.6
]
},
"skills": [
{
"id": "walk",
"kind": "primary",
"owns": "policy",
"controller": {
"type": "onnx",
"policy": "policies/walk.onnx"
}
}
],
"input": {
"bindings": [
{
"action": "move_forward",
"codes": [
"KeyW",
"ArrowUp"
],
"label": "Forward"
},
{
"action": "move_backward",
"codes": [
"KeyS",
"ArrowDown"
],
"label": "Backward"
},
{
"action": "turn_left",
"codes": [
"KeyA",
"ArrowLeft"
],
"label": "Turn left"
},
{
"action": "turn_right",
"codes": [
"KeyD",
"ArrowRight"
],
"label": "Turn right"
},
{
"action": "reset",
"codes": [
"Space"
],
"label": "Reset"
},
{
"action": "pause",
"codes": [
"Escape"
],
"label": "Pause / continue"
},
{
"action": "chaseToggle",
"codes": [
"KeyC"
],
"label": "Restore chase camera"
}
]
},
"render": {
"source": "mjcf_visual",
"groups": [
1
],
"camera": {
"distance": 2.5
}
},
"presentation": {
"theme": "comic"
},
"termination": {
"tilt_z": -0.5,
"min_height": 0.42,
"on_fall": "hold"
},
"license": "See LICENSES/booster-assets.txt and LICENSES/mjlab.txt; policy is locally trained."
}