Skip to content

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-f-cruz committed Aug 30, 2024
1 parent a34061b commit b7164a0
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions examples/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
OlfactometerChannelConfig,
OlfactometerChannelType,
)
from aind_behavior_services.calibration.treadmill import (
Treadmill,
TreadmillCalibration,
TreadmillCalibrationInput,
TreadmillCalibrationOutput,
)
from aind_behavior_services.calibration.water_valve import (
Measurement,
WaterValveCalibration,
Expand All @@ -36,9 +42,7 @@
HarpLickometer,
HarpOlfactometer,
HarpSniffDetector,
HarpTreadmill,
RigCalibration,
Treadmill,
)
from aind_behavior_vr_foraging.task_logic import (
AindVrForagingTaskLogic,
Expand Down Expand Up @@ -151,12 +155,13 @@ def mock_rig() -> AindVrForagingRig:
harp_clock_generator=HarpClockGenerator(port_name="COM6"),
harp_analog_input=None,
harp_sniff_detector=HarpSniffDetector(port_name="COM7"),
harp_treadmill=HarpTreadmill(
harp_treadmill=Treadmill(
port_name="COM8",
calibration=Treadmill(
wheel_diameter=15,
pulses_per_revolution=28800,
break_lookup_calibration=[[0, 0], [1, 65535]],
calibration=TreadmillCalibration(
input=TreadmillCalibrationInput(),
output=TreadmillCalibrationOutput(
wheel_diameter=15, pulses_per_revolution=28800, brake_lookup_calibration=[[0, 0], [1, 65535]]
),
),
),
manipulator=AindManipulatorDevice(port_name="COM9", calibration=manipulator_calibration),
Expand Down

0 comments on commit b7164a0

Please sign in to comment.