Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Camera not Sending to Dashboard (http://www.chiefdelphi.com/forums/showthread.php?t=99882)

patcc2 11-01-2012 21:33

Camera not Sending to Dashboard
 
Like most teams (from what I can tell) my team plans on using vision processing at least in part for our final design. While I may be a senior member no one on our team has ever used the camera in FRC and as such we are running into problems that appear to be expected for rookies to the camera.

I run all the default code building the programs with absolutely nothing modified and than running the driver station. However, when the top part opens I see a blank image where the camera image should be.

To state some facts we are using the 206 camera FRC provides. I have reimaged the CRIO and updated the driver station to the most recent version and the camera is plugged into the 5V power and crossover cabled to the Bridges second port (1st being the CRIO).

I believe we set all the cameras information using the tool provided but until I get back to work tomorrow I won't be able to confirm if that was the problem. If there is any critical part that my team is missing to set up the camera please please tell me.

Lastly I analogize for the bad forum quality as you can see I am new to posting on forums, also if you are willing could you explain why the camera has the last 2 digits of it's ip set to 90 but when the labview default programs call it they call 11 that seems very... strange. Again thanks a ton.

DjMaddius 11-01-2012 21:38

Re: Camera not Sending to Dashboard
 
We are actually having the same very problems! The only way I can get it to work is to reset it then use the axis configure tool again. Once we loose power on it and start it up again nothing works. It lights up like it should and all but no images nor the web server starts up. I have no idea why it isn't working. We have had this problem for days.

patcc2 11-01-2012 21:40

Re: Camera not Sending to Dashboard
 
Your beating my team at least you get an image once. Please give me an update if you find any solution programming has basically stopped until we can fix this.

RufflesRidge 11-01-2012 21:48

Re: Camera not Sending to Dashboard
 
Looking at the LabVIEW code and dashboard code it looks like the default has switched to hooking the camera up to the switch this year. Both defaults are looking for the camera at 10.xx.yy.11

patcc2 11-01-2012 21:50

Re: Camera not Sending to Dashboard
 
Im guessing the word switch means bridge or router etc... Anyway yes I noticed this as well but the camera tool provided to us sets up the camera IP to end in .90 which I feel would cause serious issues.

RufflesRidge 11-01-2012 21:54

Re: Camera not Sending to Dashboard
 
Quote:

Originally Posted by patcc2 (Post 1103057)
Im guessing the word switch means bridge or router etc... Anyway yes I noticed this as well but the camera tool provided to us sets up the camera IP to end in .90 which I feel would cause serious issues.

Yes, when I said switch I was referring to the robot radio (white DLink device).

Our camera was already set up for the switch so I didn't even open the new tool. It sets it to 10.xx.yy.90?

patcc2 11-01-2012 21:57

Re: Camera not Sending to Dashboard
 
Actually the dialog box to the right of the tool reads 192.168.0.90 similar to a standered router ip with a .90 ending.

Could you possibly send me the instructions you used to make your camera function properly that would be a great help. Also are you running your camera through the CRIO or the bridge (my CRIO's second Ethernet port is died so I must use the new bridge configuration).

RufflesRidge 11-01-2012 22:03

Re: Camera not Sending to Dashboard
 
Quote:

Originally Posted by patcc2 (Post 1103068)
Actually the dialog box to the right of the tool reads 192.168.0.90 similar to a standered router ip with a .90 ending.

Could you possibly send me the instructions you used to make your camera function properly that would be a great help. Also are you running your camera through the CRIO or the bridge (my CRIO's second Ethernet port is died so I must use the new bridge configuration).

192.168.0.90 is the default camera IP and the IP for using cRIO port 2.

Ours is running through the bridge. I set the camera settings up manually last year, but I just looked at the Getting Started with the 2012 Control System document on the FIRST Kit of Parts Technical Resources website and it says this year's tool has an option called "Robot Radio". The camera configuration is on page 27.

patcc2 11-01-2012 22:06

Re: Camera not Sending to Dashboard
 
As i said originally I was not the one who did this operation for the camera but I was informed they did it correctly. If this is where the problem keeps leading I'll hopefully check this out tomorrow and report back.

RufflesRidge 11-01-2012 22:20

Re: Camera not Sending to Dashboard
 
Quote:

Originally Posted by patcc2 (Post 1103085)
As i said originally I was not the one who did this operation for the camera but I was informed they did it correctly. If this is where the problem keeps leading I'll hopefully check this out tomorrow and report back.

I just re-read your first post an saw Crossover cable. I'm not sure if the robot radio has auto sensing ports (allowing a crossover to work), but you theoretically should be using a patch cable, not a crossover.

What I would try is set up the camera with the tool, and leave it plugged into the PC. Change your PC IP to 10.xx.yy.5, open a browser and go to 10.xx.yy.11 Username: FRC Password: FRC. This is the configuration the Dashboard is expecting. If that works, then try moving it over to the switch.

DjMaddius 11-01-2012 23:19

Re: Camera not Sending to Dashboard
 
Quote:

Originally Posted by RufflesRidge (Post 1103107)
I just re-read your first post an saw Crossover cable. I'm not sure if the robot radio has auto sensing ports (allowing a crossover to work), but you theoretically should be using a patch cable, not a crossover.

What I would try is set up the camera with the tool, and leave it plugged into the PC. Change your PC IP to 10.xx.yy.5, open a browser and go to 10.xx.yy.11 Username: FRC Password: FRC. This is the configuration the Dashboard is expecting. If that works, then try moving it over to the switch.

We can get to this. Once power is removed and put back on it no longer works :/

Greg McKaskle 12-01-2012 08:24

Re: Camera not Sending to Dashboard
 
To review, there are multiple ways to configure and use the camera.

By default, the dashboard expects the camera at 10.te.am.11. To change the IP to something else, rebuild the dashboard from source. This configuration supports reading the camera form both dashboard and robot. This is the recommended configuration.

If you prefer and have an 8 slot, you can use the setup above, or you can use port 2 on the cRIO. If using port 2, set the camera IP address to 192.168.0.90, set the camera IP in Begin or in the constructor, and change the dashboard to use the retransmitted image server.

Greg McKaskle

DjMaddius 13-01-2012 18:50

Re: Camera not Sending to Dashboard
 
Alrighty well we have gotten down to the point where everytime I plug it into my desktop I can connect to its web server just fine and it displays the image. But labview and the crio don't see the image.

I have setup two accounts on it. user root password admin and user FRC password FRC. Is there anything else I should be doing?

ebarker 13-01-2012 22:46

Re: Camera not Sending to Dashboard
 
Quote:

Originally Posted by DjMaddius (Post 1103196)
We can get to this. Once power is removed and put back on it no longer works :/

This is precisely the problem we are having. We have gone through two cameras. We can configure them and then connect to the dashboard fine.

We we remove power and turn the camera back on again, the camera has lost the IP address.

???

RufflesRidge 13-01-2012 22:51

Re: Camera not Sending to Dashboard
 
Quote:

Originally Posted by ebarker (Post 1104953)
This is precisely the problem we are having. We have gone through two cameras. We can configure them and then connect to the dashboard fine.

We we remove power and turn the camera back on again, the camera has lost the IP address.

???

Is this an Axis 206 or M1011?


All times are GMT -5. The time now is 06:33.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi