Log in

View Full Version : Target Tracking


Igor1201
23-01-2010, 16:09
We're working with the Axis Camera to track the position of the target with LabVIEW on the autonomous and tele-op (by a button pressing) modes.
Besides, we want to aim the target at the center of the vision, because the target can be found in the border, or anywhere.
It looks like nobody is having difficult with this tracking and centralization. But we aren't find a solution to this problem.
Our mentor has created a formula to move the pan/tilt of the camera, which consists in make the servo increase its angle and calculate the difference between the the new and old locations of target on camera vision.
Anyone could help me with suggestions or ideas? Any response will be appreciated, thanks!

Greg McKaskle
23-01-2010, 18:02
I'm not sure what the question is.

The sample code this year doesn't use the servo gimbal, but since the example from last year does, you could pretty easily combine the two.

Greg McKaskle

Igor1201
23-01-2010, 18:32
Yeah, we've tried it, understood the example and fit it in our program.
We realize that the gimbal can be made in a easy way, not appealing to sine and cosine formulas, or empirical 5 and -7 numbers like the last year's programming.

Greg McKaskle
23-01-2010, 20:28
Understanding and reworking is always a great way. Good luck.

Greg McKaskle

Andrew0089
26-01-2010, 15:52
hey new team this year :) could you send us the pan and tilt code from last year? We are completley stumped on how to get this to work!:mad:

Greg McKaskle
26-01-2010, 22:14
The gimbal code is in a vision example. The path is something like examples/FRC/Vision/Two Color Servo Demo.vi.

Greg McKaskle