Hey everyone, I’ve setup two Hamilton Heater Shaker modules in PLR. I used the guide to setup two HHS modules connected directly to the STAR, however they don’t show up in the visualizer.
When I use the core grippers to move a plate to that location, I see that the plate is moved to the correct location. Lock and shake commands work (in simulation, haven’t tested in hardware yet).
Here’s my code:
interface_choice = "star_control"
# HS1
hhsbackend1 = HamiltonHeaterShakerBackend()
hs1 = HeaterShaker(
name="Hamilton HeaterShaker",
backend=hhsbackend1,
size_x=146.2,
size_y=103.8,
size_z=74.11,
child_location=Coordinate(
x=TUBE_CARRIER_3.get_absolute_location().x + TUBE_CARRIER_3._size_x + 5,
y=455.5,
z=183
),
)
hs1.location=Coordinate(
x=TUBE_CARRIER_3.get_absolute_location().x + TUBE_CARRIER_3._size_x + 5,
y=455.5,
z=183
),
# HS2
hhsbackend2 = HamiltonHeaterShakerBackend()
hs2 = HeaterShaker(
name="Hamilton HeaterShaker",
backend=hhsbackend2,
size_x=146.2,
size_y=103.8,
size_z=74.11,
child_location=Coordinate(
x=TUBE_CARRIER_3.get_absolute_location().x + TUBE_CARRIER_3._size_x + 5,
y=455.5 - 103.8 - 5,
z=183
),
)
hs2.location=Coordinate(
x=TUBE_CARRIER_3.get_absolute_location().x + TUBE_CARRIER_3._size_x + 5,
y=455.5 - 103.8 - 5,
z=183
),
for hs in [hs1, hs2]:
await hs.setup()