Files

448 lines
11 KiB
JSON

{
"schema": 1,
"id": "microban",
"name": "Microban",
"family": "microban",
"adapter": "generic",
"dimensions": { "height": 0.33 },
"model": "model.xml",
"assets": [
{
"path": "assets/hip_dbl_block__configuration_right.stl",
"vfs": "assets/hip_dbl_block__configuration_right.stl"
},
{
"path": "assets/ankle_dbl_block__configuration_right.stl",
"vfs": "assets/ankle_dbl_block__configuration_right.stl"
},
{
"path": "assets/arm_bearing_support__configuration_right.stl",
"vfs": "assets/arm_bearing_support__configuration_right.stl"
},
{
"path": "assets/dc15_a01_idle_cap_dummy.stl",
"vfs": "assets/dc15_a01_idle_cap_dummy.stl"
},
{
"path": "assets/head__configuration_right.stl",
"vfs": "assets/head__configuration_right.stl"
},
{
"path": "assets/shoulder.stl",
"vfs": "assets/shoulder.stl"
},
{
"path": "assets/xl330_without_horn.stl",
"vfs": "assets/xl330_without_horn.stl"
},
{
"path": "assets/humerus.stl",
"vfs": "assets/humerus.stl"
},
{
"path": "assets/pelvis__configuration_right.stl",
"vfs": "assets/pelvis__configuration_right.stl"
},
{
"path": "assets/dc15_a01_horn_idle2_dummy.stl",
"vfs": "assets/dc15_a01_horn_idle2_dummy.stl"
},
{
"path": "assets/spacer__configuration_right.stl",
"vfs": "assets/spacer__configuration_right.stl"
},
{
"path": "assets/battery.stl",
"vfs": "assets/battery.stl"
},
{
"path": "assets/tibia__configuration_right.stl",
"vfs": "assets/tibia__configuration_right.stl"
},
{
"path": "assets/tibia__configuration_left.stl",
"vfs": "assets/tibia__configuration_left.stl"
},
{
"path": "assets/bts2_m2_6x8.stl",
"vfs": "assets/bts2_m2_6x8.stl"
},
{
"path": "assets/radius.stl",
"vfs": "assets/radius.stl"
},
{
"path": "assets/xl330.stl",
"vfs": "assets/xl330.stl"
},
{
"path": "assets/hip__configuration_right.stl",
"vfs": "assets/hip__configuration_right.stl"
},
{
"path": "assets/femur__configuration_left.stl",
"vfs": "assets/femur__configuration_left.stl"
},
{
"path": "assets/femur__configuration_right.stl",
"vfs": "assets/femur__configuration_right.stl"
},
{
"path": "assets/switch.stl",
"vfs": "assets/switch.stl"
},
{
"path": "assets/hip_dbl_block__configuration_left.stl",
"vfs": "assets/hip_dbl_block__configuration_left.stl"
},
{
"path": "assets/chest__configuration_right.stl",
"vfs": "assets/chest__configuration_right.stl"
},
{
"path": "assets/foot__configuration_right.stl",
"vfs": "assets/foot__configuration_right.stl"
},
{
"path": "assets/trunk_top__configuration_right.stl",
"vfs": "assets/trunk_top__configuration_right.stl"
}
],
"base": {
"type": "floating",
"root_body": "trunk",
"freejoint": "trunk_freejoint",
"spawn": {
"pos": [
0,
0,
0.165
],
"yaw": 0
},
"initial": {
"head": 0,
"right_shoulder_pitch": 0.17453292519943295,
"right_shoulder_roll": -0.17453292519943295,
"right_elbow": -0.3490658503988659,
"right_hip_yaw": 0,
"right_hip_roll": -0.08726646259971647,
"right_hip_pitch": -0.17453292519943295,
"right_knee": 0,
"right_ankle_pitch": 0,
"right_ankle_roll": 0.08726646259971647,
"left_shoulder_pitch": 0.17453292519943295,
"left_shoulder_roll": 0.17453292519943295,
"left_elbow": -0.3490658503988659,
"left_hip_yaw": 0,
"left_hip_roll": 0.08726646259971647,
"left_hip_pitch": -0.17453292519943295,
"left_knee": 0,
"left_ankle_pitch": 0,
"left_ankle_roll": -0.08726646259971647
}
},
"sim": {
"timestep": 0.005,
"decimation": 4
},
"joints": {
"groups": {
"policy": [
"right_shoulder_pitch",
"right_shoulder_roll",
"right_elbow",
"right_hip_yaw",
"right_hip_roll",
"right_hip_pitch",
"right_knee",
"right_ankle_pitch",
"right_ankle_roll",
"left_shoulder_pitch",
"left_shoulder_roll",
"left_elbow",
"left_hip_yaw",
"left_hip_roll",
"left_hip_pitch",
"left_knee",
"left_ankle_pitch",
"left_ankle_roll"
],
"head": [
"head"
]
},
"defaults": {
"head": 0
},
"source": "onnx_metadata"
},
"observations": {
"obs": {
"terms": [
{
"type": "gyro",
"sensor": "angular-velocity"
},
{
"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": "policy",
"scale": 1,
"offset": "default"
}
],
"actuation": {
"type": "joint_pd",
"kp": 0.3,
"kd": 0.02,
"torque_limit": 0.65
},
"commands": {
"size": 3,
"limits": [
0.15,
-0.1,
0.6
]
},
"skills": [
{
"id": "walk",
"kind": "primary",
"owns": "policy",
"controller": {
"type": "onnx",
"policy": "policies/walk.onnx"
}
},
{
"id": "head",
"kind": "overlay",
"owns": "head",
"controller": {
"type": "oscillator",
"frequency": 0.35,
"amplitude": 0.7853981633974483,
"blend": 0.5
}
}
],
"input": {
"bindings": [
{
"action": "move_forward",
"codes": [
"ArrowUp",
"KeyW"
],
"label": "Forward"
},
{
"action": "move_backward",
"codes": [
"ArrowDown",
"KeyS"
],
"label": "Backward"
},
{
"action": "turn_left",
"codes": [
"ArrowLeft",
"KeyA"
],
"label": "Turn left"
},
{
"action": "turn_right",
"codes": [
"ArrowRight",
"KeyD"
],
"label": "Turn right"
},
{
"action": "reset",
"codes": [
"Space"
],
"label": "Reset"
},
{
"action": "pause",
"codes": [
"Escape"
],
"label": "Pause / continue"
},
{
"action": "toggle:head",
"codes": [
"KeyH"
],
"label": "Toggle head rotation"
},
{
"action": "chaseToggle",
"codes": ["KeyC"],
"label": "Restore chase camera"
}
]
},
"render": {
"source": "mjcf_visual",
"body_visuals": [
{
"body": "trunk",
"path": "visuals/BASE__visual_0__BASE.glb",
"quaternion": [0.7071067811865476, 0, 0, 0.7071067811865476]
},
{
"body": "head",
"path": "visuals/LINK1__visual_0__LINK1.glb",
"quaternion": [0.5, -0.5, -0.5, 0.5]
},
{
"body": "shoulder",
"path": "visuals/LINK2__visual_0__LINK2.glb"
},
{
"body": "humerus__configuration_right",
"path": "visuals/LINK3__visual_0__LINK3.glb",
"position": [0, 0, -0.02755],
"quaternion": [0, -0.7071067811865476, 0, 0.7071067811865476]
},
{
"body": "radius",
"path": "visuals/LINK4__visual_0__LINK4.glb",
"position": [-0.00529885, -0.00021476, 0.00145]
},
{
"body": "shoulder_2",
"path": "visuals/LINK5__visual_0__LINK5.glb"
},
{
"body": "humerus__configuration_left",
"path": "visuals/LINK6__visual_0__LINK6.glb",
"position": [-0.00529885, -0.00021476, -0.02755],
"quaternion": [0.7071067811865476, 0, -0.7071067811865476, 0]
},
{
"body": "radius_2",
"path": "visuals/LINK7__visual_0__LINK7.glb",
"position": [-0.00529885, 0.00021476, -0.00145],
"quaternion": [0, 0, 1, 0]
},
{
"body": "hip_2",
"path": "visuals/LINK8__visual_0__LINK8.glb",
"quaternion": [0, 0.7071067811865476, 0.7071067811865476, 0]
},
{
"body": "hip_block__configuration_left",
"path": "visuals/LINK9__visual_0__LINK9.glb",
"position": [0, 0, 0.00027893],
"quaternion": [0.7071067811865476, 0, 0.7071067811865476, 0]
},
{
"body": "femur__configuration_left",
"path": "visuals/LINK10__visual_0__LINK10.glb",
"position": [0, 0, -0.00145],
"quaternion": [1, 0, 0, 0]
},
{
"body": "tibia__configuration_left",
"path": "visuals/LINK11__visual_0__LINK11.glb",
"position": [0, 0, -0.00145],
"quaternion": [1, 0, 0, 0]
},
{
"body": "ankle_block__configuration_right",
"path": "visuals/LINK12__visual_0__LINK12.glb",
"position": [0, 0, -0.00145],
"quaternion": [0, 1, 0, 0]
},
{
"body": "foot_2",
"path": "visuals/LINK13__visual_0__LINK13.glb",
"position": [0, 0, 0.0008],
"quaternion": [0, -0.7071067811865476, 0, 0.7071067811865476]
},
{
"body": "hip",
"path": "visuals/LINK14__visual_0__LINK14.glb",
"quaternion": [0.7071067811865476, 0, 0, 0.7071067811865476]
},
{
"body": "hip_block__configuration_right",
"path": "visuals/LINK15__visual_0__LINK15.glb",
"position": [0, 0, 0.0008],
"quaternion": [0.7071067811865476, 0, 0.7071067811865476, 0]
},
{
"body": "femur__configuration_right",
"path": "visuals/LINK16__visual_0__LINK16.glb",
"position": [0, 0, -0.02755],
"quaternion": [0, 1, 0, 0]
},
{
"body": "tibia__configuration_right",
"path": "visuals/LINK17__visual_0__LINK17.glb",
"position": [0, 0, -0.02745],
"quaternion": [0, 1, 0, 0]
},
{
"body": "ankle_block__configuration_left",
"path": "visuals/LINK18__visual_0__LINK18.glb",
"position": [0, 0, -0.02755],
"quaternion": [1, 0, 0, 0]
},
{
"body": "foot",
"path": "visuals/LINK19__visual_0__LINK19.glb",
"position": [0, 0, 0.0008],
"quaternion": [0, -0.7071067811865476, 0, 0.7071067811865476]
}
],
"groups": [
2
],
"camera": {
"distance": 0.8
}
},
"presentation": {
"theme": "comic"
},
"termination": {
"tilt_z": -0.5,
"min_height": 0.06,
"on_fall": "hold"
},
"license": "See LICENSES/SOURCE-LICENSE.txt and SOURCE.md (file-specific notices apply)"
}