DAQ: updated smargon home pos
This commit is contained in:
1 parent
b5612531ef
commit
c9b18d0be9
1 file changed
+2
-2
@@ -19,7 +19,7 @@ class Smargon(object):
|
||||
SMARGON_HOME = SmargonCoordinate(
|
||||
sh_mm=Coordinate(x=0, y=0, z=18), phi_deg=0, chi_deg=0
|
||||
)
|
||||
AERO_HOME = AerotechCoordinate(x=18, y=0, z=0, omega=0)
|
||||
AERO_HOME = AerotechCoordinate(x=0, y=0, z=0, omega=0)
|
||||
|
||||
def __init__(self, bl: MXBeamline):
|
||||
if bl == MXBeamline.X06DA:
|
||||
@@ -227,7 +227,7 @@ if __name__ == "__main__":
|
||||
x = smargon.readback_aerotech
|
||||
print(x)
|
||||
y = smargon.target_aerotech
|
||||
smargon.target_aerotech = AerotechCoordinate(at_mm=Coordinate(x=18, y=0, z=0))
|
||||
smargon.target_aerotech = AerotechCoordinate(at_mm=Coordinate(x=0, y=0, z=0))
|
||||
print(y)
|
||||
smargon.wait_aerotech()
|
||||
print(f"aerotech reached {smargon.readback_aerotech}")
|
||||
|
||||
Reference in new issue
Block a user