Skip to content

Commit

Permalink
* simple turret rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliusHendrix committed May 20, 2022
1 parent 6619186 commit 19292f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Main/bounce.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ def bounce(rendering):
elif state == 'left':
timer.reversed = True
bb.move(-1)
bb.set_turret_servo_angle(-20)
elif state == 'right':
timer.reversed = False
bb.move(1)
bb.set_turret_servo_angle(20)

finally:
camera.close()
Expand Down

0 comments on commit 19292f8

Please sign in to comment.