Skip to content
Open
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
7 changes: 7 additions & 0 deletions uArmFunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ def goHome(uArm):
'''Puts the uArm into the home position'''
sendGCode(uArm, "G0 X150 Y0 Z0 F20000") #pen up (if not already up)

def goVision(uArm):
'''Puts the uArm into camera vision position'''
sendGCode(uArm, "G0 Z20") #pen up
#sendGCode(uArm, "G0 X150 Y0 Z0 F20000") #pen up (if not already up)

sendGCode(uArm, "G0 X70 Y90 Z20") #position for best camera view

def drawBoard(uArm):
'''Draws the board'''
sendGCode(uArm, "G0 X150 Y0 Z10")
Expand Down