|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Camera Solution
Quote:
|
|
#2
|
||||
|
||||
|
Re: Camera Solution
Quote:
|
|
#3
|
||||
|
||||
|
Re: Camera Solution
That's great but it doesn't solve my problem. I need to declare a camera variable with a class scope and then assign to it in the classes constructor, yet every time I put it in the class it gives me error.
|
|
#4
|
|||
|
|||
|
Re: Camera Solution
We just got our camera working today, which was very exciting. The simple solution after all the updates was just putting in those few lines of code from the OP. Should've seen that coming, but ah well. Here's to hopefully solving many other confused teams' problems.
|
|
#5
|
|||
|
|||
|
Re: Camera Solution
Thanks a lot man, this worked!
|
|
#6
|
||||
|
||||
|
Re: Camera Solution
OK, We here in Goodrich, MI have completed all of these steps and this does not work for us. we are using c++, we have been using the 2010ImageDemo and it seems to have all the code posted above, we have all the updates and the camera works through the Ethernet port on the DS, we have had no luck here and would appreciate some help.
Thanks in advance, Team 494 & 70 Last edited by K3V1N.Team70 : 31-01-2010 at 23:57. Reason: oops |
|
#7
|
|||
|
|||
|
Re: Camera Solution
Quote:
We're having the same problems you are and we did not have any success yet either. BC |
|
#8
|
||||
|
||||
|
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. |
|
#9
|
|||
|
|||
|
Re: Camera Solution
You put the declaration of the camera object in the first set of brackets after the imports, and the rest in robotInit
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Solution to camera problem | techkid7 | Programming | 1 | 12-01-2009 08:42 |
| Adams Coprocessor Solution | ScottWalls | Programming | 17 | 30-01-2007 17:17 |
| Dean's Homework Solution | Jessica! | General Forum | 1 | 08-05-2006 10:27 |
| the solution | focus fanatic | Chit-Chat | 8 | 18-01-2006 15:36 |