コード例 #1
0
def right(request):
    StartArm([0,1,0]) #Rotate base clockwise
    return HttpResponse('the arm has moved!!!')
コード例 #2
0
def forwards():
    StartArm([144, 0, 0])
    return 'the arm has moved!!!'
コード例 #3
0
def gripclose():
    StartArm([1, 0, 0])  #Grip close
    return 'the arm has moved!!!'
コード例 #4
0
def lightoff():
    StartArm([0, 0, 0])  #Light off
    return 'the arm has moved!!!'
コード例 #5
0
def elbowdown():
    StartArm([32, 0, 0])  #Elbow down
    return 'the arm has moved!!!'
コード例 #6
0
def wristdown():
    StartArm([8, 0, 0])  # Wrist down
    return 'the arm has moved!!!'
コード例 #7
0
def wristdown(request):
    StartArm([8,0,0]) # Wrist down
    return HttpResponse('the arm has moved!!!')
コード例 #8
0
def down():
    StartArm([128, 0, 0])  #Shoulder down
    return 'the arm has moved!!!'
コード例 #9
0
def elbowdown(request):
    StartArm([32,0,0]) #Elbow down
    return HttpResponse('the arm has moved!!!')
コード例 #10
0
def wristup(request):
    StartArm([4,0,0]) #Wrist up
    return HttpResponse('the arm has moved!!!')
コード例 #11
0
def elbowup(request):
    StartArm([16,0,0]) #Elbow up
    return HttpResponse('the arm has moved!!!')
コード例 #12
0
def down(request):
    StartArm([128,0,0]) #Shoulder down
    return HttpResponse('the arm has moved!!!')
コード例 #13
0
def up(request):
    StartArm([64,0,0]) #Shoulder up
    return HttpResponse('the arm has moved!!!')
コード例 #14
0
def baseclockwise():
    StartArm([0, 1, 0])  #Rotate base anti-clockwise
    return 'the arm has moved!!!'
コード例 #15
0
def gripopen(request):
    StartArm([2,0,0]) #Grip open
    return HttpResponse('the arm has moved!!!')
コード例 #16
0
def up():
    StartArm([64, 0, 0])  #Shoulder up
    return 'the arm has moved!!!'
コード例 #17
0
def gripclose(request):
    StartArm([1,0,0]) #Grip close
    return HttpResponse('the arm has moved!!!')
コード例 #18
0
def elbowup():
    StartArm([16, 0, 0])  #Elbow up
    return 'the arm has moved!!!'
コード例 #19
0
def lightoff(request):
    StartArm([0,0,0]) #Light off
    return HttpResponse('the arm has moved!!!')
コード例 #20
0
def wristup():
    StartArm([4, 0, 0])  #Wrist up
    return 'the arm has moved!!!'
コード例 #21
0
def backwards(request):
    StartArm([99,0,0])
    return HttpResponse('the arm has moved!!!')
コード例 #22
0
def gripopen():
    StartArm([2, 0, 0])  #Grip open
    return 'the arm has moved!!!'
コード例 #23
0
def forwards(request):
    StartArm([144,0,0])
    return HttpResponse('the arm has moved!!!')
コード例 #24
0
def lighton():
    StartArm([0, 0, 1])  #Light on
    return 'the arm has moved!!!'
コード例 #25
0
def backwards():
    StartArm([99, 0, 0])
    return 'the arm has moved!!!'
コード例 #26
0
def start_baseanticlockwise():
    StartArm([0, 2, 0])  #Rotate base anti-clockwise
    return 'the arm has moved!!!'
コード例 #27
0
def left(request):
    StartArm([0,2,0]) #Rotate base anti-clockwise
    return HttpResponse('the arm has moved!!!')