Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/aind_behavior_vr_foraging/data_mappers/_rig.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,15 @@ def _get_all_components_and_connections(
is_clock_generator=False,
)

harp_stepper_motor = devices.HarpDevice(
name=validate_name(rig, "manipulator"),
harp_device_type=devices.HarpDeviceType.STEPPERDRIVER,
manufacturer=devices.Organization.OEPS,
is_clock_generator=False,
)

_components.append(harp_stepper_motor)

if rig.harp_sniff_detector is not None:
_components.append(
devices.HarpDevice(
Expand Down Expand Up @@ -492,7 +501,7 @@ def _get_lickspout_assembly(
model="328-300-00",
travel=Decimal("30"),
travel_unit=units.SizeUnit.CM,
notes="This stage is driven by the HarpStepperDriver device.",
notes="This stage is driven by the manipulator device.",
)

return devices.LickSpoutAssembly(
Expand Down
2 changes: 1 addition & 1 deletion src/aind_behavior_vr_foraging/data_mappers/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class TrackedDevices(enum.StrEnum):
TORQUE_SENSOR = "torque_sensor"
ROTARY_ENCODER = "rotary_encoder"
ENCLOSURE = "behavior_enclosure"
MOTORIZED_STAGE = "manipulator"
MOTORIZED_STAGE = "motorized_stage"
LICK_SPOUT = "lick_spout"
SCREEN = "screen"
COMPUTER = "computer"
Expand Down