|
Re: Controlling Servos for Vision Targeting
Using GRIP to detect the targets and publish the centerX, I created a simple test program to basically say, if the target is too far to the right, move the camera to the right, and if the camera is too far to the left, move the camera to the left.
You just need to create a threshold say like 140-160 pixels for a 320x240 image to call the center.
Last edited by iSpotix : 29-01-2016 at 12:30.
|