View Single Post
  #4   Spotlight this post!  
Unread 20-04-2010, 21:16
Al3+'s Avatar
Al3+ Al3+ is offline
ARTist
AKA: Anthony
FRC #0840 (Aragon Robotics Team)
Team Role: Programmer
 
Join Date: Oct 2009
Rookie Year: 2008
Location: San Mateo, CA
Posts: 58
Al3+ is a jewel in the roughAl3+ is a jewel in the roughAl3+ is a jewel in the rough
Re: Camera problem: No Code

Installed the update, but now we aren't getting a dashboard feed. Everything else on the robot is working, so it's not crashing the system. It's just as if the camera code wasn't there at all.

Right now I have something like:
Code:
AxisCamera &camera = AxisCamera::GetInstance();
camera.WriteResolution(AxisCamera::k320x240);
camera.WriteBrightness(0);
in the robot constructor. That should be enough, right?

Workbench is v4.3, cRIO image is v20, camera is connected to ethernet port 2 and lights up green.
__________________
cout << "Hello, robotics. Goodbye, world." << endl;

"The two-axis accelerometer provided in the kit of parts (shown in the picture below) is a two-axis accelerometer." - WPILib User's Guide
Reply With Quote