Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Update automaticpolarizer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elerac committed Jan 8, 2020
1 parent 122296c commit 3c31572
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions automaticpolarizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ def reset(self):
ret = self.raw_command("H:1")
if self.is_sleep_until_stop: self.sleep_until_stop()
return ret

def jog(self, reverse=False):
ret = self.raw_command("J:1+") if reverse==False else self.raw_command("J:1-")
if ret==False: return False
return self.raw_command("G:")

def stop(self, immediate=False):
return (self.raw_command("L:1") if immediate==False else
Expand Down

0 comments on commit 3c31572

Please sign in to comment.