I am working on an idea to projection map a rotating object turned by a motor mounted above it.
The total piece of work will be 40 seconds long and loop continuously, I am going to (hopefully) use openFrameworks to map the content to the object but need your advice regarding rotating the object at the correct speed and keeping it all in time.
I understand that servo motors can give an exact position but I have never seen one used and have no idea where to begin coding this.
If i wanted the rotation to be frame accurate would that be possible? say 360 degrees in 40 seconds @ 25fps would require 0.36 degrees per frame (or 9 degrees per second)
Is this possible and if so how do I go about controlling it from the PI?