190 lines
4.0 KiB
JSON
190 lines
4.0 KiB
JSON
{
|
|
"schema_version": 2,
|
|
"kind": "part_software",
|
|
"software_id": "wheel_velocity_control",
|
|
"software_version": "0.0.2",
|
|
"status": "design",
|
|
"binding_mode": "alternatives",
|
|
"hardware_bindings": [
|
|
{
|
|
"part_id": "example_mobile_base",
|
|
"spec_path": "configs/parts/example_mobile_base.json"
|
|
}
|
|
],
|
|
"requirements": {
|
|
"part_types": [
|
|
"mobile_base"
|
|
],
|
|
"joint_types": [
|
|
"continuous"
|
|
],
|
|
"topologies": [
|
|
"tree"
|
|
],
|
|
"attachment_modes": [
|
|
"fixed",
|
|
"external",
|
|
"floating"
|
|
],
|
|
"supports_coupling": true,
|
|
"required_control_modes": [
|
|
"velocity"
|
|
],
|
|
"required_sensor_kinds": [
|
|
"joint_state"
|
|
],
|
|
"required_sensor_outputs": [
|
|
"joint.position",
|
|
"joint.velocity"
|
|
],
|
|
"required_effector_roles": [],
|
|
"capacities": {
|
|
"Jmax": 32,
|
|
"Amax": 32,
|
|
"Emax": 8,
|
|
"Smax": 8
|
|
}
|
|
},
|
|
"interface": {
|
|
"contract_id": "wheel_velocity_control",
|
|
"contract_version": 1,
|
|
"quaternion_order": "xyzw",
|
|
"ports": [
|
|
{
|
|
"name": "joint_mask",
|
|
"direction": "input",
|
|
"kind": "mask",
|
|
"entity": "joint",
|
|
"selector": {
|
|
"type": "all",
|
|
"values": []
|
|
},
|
|
"required": true,
|
|
"dtype": "bool",
|
|
"shape": [
|
|
"B",
|
|
"Jmax"
|
|
],
|
|
"frame": "none",
|
|
"representation": "tensor",
|
|
"features": [],
|
|
"mask": null,
|
|
"command": null
|
|
},
|
|
{
|
|
"name": "joint_state",
|
|
"direction": "input",
|
|
"kind": "state",
|
|
"entity": "joint",
|
|
"selector": {
|
|
"type": "all",
|
|
"values": []
|
|
},
|
|
"required": true,
|
|
"dtype": "float32",
|
|
"shape": [
|
|
"B",
|
|
"Jmax",
|
|
2
|
|
],
|
|
"frame": "none",
|
|
"representation": "features",
|
|
"features": [
|
|
{
|
|
"name": "position",
|
|
"quantity": "joint.position",
|
|
"unit": "joint_position",
|
|
"normalization": "identity"
|
|
},
|
|
{
|
|
"name": "velocity",
|
|
"quantity": "joint.velocity",
|
|
"unit": "joint_velocity",
|
|
"normalization": "identity"
|
|
}
|
|
],
|
|
"mask": "joint_mask",
|
|
"command": null
|
|
},
|
|
{
|
|
"name": "actuator_mask",
|
|
"direction": "input",
|
|
"kind": "mask",
|
|
"entity": "actuator",
|
|
"selector": {
|
|
"type": "all",
|
|
"values": []
|
|
},
|
|
"required": true,
|
|
"dtype": "bool",
|
|
"shape": [
|
|
"B",
|
|
"Amax"
|
|
],
|
|
"frame": "none",
|
|
"representation": "tensor",
|
|
"features": [],
|
|
"mask": null,
|
|
"command": null
|
|
},
|
|
{
|
|
"name": "command",
|
|
"direction": "output",
|
|
"kind": "command",
|
|
"entity": "actuator",
|
|
"selector": {
|
|
"type": "all",
|
|
"values": []
|
|
},
|
|
"required": true,
|
|
"dtype": "float32",
|
|
"shape": [
|
|
"B",
|
|
"Amax",
|
|
1
|
|
],
|
|
"frame": "none",
|
|
"representation": "features",
|
|
"features": [
|
|
{
|
|
"name": "command",
|
|
"quantity": "actuator.command",
|
|
"unit": "1",
|
|
"normalization": "command_scale_offset"
|
|
}
|
|
],
|
|
"mask": "actuator_mask",
|
|
"command": {
|
|
"mode": "velocity",
|
|
"encoding": "normalized",
|
|
"clip": [
|
|
-1,
|
|
1
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"reset": "indexed_isolated",
|
|
"action_history": "last_applied"
|
|
},
|
|
"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
|
|
}
|
|
}
|