Log in

View Full Version : How to track target


camper365
25-01-2010, 15:14
how does one go about tracking the circle as the target instead of a colored object?
Would it be better to target the FIRST logo in the middle though? Any input on algorithms used would be helpful. We are [unfortunately] using LabView this year to program

Alan Anderson
25-01-2010, 15:39
The LabVIEW robot project has vision target tracking built in. It already finds the black circle for you.

Andrew0089
26-01-2010, 15:48
how do we get the camera to turn on the servo's? We keep making basic programs that should turn the servo's but it has just stumped us!:mad: does anyone have any bases that we could awork from and see what we are doing wrong? thanks for any help! we could use any pointers we can get. :)

Andrew
Rookie Team 3229

Greg McKaskle
26-01-2010, 22:09
There is an example which updates servos to center a vision target. It is not a black circle, but they are pretty compatible.

Greg McKaskle

Pausert
27-01-2010, 22:16
how do we get the camera to turn on the servo's? We keep making basic programs that should turn the servo's but it has just stumped us!:mad: does anyone have any bases that we could awork from and see what we are doing wrong? thanks for any help! we could use any pointers we can get. :)

Andrew
Rookie Team 3229

Make sure you put a jumper on the +V pins on the PWM you connected the servo to. I made that mistake initially.

zwaggoner
15-02-2010, 15:49
im on a rookie team, and i have been looking around the robot project, and where is this built in tracking program in the project, i have not seen it looking around.

Andrew0089
15-02-2010, 16:00
turns out our build team wiring was alittle finicky :) it works now! but thanks for the help we did edit out programming a little.

Alan Anderson
15-02-2010, 21:26
im on a rookie team, and i have been looking around the robot project, and where is this built in tracking program in the project, i have not seen it looking around.

The Vision Processing vi should be listed in the Project Explorer window, under the Team Code. Robot Main calls it.

zwaggoner
15-02-2010, 21:42
The Vision Processing vi should be listed in the Project Explorer window, under the Team Code. Robot Main calls it.

Thanks for the answer but i looked in there and i didnt see anything dealing with finding the target. Am I missing something when looking in there? Or did I misunderstand What you said concerning the program finding the target for you?

Alan Anderson
16-02-2010, 00:04
Thanks for the answer but i looked in there and i didnt see anything dealing with finding the target. Am I missing something when looking in there?

I think you must have missed the "Find Circular Target" right in the middle of it.

Joe Ross
16-02-2010, 09:41
Thanks for the answer but i looked in there and i didnt see anything dealing with finding the target. Am I missing something when looking in there? Or did I misunderstand What you said concerning the program finding the target for you?

If you don't see it, you may not have installed the LabVIEW update.

zwaggoner
17-02-2010, 16:30
Thank you very much i found it and solved a lot of other problems along with it :D :D