255 lines
4.5 KiB
JSON
255 lines
4.5 KiB
JSON
{
|
|
"schema_version": 2,
|
|
"kind": "robot_part",
|
|
"part_id": "example_head",
|
|
"part_type": "head",
|
|
"description_role": "design_template",
|
|
"source": {
|
|
"format": "design",
|
|
"root": null,
|
|
"path": null,
|
|
"package_name": null,
|
|
"license_file": null,
|
|
"license_id": "LicenseRef-Design-Template",
|
|
"revision": null,
|
|
"sha256": null
|
|
},
|
|
"topology": {
|
|
"structure": "tree",
|
|
"root_body": "base",
|
|
"bodies": [
|
|
"base",
|
|
"link_0",
|
|
"link_1"
|
|
],
|
|
"joints": [
|
|
{
|
|
"id": "joint_0",
|
|
"source_name": "joint_0",
|
|
"type": "revolute",
|
|
"parent": "base",
|
|
"child": "link_0",
|
|
"origin": {
|
|
"xyz": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quat_xyzw": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"actuation": "active",
|
|
"position_unit": "rad",
|
|
"axis": [
|
|
0,
|
|
1,
|
|
0
|
|
],
|
|
"limits_origin": "declared",
|
|
"limits": {
|
|
"position": [
|
|
-1.5,
|
|
1.5
|
|
],
|
|
"velocity": 10,
|
|
"effort": 10
|
|
},
|
|
"coupling": null
|
|
},
|
|
{
|
|
"id": "joint_1",
|
|
"source_name": "joint_1",
|
|
"type": "revolute",
|
|
"parent": "link_0",
|
|
"child": "link_1",
|
|
"origin": {
|
|
"xyz": [
|
|
0,
|
|
0,
|
|
0.1
|
|
],
|
|
"quat_xyzw": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"actuation": "active",
|
|
"position_unit": "rad",
|
|
"axis": [
|
|
0,
|
|
1,
|
|
0
|
|
],
|
|
"limits_origin": "declared",
|
|
"limits": {
|
|
"position": [
|
|
-1.5,
|
|
1.5
|
|
],
|
|
"velocity": 10,
|
|
"effort": 10
|
|
},
|
|
"coupling": null
|
|
}
|
|
],
|
|
"constraints": []
|
|
},
|
|
"frames": [
|
|
{
|
|
"id": "root",
|
|
"body": "base",
|
|
"xyz": [
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"quat_xyzw": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": "gaze_frame",
|
|
"body": "link_1",
|
|
"xyz": [
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"quat_xyzw": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"root_frame": "root",
|
|
"attachment": {
|
|
"mode": "fixed",
|
|
"frame_id": "root",
|
|
"source_mount_joint": null,
|
|
"auxiliary_root_joints": []
|
|
},
|
|
"actuators": [
|
|
{
|
|
"id": "drive_joint_0",
|
|
"joint_id": "joint_0",
|
|
"neutral_position": 0.0,
|
|
"commands": {
|
|
"position_pd": {
|
|
"unit": "rad",
|
|
"scale": 0.25,
|
|
"offset": 0.0,
|
|
"gains": {
|
|
"kp": 25,
|
|
"kd": 0.5
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "drive_joint_1",
|
|
"joint_id": "joint_1",
|
|
"neutral_position": 0.0,
|
|
"commands": {
|
|
"position_pd": {
|
|
"unit": "rad",
|
|
"scale": 0.25,
|
|
"offset": 0.0,
|
|
"gains": {
|
|
"kp": 25,
|
|
"kd": 0.5
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"end_effectors": [
|
|
{
|
|
"id": "gaze",
|
|
"role": "gaze",
|
|
"frame_id": "gaze_frame",
|
|
"contact": null
|
|
}
|
|
],
|
|
"sensors": [
|
|
{
|
|
"id": "joint_state",
|
|
"kind": "joint_state",
|
|
"outputs": [
|
|
"joint.position",
|
|
"joint.velocity"
|
|
],
|
|
"frame_id": "root",
|
|
"target": {
|
|
"entity": "joint",
|
|
"ids": [
|
|
"joint_0",
|
|
"joint_1"
|
|
]
|
|
},
|
|
"update_period_s": 0.002
|
|
},
|
|
{
|
|
"id": "camera",
|
|
"kind": "camera",
|
|
"outputs": [
|
|
"image.rgb8"
|
|
],
|
|
"frame_id": "root",
|
|
"target": {
|
|
"entity": "part",
|
|
"ids": [
|
|
"example_head"
|
|
]
|
|
},
|
|
"update_period_s": 0.02
|
|
},
|
|
{
|
|
"id": "imu",
|
|
"kind": "imu",
|
|
"outputs": [
|
|
"imu.acceleration",
|
|
"imu.angular_velocity"
|
|
],
|
|
"frame_id": "root",
|
|
"target": {
|
|
"entity": "part",
|
|
"ids": [
|
|
"example_head"
|
|
]
|
|
},
|
|
"update_period_s": 0.02
|
|
}
|
|
],
|
|
"timing": {
|
|
"physics_dt_s": 0.002,
|
|
"control_dt_s": 0.01
|
|
},
|
|
"safety": {
|
|
"soft_limit_factor": 0.9,
|
|
"on_invalid_command": "reject",
|
|
"on_timeout": "disable",
|
|
"command_timeout_s": 0.05
|
|
},
|
|
"scales": {
|
|
"length_m": null,
|
|
"known_mass_kg": null
|
|
},
|
|
"extensions": {
|
|
"skillfactory.example": {
|
|
"synthetic": true,
|
|
"not_manufacturer_data": true
|
|
}
|
|
}
|
|
}
|