For this project I just thought of making a Ferris wheel that would move a marble from one plane to another and fall down stairs to go through the loop again. I used a bar linkage system using a paperclip I don’t think I got the math right to make it work smoothly but it sort of works. For the code a simple linear move back on forth from 0 to 180 degrees is enough for it to move theoretically if got the linkage correct.
print("Creating servo object.") servo = Servo(board.GP0) print("Starting main script.") while True: print("Starting linear motions.") linear_move(servo, 0.0,180.0, speed=150)
Leave a Reply
You must be logged in to post a comment.