Skip to content

Commit

Permalink
add stage move_absolute method
Browse files Browse the repository at this point in the history
  • Loading branch information
ieivanov committed Jun 30, 2023
1 parent 57c5ac3 commit dc5516d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion copylot/hardware/stages/abstract_stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ def travel_range(self, value):

@abstractmethod
def move_relative(self, value):
"Move the relative distance from current position"
"Move a relative distance from current position"
raise NotImplementedError()

@abstractmethod
def move_absolute(self, value):
"Move to an absolute position"
self.position = value

@abstractmethod
def zero_position(self):
Expand Down

0 comments on commit dc5516d

Please sign in to comment.