Thread: tilt/pan away
View Single Post
  #5   Spotlight this post!  
Unread 24-01-2007, 16:20
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: tilt/pan away

Quote:
Originally Posted by Tangello_angela View Post
What should i do if when try to track the light with the CMU cam, in the LabView GUI app, the camera find and tracks the light but instead of moving towards the light it moves away?

If the camera is mounted normally the tilt is messed up. If we mount it upside down the pan gets messed up.
Are you using last year's camera? The 05/06 version of the CMUCam2 had servo control headers on it. When the camera was in "tracking" mode, it would compute the output values needed to center its vision on a particular color blob. Kevin's camera tracking code (servos controlled on RC, NOT CmuCam) simply tricks the CMUCam into thinking it is controlling the servos. The software on the CMUCam constantly updates these servo values and spits them out to the headers. This is why your camera will track when using the LabView App.

This year's camera does not have on board servo headers. With the addition of the illuminated target, there is really no good reason to use the LabView app, except to see what the camera is processing.