Script execution

This commit is contained in:
x03daop
2017-07-21 14:13:47 +02:00
parent 178e43f913
commit 5e6248a922
+5 -3
View File
@@ -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)