Script execution

This commit is contained in:
x03daop
2017-07-21 14:09:56 +02:00
parent e75046dc7b
commit 178e43f913

View File

@@ -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)