|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
ok we had camera tracking working lining up the robot at a modified speed but then it just stopped tracking the green circle does not even show up anymore
i have checked the code to the default code and everything is correct and nothing in the program has changed(that i can see) since it was working! does anyone have any suggestions on things to check programming,electrical,anything? |
|
#2
|
|||
|
|||
|
Re: camera tracking
Turn the lights back on.
I'm only half joking. Vision measures light, so if there were dramatic changes and your code stopped working, it could be that it was tuned so that it was just barely working before and enough lighting changed to break it. First, make sure you can still drive the robot using the joystick. Next, even without a target, the default code will aim at 0 on the gyro. You can reset the gyro using the joystick, rotate it to point somewhere else, and push the button to rotate. Finally, verify that the front panel button for Vision Processing is still on. Open the subVI for Finding the target and probe the image wire coming in. If that is OK, probe further downstream after it is just grayscale. If you don't find the issue, post the values you are using for the Find Target. Specifically, what is the threshold number, min and max sizes, etc? Greg McKaskle |
|
#3
|
||||
|
||||
|
Re: camera tracking
ok we have
1.full drive, kicker, and roller with the robot 2.the gyro works as the code turns toward zero on the gyro position the rest i will check later |
|
#4
|
||||
|
||||
|
Re: camera tracking
my values are
edge threshold=120 min target score=4 min elispe score=900 min radii=0.04 max=0.5 |
|
#5
|
|||
|
|||
|
Re: camera tracking
Those values look OK. What is your camera resolution, where are you on the field, and does it work for some but not all, or for no target images at all?
Finally, if you probe the image going into the Find Ellipse subVI, does the image look OK? Greg McKaksle |
|
#6
|
||||
|
||||
|
Re: camera tracking
the camera resolution is the middle one 320 by something i think
the tracking does not work whether it is 2 or 20 feet or anything in between i have yet to probe the image the build team has been all over the robot but i rebuilt the code from the default which works and i will try that today |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera tracking at 110ms | Bomberofdoom | Programming | 12 | 13-02-2009 11:35 |
| Camera Tracking | Tanner | NI LabVIEW | 5 | 01-02-2009 11:28 |
| Camera locked in "tracking", but not tracking | geeknerd99 | Programming | 1 | 18-02-2007 22:47 |
| camera tracking | geekofband007 | Programming | 15 | 15-02-2007 23:50 |
| Camera Tracking Woes | VideoMan053 | Programming | 4 | 29-01-2005 18:09 |