I've written a program for controlling servo motors in an animatronic display in sync with audio. It uses Pyglet for timing, reading mouse position (converted to motor position) and sound playback, and PySerial to send commands to the servo controller. This is my first program in python.
Here's a youtube video of the the first animatronic routine trained by this program. Whenever I have some cash to buy more servos, I'll try something a little more complicated. http://www.youtube.com/watch?v=0WB6OVAfUw0 I had some trouble with the timing slipping at first, but I slowed the motor framerate down from 30 fps to 15 fps, and it seems to be doing pretty well now. There are actually 4 signals being processed here, but only one motor connected. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
