bec_worker: removed bs_z set in move to
This commit is contained in:
@@ -259,7 +259,6 @@ class BECClientWorker:
|
||||
logger.debug(f"Simulating move to {state.value}")
|
||||
return True
|
||||
try:
|
||||
self.position_devices['bs_z'].set_position(23.8)
|
||||
self.planner.move_to(state)
|
||||
if self.planner.is_state(state):
|
||||
logger.info(f"BEC move_to completed: {state.value} in {time.perf_counter() - start:.2f}s")
|
||||
@@ -574,8 +573,9 @@ if __name__ == "__main__":
|
||||
try:
|
||||
print('startting backlight brightness test')
|
||||
print('initial value')
|
||||
print(client.client.show_last_alarm())
|
||||
print(client._raise_bec_error(exc=Exception("test"), operation="test", tags=["test"]))
|
||||
# print(client.client.show_last_alarm())
|
||||
# print(client._raise_bec_error(exc=Exception("test"), operation="test", tags=["test"]))
|
||||
print(client.ring_current)
|
||||
# print('setting to 5')
|
||||
# client.backlight_brightness = 5
|
||||
# print(client.get_backlight_pos())
|
||||
@@ -599,8 +599,8 @@ if __name__ == "__main__":
|
||||
# print('setting to OFF')
|
||||
# client.backlight_brightness = BrightnessEnum.OFF
|
||||
#client.backlight_toggle()
|
||||
print(client.get_backlight_pos())
|
||||
print(client.backlight_brightness)
|
||||
# print(client.get_backlight_pos())
|
||||
# print(client.backlight_brightness)
|
||||
#client.scilog_msg("Testing scilog messages with color = yellow and italic", italic=True,
|
||||
# color="green", warning=False)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user