I'd flip my normals for you.
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-01-2012, 21:33
patcc2 patcc2 is offline
Registered User
FRC #1980 (The Brigade)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2006
Location: United States
Posts: 10
patcc2 is an unknown quantity at this point
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.
  #2   Spotlight this post!  
Unread 11-01-2012, 21:38
DjMaddius's Avatar
DjMaddius DjMaddius is offline
Registered User
AKA: Matt Smith
FRC #2620 (Southgate Titans)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Southgate, Mi
Posts: 161
DjMaddius is an unknown quantity at this point
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.
  #3   Spotlight this post!  
Unread 11-01-2012, 21:40
patcc2 patcc2 is offline
Registered User
FRC #1980 (The Brigade)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2006
Location: United States
Posts: 10
patcc2 is an unknown quantity at this point
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.
  #4   Spotlight this post!  
Unread 11-01-2012, 21:48
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 992
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
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
  #5   Spotlight this post!  
Unread 11-01-2012, 21:50
patcc2 patcc2 is offline
Registered User
FRC #1980 (The Brigade)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2006
Location: United States
Posts: 10
patcc2 is an unknown quantity at this point
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.
  #6   Spotlight this post!  
Unread 11-01-2012, 21:54
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 992
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Camera not Sending to Dashboard

Quote:
Originally Posted by patcc2 View Post
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?
  #7   Spotlight this post!  
Unread 11-01-2012, 21:57
patcc2 patcc2 is offline
Registered User
FRC #1980 (The Brigade)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2006
Location: United States
Posts: 10
patcc2 is an unknown quantity at this point
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).
  #8   Spotlight this post!  
Unread 11-01-2012, 22:03
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 992
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Camera not Sending to Dashboard

Quote:
Originally Posted by patcc2 View Post
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.
  #9   Spotlight this post!  
Unread 11-01-2012, 22:06
patcc2 patcc2 is offline
Registered User
FRC #1980 (The Brigade)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2006
Location: United States
Posts: 10
patcc2 is an unknown quantity at this point
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.
  #10   Spotlight this post!  
Unread 11-01-2012, 22:20
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 992
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Camera not Sending to Dashboard

Quote:
Originally Posted by patcc2 View Post
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.
  #11   Spotlight this post!  
Unread 11-01-2012, 23:19
DjMaddius's Avatar
DjMaddius DjMaddius is offline
Registered User
AKA: Matt Smith
FRC #2620 (Southgate Titans)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Southgate, Mi
Posts: 161
DjMaddius is an unknown quantity at this point
Re: Camera not Sending to Dashboard

Quote:
Originally Posted by RufflesRidge View Post
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 :/
  #12   Spotlight this post!  
Unread 12-01-2012, 08:24
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,780
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
  #13   Spotlight this post!  
Unread 13-01-2012, 18:50
DjMaddius's Avatar
DjMaddius DjMaddius is offline
Registered User
AKA: Matt Smith
FRC #2620 (Southgate Titans)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Southgate, Mi
Posts: 161
DjMaddius is an unknown quantity at this point
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?
  #14   Spotlight this post!  
Unread 13-01-2012, 22:46
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: Camera not Sending to Dashboard

Quote:
Originally Posted by DjMaddius View Post
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.

???
__________________
Ed Barker
  #15   Spotlight this post!  
Unread 13-01-2012, 22:51
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 992
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Camera not Sending to Dashboard

Quote:
Originally Posted by ebarker View Post
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?
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:30.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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