Skip to content

Commit 1f60be4

Browse files
committed
hamilton tilter chatterbox
1 parent 1f4465b commit 1f60be4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pylabrobot/tilting/hamilton_backend.py

+11
Original file line numberDiff line numberDiff line change
@@ -307,3 +307,14 @@ async def tilt_initial_offset(self, offset: int):
307307
assert -100 <= offset <= 100, "Offset must be between -100 and 100."
308308

309309
return await self.send_command(command="SO", parameter=str(offset))
310+
311+
312+
class HamiltonTiltModuleChatterboxBackend(HamiltonTiltModuleBackend):
313+
async def setup(self, initial_offset=0):
314+
print(f"[tilter] setup initial offset {initial_offset}")
315+
316+
async def stop(self):
317+
print("[tilter] stopping")
318+
319+
async def send_command(self, command, parameter=None):
320+
print(f"[tilter] Sending command: {command} with parameter: {parameter}")

0 commit comments

Comments
 (0)