View Single Post
  #13   Spotlight this post!  
Unread 06-01-2009, 12:38
omalleyj omalleyj is offline
Registered User
AKA: Jim O'Malley
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: New Jersey
Posts: 132
omalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to behold
Re: Connecting Axis camera to cRIO

I have not used the Vision Assistant.
I setup the vision demo in WindRiver, changed the debug flag to output to the console, built and loaded it. Flip the DS switch to autonomous and the output is visible in the console. I have a laptop connected directly to the serial port and if there is a red object in the camera's field it give the XY coordinates. When a pan/tilt servo is connected to the PWM 3 & 4 it moves the camera to track the object. I did need to fiddle with the tracking a little, the tilt was inverted, but otherwise it works out of the box.

Also, make sure your camera is focused by connecting directly to a PC. Ours was very out of focus as received, that might be messing some people up.
Reply With Quote