Skip to content

Instantly share code, notes, and snippets.

@gabrik
Created November 3, 2020 16:12
Show Gist options
  • Save gabrik/4f03b2cfd772d446ca41b9ae31a0a996 to your computer and use it in GitHub Desktop.
Save gabrik/4f03b2cfd772d446ca41b9ae31a0a996 to your computer and use it in GitHub Desktop.
teleoperation.json
{
"id": "example-entity-robotic",
"name": "example robotic entity",
"version": "0.2.1",
"entity_version": "0.0.1",
"description": "this is an example entity",
"fdus": [
{
"id": "tb3-motors",
"name": "turtlebot3_bringup",
"version": "0.2.1",
"fdu_version": "0.0.1",
"computation_requirements": {"cpu_arch": "aarch64","cpu_min_freq": 0, "cpu_min_count": 1,"ram_size_mb": 512,"storage_size_mb": 20},
"image": { "uri": "file:///home/ubuntu/tb3.tar.gz", "checksum": "", "format": "tar.gz" },
"hypervisor_specific":"{ \"binary\":\"robot.launch.py\", \"args\":[]}",
"storage": [],
"hypervisor": "ROS2",
"migration_kind": "COLD",
"interfaces": [{ "name": "eth0","kind": "VIRTUAL", "virtual_interface": { "vif_kind": "BRIDGED", "parent": "lxdbr0"}}],
"io_ports": [],
"connection_points": [],
"depends_on": []
},
{
"id": "joy-client",
"name": "turtlebot3_server",
"version": "0.2.1",
"fdu_version": "0.0.1",
"computation_requirements": {"cpu_arch": "x86_64","cpu_min_freq": 0,"cpu_min_count": 1,"ram_size_mb": 64,"storage_size_mb": 10},
"image": { "uri": "file:///home/ato/teleop.tar.gz", "checksum": "", "format": "tar.gz" },
"hypervisor_specific": "{\"binary\": \"teleop_yaks\",\"args\": [\"tcp/51.178.81.124:7447\"]}",
"hypervisor": "ROS2",
"migration_kind": "COLD",
"storage": [],
"depends_on": [],
"interfaces": [{ "name": "eth0","kind": "VIRTUAL", "virtual_interface": { "vif_kind": "BRIDGED", "parent": "lxdbr0"}}],
"io_ports": [],
"connection_points": []
},
{
"id": "dds-bridge-cloud",
"name": "bridge-cloud",
"version": "0.2.1",
"fdu_version": "0.0.1",
"computation_requirements": {"cpu_arch": "x86_64","cpu_min_freq": 0,"cpu_min_count": 1,"ram_size_mb": 64,"storage_size_mb": 10},
"hypervisor_specific": "{\"binary\": \"/home/ato/atolab/zenoh-plugin-dds/target/release/dzd\",\"args\": [\"-m\",\"client\",\"-e\",\"tcp/51.178.81.124:7447\"]}",
"hypervisor": "BARE",
"migration_kind": "COLD",
"storage": [],
"depends_on": [],
"interfaces": [{ "name": "eth0","kind": "VIRTUAL", "virtual_interface": { "vif_kind": "BRIDGED", "parent": "lxdbr0"}}],
"io_ports": [],
"connection_points": []
},
{
"id": "dds-bridge-tb3",
"name": "bridge-robot",
"version": "0.2.1",
"fdu_version": "0.0.1",
"computation_requirements": {"cpu_arch": "aarch64","cpu_min_freq": 0,"cpu_min_count": 1,"ram_size_mb": 64,"storage_size_mb": 10},
"hypervisor_specific": "{\"binary\": \"/home/ubuntu/dzd\",\"args\": [\"-m\",\"client\",\"-e\",\"tcp/51.178.81.124:7447\"]}",
"hypervisor": "BARE",
"migration_kind": "COLD",
"storage": [],
"depends_on": [],
"interfaces": [{ "name": "eth0","kind": "VIRTUAL", "virtual_interface": { "vif_kind": "BRIDGED", "parent": "lxdbr0"}}],
"io_ports": [],
"connection_points": []
},
{
"id": "tb3-camera",
"name": "camera",
"version": "0.2.1",
"fdu_version": "0.0.1",
"computation_requirements": {"cpu_arch": "aarch64","cpu_min_freq": 0,"cpu_min_count": 1,"ram_size_mb": 64,"storage_size_mb": 10},
"hypervisor_specific": "{\"binary\": \"/home/ubuntu/zcam/target/debug/zcapture\",\"args\": [\"-m\",\"client\",\"-e\",\"tcp/51.178.81.124:7447\",\"-p\",\"/robot/video\"]}",
"hypervisor": "BARE",
"migration_kind": "COLD",
"storage": [],
"depends_on": [],
"interfaces": [{ "name": "eth0","kind": "VIRTUAL", "virtual_interface": { "vif_kind": "BRIDGED", "parent": "lxdbr0"}}],
"io_ports": [],
"connection_points": []
}
],
"virtual_links": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment