loading
 
servo control
Robert from United States  [3 posts]
6 year
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 Gentner from United States  [1446 posts] 5 year
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.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index