Skip to content

Commit

Permalink
added encoder to Treadmill (#1241)
Browse files Browse the repository at this point in the history
  • Loading branch information
saskiad authored Jan 24, 2025
1 parent 37cb5c3 commit e347569
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aind_data_schema/components/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,8 @@ class Treadmill(MousePlatform):
device_type: Literal["Treadmill"] = "Treadmill"
treadmill_width: Decimal = Field(..., title="Width of treadmill (mm)")
width_unit: SizeUnit = Field(default=SizeUnit.CM, title="Width unit")
encoder: Device = Field(..., title="Encoder")
pulse_per_revolution: int = Field(..., title="Pulse per revolution")


class Arena(MousePlatform):
Expand Down

0 comments on commit e347569

Please sign in to comment.