diff --git a/01_Code/physical_computing_interface/assembly/python-urx/ur10test.py b/01_Code/physical_computing_interface/assembly/python-urx/ur10test.py index e2866ee73a8bb81739002e0060ec5de958e61d01..dcd41f4823aeb0f1ecd86576f87a82800d1b01f3 100644 --- a/01_Code/physical_computing_interface/assembly/python-urx/ur10test.py +++ b/01_Code/physical_computing_interface/assembly/python-urx/ur10test.py @@ -160,7 +160,7 @@ for edge in setup["edges"]: #move siegfried (struts) to S1, then to build level 0.5, from reference location - if node["rx"]<0.1 : + if edge["rx"]<0.1 : siegfried_trans.pos.y += ((globalSetup["edgeRelativeDistance"]["y"]))+edge["y"]*latticePitch["y"] siegfried_trans.pos.x += ((globalSetup["edgeRelativeDistance"]["x"]))+edge["x"]*latticePitch["x"] siegfried.set_pose(siegfried_trans, acc = a, vel = v)