diff --git a/01_Code/physical_computing_interface/assembly/python-urx/setup.json b/01_Code/physical_computing_interface/assembly/python-urx/setup.json index ceba5aa38162772c42e4e9ba379305000b5cbe42..f37b76ac6cc9f171870c2d36a86b60d38793a3d3 100644 --- a/01_Code/physical_computing_interface/assembly/python-urx/setup.json +++ b/01_Code/physical_computing_interface/assembly/python-urx/setup.json @@ -57,7 +57,81 @@ "sleep": 0.2, "sleep1": 0.1 }, - "nodes": [], - "edges": [] + "nodes": [ + { + "y": 0, + "x": 1, + "z": 0, + "rx": 0, + "ry": 0, + "rz": 0 + }, + { + "y": 0, + "x": 0, + "z": 0, + "rx": 0, + "ry": 0, + "rz": 0 + } + ], + "edges": [ + { + "y": 0, + "x": 1.5, + "z": 0, + "rx": 0, + "ry": 0, + "rz": 0 + }, + { + "y": 0.5, + "x": 1, + "z": 0, + "rx": 0, + "ry": 0, + "rz": 1.5707963267948966 + }, + { + "y": -0.5, + "x": 1, + "z": 0, + "rx": 0, + "ry": 0, + "rz": 1.5707963267948966 + }, + { + "y": 0, + "x": 0.5, + "z": 0, + "rx": 0, + "ry": 0, + "rz": 0 + }, + { + "y": 0, + "x": 0.5, + "z": 0, + "rx": 0, + "ry": 0, + "rz": 0 + }, + { + "y": 0, + "x": -0.5, + "z": 0, + "rx": 0, + "ry": 0, + "rz": 0 + }, + { + "y": 0.5, + "x": 0, + "z": 0, + "rx": 0, + "ry": 0, + "rz": 1.5707963267948966 + } + ] } } \ No newline at end of file diff --git a/01_Code/physical_computing_interface/setup/serve.js b/01_Code/physical_computing_interface/setup/serve.js index 01a20a616396528fe345bb4dd4cda2131d088030..7f08b54b1fc9dbae9b123d9d7b8ca603eba5836e 100644 --- a/01_Code/physical_computing_interface/setup/serve.js +++ b/01_Code/physical_computing_interface/setup/serve.js @@ -7,11 +7,7 @@ const { exec } = require("child_process"); var express = require('express'); -var fs = require('fs'); var app = express(); -var path = require('path'); - -var fs = require('fs'); const editJsonFile = require("edit-json-file"); var setup;