From 178e43f9137cdf72d0d77bf9c363dce856bb48d0 Mon Sep 17 00:00:00 2001 From: x03daop Date: Fri, 21 Jul 2017 14:09:56 +0200 Subject: [PATCH] Script execution --- script/users/HoloScan-Yasmine.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/script/users/HoloScan-Yasmine.py b/script/users/HoloScan-Yasmine.py index 8275a56b..a929e0f9 100644 --- a/script/users/HoloScan-Yasmine.py +++ b/script/users/HoloScan-Yasmine.py @@ -26,11 +26,13 @@ try: #phi = [int(i/46) * 36.0 - 165.0 for i in range(460)] #theta = [(i%46)*2.0-9.0 for i in range(460)] - NPOINTS = 91 + NPOINTS = 92 phi = [30.5 for i in range(NPOINTS)] - theta = [i * 1.0 - 9.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] + 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] + 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)] # ManipulatorPhi.move(-8.9)