fix: bug fix
This commit is contained in:
parent
5414ca069f
commit
6c776bb4ae
@ -158,6 +158,7 @@ class RtFlomniController(RtController):
|
|||||||
print("rt feedback is now enabled.")
|
print("rt feedback is now enabled.")
|
||||||
|
|
||||||
def move_samx_to_scan_region(self, fovx: float, cenx: float):
|
def move_samx_to_scan_region(self, fovx: float, cenx: float):
|
||||||
|
time.sleep(0.05)
|
||||||
if self.rt_pid_voltage is None:
|
if self.rt_pid_voltage is None:
|
||||||
rtx = self.get_device_manager().devices.rtx
|
rtx = self.get_device_manager().devices.rtx
|
||||||
self.rt_pid_voltage = rtx.user_parameter.get("rt_pid_voltage")
|
self.rt_pid_voltage = rtx.user_parameter.get("rt_pid_voltage")
|
||||||
@ -232,7 +233,7 @@ class RtFlomniController(RtController):
|
|||||||
|
|
||||||
def show_cyclic_error_compensation(self):
|
def show_cyclic_error_compensation(self):
|
||||||
cec0 = int(float(self.socket_put_and_receive("w0").strip()))
|
cec0 = int(float(self.socket_put_and_receive("w0").strip()))
|
||||||
cec1 = int(float(self.socket_put_and_receive("w0").strip()))
|
cec1 = int(float(self.socket_put_and_receive("w1").strip()))
|
||||||
|
|
||||||
if cec0 == 32:
|
if cec0 == 32:
|
||||||
logger.info("Cyclic Error Compensation: y-axis is initialized")
|
logger.info("Cyclic Error Compensation: y-axis is initialized")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user