From cd0d42707303fe97585f5b6b5a146f2cfe03f711 Mon Sep 17 00:00:00 2001 From: Jack Lashner Date: Mon, 16 Dec 2024 17:25:48 -0500 Subject: [PATCH] bugfixes --- socs/testing/hwp_emulator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/socs/testing/hwp_emulator.py b/socs/testing/hwp_emulator.py index 3c186b0ee..668e63bba 100644 --- a/socs/testing/hwp_emulator.py +++ b/socs/testing/hwp_emulator.py @@ -322,7 +322,7 @@ def encoder_thread_func(self): ).tobytes() sock.sendto(byte_data, addr) time.sleep(ENC_COUNTER_LEN / (2 * self.state.cur_freq * NUM_SLITS)) - self.log.info("Stopping encoder thread") + self.logger.info("Stopping encoder thread") def update_loop(self) -> None: """Update HWP state""" @@ -336,7 +336,7 @@ def update_loop(self) -> None: s.cur_freq = lerp(s.cur_freq, s.pid.freq_setpoint, self.lerp_frac) s.gripper.update() time.sleep(0.2) - self.log.info("Stopping update thread") + self.logger.info("Stopping update thread") def process_pcu_msg(self, data) -> str: self.logger.debug(data)