Thread: Camera Solution
View Single Post
  #8   Spotlight this post!  
Unread 01-02-2010, 19:07
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 Solution

Thanks for this! We just got our camera up and running.

To the above, we had that problem too earlier. When we tried to use a regular ethernet cable, the lights on the port on the cRIO weren't blinking. With the proper crossover cable (it was pink in this year's kit), the lights were blinking and we were able to get images on the screen. Are they blinking for you guys?

As for the code, where is the proper place to set up the camera instance? The way it is right now (in OperatorControl) it seems like the bot would stand still for 10 seconds at the beginning of the round.
__________________
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