Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jlashner committed Dec 16, 2024
1 parent 79e0362 commit cd0d427
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions socs/testing/hwp_emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand All @@ -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)
Expand Down

0 comments on commit cd0d427

Please sign in to comment.