128 lines
2.5 KiB
JSON
128 lines
2.5 KiB
JSON
{
|
|
"schema_version": 2,
|
|
"kind": "part_software",
|
|
"software_id": "part_rgb_perception",
|
|
"software_version": "0.0.2",
|
|
"status": "design",
|
|
"binding_mode": "alternatives",
|
|
"hardware_bindings": [
|
|
{
|
|
"part_id": "example_head",
|
|
"spec_path": "configs/parts/example_head.json"
|
|
},
|
|
{
|
|
"part_id": "example_sensor",
|
|
"spec_path": "configs/parts/example_sensor.json"
|
|
}
|
|
],
|
|
"requirements": {
|
|
"part_types": [
|
|
"head",
|
|
"sensor"
|
|
],
|
|
"joint_types": [
|
|
"revolute"
|
|
],
|
|
"topologies": [
|
|
"tree"
|
|
],
|
|
"attachment_modes": [
|
|
"fixed",
|
|
"external",
|
|
"floating"
|
|
],
|
|
"supports_coupling": true,
|
|
"required_control_modes": [],
|
|
"required_sensor_kinds": [
|
|
"camera"
|
|
],
|
|
"required_sensor_outputs": [
|
|
"image.rgb8"
|
|
],
|
|
"required_effector_roles": [],
|
|
"capacities": {
|
|
"Jmax": 32,
|
|
"Amax": 2,
|
|
"Emax": 1,
|
|
"Smax": 8
|
|
}
|
|
},
|
|
"interface": {
|
|
"contract_id": "part_rgb_perception",
|
|
"contract_version": 1,
|
|
"quaternion_order": "xyzw",
|
|
"ports": [
|
|
{
|
|
"name": "camera_mask",
|
|
"direction": "input",
|
|
"kind": "mask",
|
|
"entity": "sensor",
|
|
"selector": {
|
|
"type": "sensor_output",
|
|
"values": [
|
|
"image.rgb8"
|
|
]
|
|
},
|
|
"required": true,
|
|
"dtype": "bool",
|
|
"shape": [
|
|
"B",
|
|
"Smax"
|
|
],
|
|
"frame": "none",
|
|
"representation": "tensor",
|
|
"features": [],
|
|
"mask": null,
|
|
"command": null
|
|
},
|
|
{
|
|
"name": "rgb_image",
|
|
"direction": "input",
|
|
"kind": "image",
|
|
"entity": "sensor",
|
|
"selector": {
|
|
"type": "sensor_output",
|
|
"values": [
|
|
"image.rgb8"
|
|
]
|
|
},
|
|
"required": true,
|
|
"dtype": "uint8",
|
|
"shape": [
|
|
"B",
|
|
"Smax",
|
|
480,
|
|
640,
|
|
3
|
|
],
|
|
"frame": "none",
|
|
"representation": "tensor",
|
|
"features": [],
|
|
"mask": "camera_mask",
|
|
"command": null
|
|
}
|
|
],
|
|
"reset": "not_applicable",
|
|
"action_history": "none"
|
|
},
|
|
"runtime": {
|
|
"adapter_id": null,
|
|
"implementation": "unimplemented",
|
|
"dependencies": {},
|
|
"devices": [
|
|
"cpu",
|
|
"cuda"
|
|
],
|
|
"timing": {
|
|
"policy": "per_part",
|
|
"control_dt_s": null
|
|
}
|
|
},
|
|
"artifact": {
|
|
"format": "none",
|
|
"checkpoint": null,
|
|
"trained_skill": false,
|
|
"frozen": false
|
|
}
|
|
}
|