trossen-pick-cube / contract.json
ttktjmt's picture
Upload folder using huggingface_hub
e0b52c5 verified
Raw History Blame Contribute Delete
6.1 kB
{
"env": "TrossenPickCube",
"playground": "1.1.0",
"control_dt": 0.019999999552965164,
"physics_dt": 0.005,
"observations": {
"policy": [
{
"name": "arm_pos",
"shape": [
6
],
"source": "obs_joint_pos_rel",
"params": {
"qpos_key": "arm_state/joint_pos",
"home_qpos_key": "arm_state/home_qpos"
}
},
{
"name": "arm_vel",
"shape": [
6
],
"source": "_feature",
"params": {
"key": "arm_state/joint_vel"
}
},
{
"name": "gripper_pos",
"shape": [
2
],
"source": "obs_joint_pos_rel",
"params": {
"qpos_key": "gripper_state/joint_pos",
"home_qpos_key": "gripper_state/home_qpos"
}
},
{
"name": "gripper_vel",
"shape": [
2
],
"source": "_feature",
"params": {
"key": "gripper_state/joint_vel"
}
},
{
"name": "ee_to_object",
"shape": [
3
],
"source": "obs_ee_to_cube",
"params": {
"ee_xpos_key": "ee/xpos",
"cube_xpos_key": "object/xpos"
}
},
{
"name": "object_to_goal",
"shape": [
3
],
"source": "obs_cube_to_goal",
"params": {
"cube_xpos_key": "object/xpos",
"target_xpos_key": "target/mocap_pos"
}
},
{
"name": "last_action",
"shape": [
7
],
"source": "_feature",
"params": {
"key": "actions"
}
}
]
},
"action": {
"action_scale": {
"type": "TransformActions",
"params": {
"output_key": "robot/ctrl",
"scale": [
0.5,
0.85,
0.5,
0.5,
0.8,
0.8,
0.022
],
"offset": [
0.0,
0.785,
1.25,
-1.25,
0.0,
0.0,
0.022
]
}
}
},
"devices": {
"object": {
"type": "FreeDevice",
"params": {
"body_name": "cube/cube",
"joint_name": "cube/cube_freejoint"
}
},
"target": {
"type": "MocapDevice",
"params": {
"body_name": "target/target"
}
},
"floor_contact": {
"type": "ContactSensorDevice",
"params": {
"fields": [
"found"
]
}
},
"arm_state": {
"type": "ArticulatedDevice",
"params": {
"home_qpos": [
0.0,
0.785,
1.25,
-1.25,
0.0,
0.0
],
"measurements": [
"home_qpos",
"joint_pos",
"joint_vel",
"joint_range"
],
"joint_names": [
"right/joint_0",
"right/joint_1",
"right/joint_2",
"right/joint_3",
"right/joint_4",
"right/joint_5"
]
}
},
"gripper_state": {
"type": "ArticulatedDevice",
"params": {
"home_qpos": [
0.044,
0.044
],
"measurements": [
"home_qpos",
"joint_pos",
"joint_vel",
"joint_range"
],
"joint_names": [
"right/right_carriage_joint",
"right/left_carriage_joint"
]
}
},
"robot": {
"type": "ActuatorDevice",
"params": {
"targets": [
"right/joint_0",
"right/joint_1",
"right/joint_2",
"right/joint_3",
"right/joint_4",
"right/joint_5",
"right/right_carriage_joint"
],
"home_ctrl": [
0.0,
0.785,
1.25,
-1.25,
0.0,
0.0,
0.044
]
}
},
"ee": {
"type": "SiteDevice",
"params": {
"site_name": "right/ee_gripper_link"
}
}
},
"resetters": {
"pick_cube": {
"type": "TrossenPickCubeResetter",
"params": {
"object_pos_range": [
[
0.1,
0.25
],
[
-0.1,
0.1
],
[
0.775,
0.775
]
],
"target_pos_range": [
[
0.1,
0.2
],
[
-0.1,
0.1
],
[
0.85,
1.0
]
],
"resampling_time_range": [
4.0,
7.0
],
"joint_perturbation": 0.1
}
}
},
"model": {
"qpos_joints": [
"left/joint_0",
"left/joint_1",
"left/joint_2",
"left/joint_3",
"left/joint_4",
"left/joint_5",
"left/right_carriage_joint",
"left/left_carriage_joint",
"right/joint_0",
"right/joint_1",
"right/joint_2",
"right/joint_3",
"right/joint_4",
"right/joint_5",
"right/right_carriage_joint",
"right/left_carriage_joint",
"cube/cube_freejoint"
],
"jnt_qposadr": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16
],
"jnt_dofadr": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16
],
"actuators": [
"right/joint_0",
"right/joint_1",
"right/joint_2",
"right/joint_3",
"right/joint_4",
"right/joint_5",
"right/right_carriage_joint"
],
"mocap_bodies": [
"target/target"
]
},
"inputs": [
{
"name": "obs",
"groups": [
"policy"
],
"shape": [
1,
29
]
}
],
"checkpoint": "model_999.pt",
"reference_steps": 600,
"onnx_vs_torch_max_abs": 2.1457672119140625e-06
}