Script execution
This commit is contained in:
@@ -174,10 +174,10 @@ try:
|
||||
# theta (polar), phi (azimuth), x, y, z
|
||||
sample_pos = [[-9.1,-105.0,0.5, 0.0, 115.0],
|
||||
[21.0,-105.0,0.8, 0.1, 115.0],
|
||||
[21.0,-75.0, 0.8, 0.1, 115.0],
|
||||
[51.0,-105.0,0.45, 1.4, 115.0],
|
||||
[51.0,-75.0, 0.45, 1.4, 115.0],
|
||||
[-9.1,-75.0,0.5, 0.0, 115.0]]
|
||||
[51.0,-105.0,0.45, 1.4, 115.0]]
|
||||
#[21.0,-75.0, 0.8, 0.1, 115.0],
|
||||
#[51.0,-75.0, 0.45, 1.4, 115.0],
|
||||
#[-9.1,-75.0,0.5, 0.0, 115.0]]
|
||||
for nn in sample_pos:
|
||||
polar = nn[0]
|
||||
azimuth = nn[1]
|
||||
@@ -185,7 +185,7 @@ try:
|
||||
ManipulatorY.move(nn[3])
|
||||
ManipulatorZ.move(nn[4])
|
||||
ManipulatorTheta.move(polar)
|
||||
ManipulatorPhi.move(azimuth)
|
||||
#ManipulatorPhi.move(azimuth)
|
||||
|
||||
#do_scan(MOTORS, POSITIONB, REGIONSB, LATENCY) #XPS before PhD
|
||||
do_scan(MOTORS, POSITIONS_B, REGIONS_B, LATENCY, nn) #PhD
|
||||
|
||||
Reference in New Issue
Block a user