Quote:
|
Originally Posted by pickle
Well, the sheets are out of the target mostly I think, but ya, tomorrow we'll try covering those cabinets with something else (they are orange, and show up the same color as the targer on the camera). As far as lighting, its just in like a classroom kind of thing, I don't really know what else to do for that, we're gonna try some other things too. I'll let you know if I get it, assuming my head doesn't go through a wall.... this has been 2 days straight of this.............
And just curious, when we hit a color, we get the error "Tracking packet failed" in the little statusbar window of the GUI, where you see the messages about the camera, is this normal? Or could this be a part of the problem, I kind of forgot to mention that...
|
We just fired up the camera tonight and basically got the same "Tracking packet failed". After reading the manual on the commands for the camera, I went into Hyperterminal and setup the camera to track all colors with no problem. I'm convinced the GUI screws up on certain PCs, probably the serial driver. I'm running a P4m @ 2.8Ghz and can't get it to run. Here's what I did to prove the camera tracked OK.
1. Setup camera playing field. Enter GUI and grab a frame.
2. Then hover the mouse over the triangle and left click on the field's triange on the screen. If the triangle looks highlighted ok, then record the RGB values that are shown.
3. Close the GUI and open Hyperterminal ( keep power on the camera). setup for COM1 @ 115200, 8, n, 1
4. Type <ret> and make sure you get an ACK
4. Type SM 15 <ret> to enable auto tracking of servos
5. Type TC Rmin Rmax Gmin Gmax Bmin Bmax.. where
Rmin = Your R value -25
Rmax = Your R value +25
Gmin = Your G value -25
Gmax = Your G value +25
Bmin = Your B value -25
Bmax = Your B value +25
Your camera should now be tracking.... At least now I know the GUI is screwed up and I'm not going nuts