Program Scan Time and Servo Motor Control
Scott2Hot
Posts: 10
I want to be able to control·multiple servo motors and at the same time·monitor the inputs and make the adjustments to the servos position and speed with the BS2. If I know how long it took for the program to scan I could subtract this from the 20ms pause and set it at the end of the program. Assuming the program scan time is less than 20ms. Just wondering if anyone knows how to do this or if there is a better way?
Comments
A BoeBot with a PING bracket and PING can handle 3 servos plus the PING sensor plus two touch bumpers and even IR distance sensing all in a 20ms cycle with some time left over for simple logic to turn to the direction of the longest path.
Post Edited (Mike Green) : 3/2/2009 6:14:42 PM GMT