|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Camera Setup
Okay so our team wanted to keep off the camera setup and all until we got everything in our original design working perfectly, so basically we just started with the camera configuration, I typed it all out in a text file before we left for the day so that I could get help so here is all the info:
Quote:
1) Can you even receive an image from the camera when it's hooked to the cRIO? 2) If yes, how? 3) If no, how can you get feedback from the camera that it sees anything at all? TY to any who reply. ![]() Last edited by ExarKun666 : 23-02-2009 at 22:23. |
|
#2
|
|||||
|
|||||
|
Re: Camera Setup
If you're using one of the LabVIEW frameworks, then the camera code is built in and you can see the camera output by running the default LabVIEW Dashboard project.
|
|
#3
|
||||
|
||||
|
Re: Camera Setup
We are using Windriver [but we have LabView installed]
Is there a way that we can get the image on the screen through Windriver? |
|
#4
|
||||
|
||||
|
Re: Camera Setup
I have another question
1) Is there the way to see what the camera sees through WindRiver? 2)if I switched the cRIO and did labVIEW just to look for the camera and go back to WindRiver cRIO, 1st can you even do this? 2nd if you did do this would it dmg the cRIO, or screw up any IP addressing?? ![]() |
|
#5
|
|||
|
|||
|
Re: Camera Setup
First of all, the camera when plugged into the cRio it's on a different network from all of the other systems. Therefore, you can't acsess it directly. Since you're using windriver, you'll need to manually start a video server--check the C++ reference for the "PCvideoserver" object. Remember to take video server code out before you compete however--it will just bog down the CPU and bridge.
As for switching development environments on the cRio--just make sure you put in the team number right and that the current configuration matches what you're actually using, and it should work fine. |
|
#6
|
|||||
|
|||||
|
Re: Camera Setup
Probably the easiest way just to test the camera is to reformat the cRIO using the FRC cRIO Imaging Tool. That puts the default program back on the cRIO and it streams the camera back to your PC.
You can leave the cRIO formatted for Wind River, so your regular programming won't get messed up. Then use "FRC Dashboard Project" from the LabVIEW startup window and run it by right clicking on Dashboard Main.vi and clicking Run. If the camera is setup correctly you'll get the video. |
|
#7
|
||||
|
||||
|
Re: Camera Setup
Okay wanted to get back to you. So I used the method of doing the cRIO tool, and checked the bubble LabView. I was able to successfully get the image from the camera once I opened up the FRC Dashboard thing. Then once I had confirmation that it was working correctly I went to the cRIO re-image tool yet again, and then checked the bubble WindRiver, once that was done I went into WindRiver, and did FIRST->Undeploy (like the reimage tool said) restarted the robot, then went to FIRST->Download and restarted the robot again and by battery it said No Code? What do I do to fix this I checked to see if it was using the right file under Window->Preferences and went to the Kernal task even, I even pressed Run, but nothing worked
![]() |
|
#8
|
||||
|
||||
|
Re: Camera Setup
can any one help with the above problem?
![]() |
|
#9
|
|||||
|
|||||
|
Re: Camera Setup
Nothing off the top of my head, unless it's something simple like your team number got entered incorrectly when you reimaged the cRIO. But that's easy to test just by running the pinger, and you'd get an error message from Wind River anyway.
Downloading should work all by itself to transfer the file specified by Window -> Preferences without regard to the Imaging Tool or even Undeploy. No error messages, it appears to download, but nothing runs after you restart the robot... I assume you are up-to-date with the latest: -Wind River Update 3 1/27/2009 -the cRIO has the v11 image on it now, -and the Driver Station has firmware version 2009-02-10a3 Any useful status displayed on the Driver Station? Last edited by Mark McLeod : 25-02-2009 at 16:52. |
|
#10
|
||||
|
||||
|
Re: Camera Setup
Quote:
Quote:
Quote:
|
|
#11
|
||||
|
||||
|
Re: Camera Setup
So that didn't work. [resetting the IP address and then re-image cRIO] I have gone into Kernal Task and tried Debug as well as Run. I have no idea what is wrong and no matter what I always get No Code by the battery.
Last edited by ExarKun666 : 25-02-2009 at 19:24. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| camera setup procedure | windell747 | Programming | 2 | 31-01-2009 22:36 |
| Can't figure out the Axis camera setup... | 2829ron | Technical Discussion | 6 | 20-01-2009 13:12 |
| Setup Axis Camera - ERROR | Bruno Inácio | Technical Discussion | 2 | 16-01-2009 12:37 |
| Camera to motor setup | Windward | Programming | 24 | 18-02-2006 20:29 |
| Is the suggested Vision Camera setup ILLEGAL?! | Mr. Lim | Rules/Strategy | 37 | 20-01-2005 21:46 |