View Single Post
  #7   Spotlight this post!  
Unread 20-02-2010, 19:37
unobtainium-42's Avatar
unobtainium-42 unobtainium-42 is offline
Team President
AKA: Eric Eaton
FRC #0670 (Homestead Robotics Team)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Sunnyvale, CA
Posts: 24
unobtainium-42 is an unknown quantity at this point
Re: Cannot Connect to Camera through cRIO

I'm not sure how you don't know where the updates are, they are mandatory and on FIRST's website:

http://www.usfirst.org/roboticsprogr....aspx?id=10934

Make sure the cRIO's port that connects to the camera turns on its LEDs so the camera has the potential to communicate. I believe this requires a crossover cable.

Include the following lines in the class inheriting SimpleRobot's constructor:

Code:
// we just got these lines from the example 2010ImageDemo
AxisCamera &camera = AxisCamera::GetInstance();
camera.WriteResolution(AxisCameraParams::kResolution_320x240)
camera.WriteBrightness(0)
After doing just that, our camera works great, even if it's disconnected or booting it will still eventually start the image feed when the camera goes online.
Reply With Quote