![]() |
Moving the robot automatically to follow camera tracking
Our team has the camera working so it can track a color and recognize it as such, but we don't know how to get the robot to move automatically to be able to follow the color.
Anybody know? |
Re: Moving the robot automatically to follow camera tracking
Quote:
The PWM value of the elevation, or y-axis, servo will give you a relative distance from the target. Determining the desired value when you are at the desired distance will again give you a reference for driving forward or back as needed. I left this a little vague so that you can figure out the details and learn in the process. |
Re: Moving the robot automatically to follow camera tracking
My team is mounting the camera rigidly to the robot, without the servo mechanism. Then we turn the robot to center the target in the image. The distance (number of pixels) the centroid of the target blob is from the center of the frame is the error signal that is minimized by turning the robot. The advantage of this is improved performance in not having to wait for the servo loop.
|
Re: Moving the robot automatically to follow camera tracking
Also search the forums for a thread I started on this same subject. There is an excellent link about 11 posts in from the BeachBots that will lead you to autonomous nirvana... if you are using Labview that is.
|
| All times are GMT -5. The time now is 12:45. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi