loading
 
servo control
robert zeiler from United States  [2 posts]
5 months
Hi
I am using the example of "follow red object" using a single servo (for now) and a Pololu Maestro 6-channel controller. Everything works fine however, the servo seems to oscillate through a range of settings and not "settle" on the one red object in view.

I've tried slowing the speed of the servo but that makes the following function very slow.

Any help would be appreciated.

Robert
STeven from United States  [1403 posts] 2 months
There are a couple of reasons this might be happening. One is that not enough power is provided to the servo or servo controller board such that the servo is causing a power drop, recovering and then causing another power drop, etc. This will cause the servo to twitch back and forth.

The second reason might be that you have many small red objects in view and the servo is trying to move in accordance with many objects. Be sure you have eliminated all but the largest object (perhaps using the Blob Filter or Blob Size module) so that it can settle on a single object.

STeven.

 Reply  New Post   Forum Index