From 5e6248a922b9b7041a28d597dd32abdd0d09995a Mon Sep 17 00:00:00 2001 From: x03daop Date: Fri, 21 Jul 2017 14:13:47 +0200 Subject: [PATCH] Script execution --- script/users/HoloScan-Yasmine.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/script/users/HoloScan-Yasmine.py b/script/users/HoloScan-Yasmine.py index a929e0f9..56eb104f 100644 --- a/script/users/HoloScan-Yasmine.py +++ b/script/users/HoloScan-Yasmine.py @@ -27,14 +27,16 @@ try: #theta = [(i%46)*2.0-9.0 for i in range(460)] NPOINTS = 92 - phi = [30.5 for i in range(NPOINTS)] + #phi = [0.5 for i in range(NPOINTS)] + phi=0.5 theta = [i * 1.0 - 11.0 for i in range(NPOINTS)] #x = [3.0 * math.cos((th+9.0) * math.pi/180.0) - 1.69 for th in theta] #y = [3.0 * math.sin((th+9.0) * math.pi/180.0) - 0.933 for th in theta] - x = [0.65] + x = 0.65 y = [0.0179 * th for th in theta] #VECTOR = [phi, theta, x, y] - VECTOR = [[phi[i], theta[i], x[i], y[i]] for i in range(NPOINTS)] + #VECTOR = [[phi[i], theta[i], x[i], y[i]] for i in range(NPOINTS)] + VECTOR=[[phi,theta[i],x,y[i]] for i in range(NPOINTS)] # ManipulatorPhi.move(-8.9) #ManipulatorTilt.move(+25.5) #Scienta.getStepTime().write(1.47)