Go to Post While we discuss this stuff, let's keep our heads on straight. Open your eyes and look around you. Let's celebrate our common goal while accepting our differences. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 15-01-2013, 15:03
Itamar's Avatar
Itamar Itamar is offline
Registered User
FRC #1943 (NeatTeam) & FRC #4590 (GreenBlitz)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Israel
Posts: 83
Itamar is an unknown quantity at this point
Camera connection is lost after Driver Station sets IP

Hello!

We are experiencing difficulties with our Axis Camera. We configured it with the Configuration Tool. The camera, cRIO and computer are all connected to our router. The computer can access the camera when it's IP is automatic, but when we set it to 10.19.43.5 (in order to communicate with the cRIO) the camera connection is lost. What can cause this problem?

Thanks!
  #2   Spotlight this post!  
Unread 15-01-2013, 15:24
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Camera connection is lost after Driver Station sets IP

It sounds like your camera isn't configured to the right address. What options did you select in the Configuration Tool?
  #3   Spotlight this post!  
Unread 15-01-2013, 15:33
Itamar's Avatar
Itamar Itamar is offline
Registered User
FRC #1943 (NeatTeam) & FRC #4590 (GreenBlitz)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Israel
Posts: 83
Itamar is an unknown quantity at this point
Re: Camera connection is lost after Driver Station sets IP

Quote:
Originally Posted by Alan Anderson View Post
It sounds like your camera isn't configured to the right address. What options did you select in the Configuration Tool?
We chose the "Robot Radio" option. When I configure the computer's IP as automatic I can access the camera at 10.19.43.11, I think that means it's configured correctly.
  #4   Spotlight this post!  
Unread 15-01-2013, 15:42
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Camera connection is lost after Driver Station sets IP

I'm curious -- how would the computer obtain an address if you set it to automatic?

Do you have both wired and wireless interfaces active? It's possible that the wireless connection is already on the 10.19.43.9 address and lets you connect to the camera through it, but when you try to set the wired connection to the same subnet things get confused.
  #5   Spotlight this post!  
Unread 15-01-2013, 15:50
Itamar's Avatar
Itamar Itamar is offline
Registered User
FRC #1943 (NeatTeam) & FRC #4590 (GreenBlitz)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Israel
Posts: 83
Itamar is an unknown quantity at this point
Re: Camera connection is lost after Driver Station sets IP

Quote:
Originally Posted by Alan Anderson View Post
I'm curious -- how would the computer obtain an address if you set it to automatic?

Do you have both wired and wireless interfaces active? It's possible that the wireless connection is already on the 10.19.43.9 address and lets you connect to the camera through it, but when you try to set the wired connection to the same subnet things get confused.
Right now we don't have a laptop to work with, so the computer I'm working with (which doesn't have a wireless adapter) is wired directly with an Ethernet cable to the router (the camera and cRIO are also wired directly).

I'm not sure how the computer obtains the IP automatically, all I know is when it is set to "Obtain an IP address automatically" typing 10.19.43.11 in Chrome gets me to the camera's panel, but when I choose "Use the following IP address", type 10.19.43.5 and go to 10.19.43.11 in Chrome, it doesn't show anything.

Edit: I found a laptop to work with and connected it wireless-ly to the router (the cRIO and camera stayed wired directly) and it actually acted the same way. When I set it to automatic IP the camera worked (but no cRIO communication) and when I set the IP to 10.19.43.5 the camera stopped working and the cRIO communications came back.

Last edited by Itamar : 15-01-2013 at 16:12.
  #6   Spotlight this post!  
Unread 15-01-2013, 16:21
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Camera connection is lost after Driver Station sets IP

What IP address does the computer have when set to automatic?
  #7   Spotlight this post!  
Unread 15-01-2013, 16:25
Itamar's Avatar
Itamar Itamar is offline
Registered User
FRC #1943 (NeatTeam) & FRC #4590 (GreenBlitz)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Israel
Posts: 83
Itamar is an unknown quantity at this point
Re: Camera connection is lost after Driver Station sets IP

Quote:
Originally Posted by Joe Ross View Post
What IP address does the computer have when set to automatic?
When the computer is wired directly to the router running "ipconfig" gives me:

Quote:
IPv4 Address: 192.168.2.100
  #8   Spotlight this post!  
Unread 15-01-2013, 16:35
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Camera connection is lost after Driver Station sets IP

When you say "router" you mean the D-Link DAP, right? It sounds like you haven't configured it yet, and it's still using its out-of-the-box settings.

But I don't understand how or why that would give the symptoms you report.
  #9   Spotlight this post!  
Unread 15-01-2013, 16:43
Itamar's Avatar
Itamar Itamar is offline
Registered User
FRC #1943 (NeatTeam) & FRC #4590 (GreenBlitz)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Israel
Posts: 83
Itamar is an unknown quantity at this point
Re: Camera connection is lost after Driver Station sets IP

Quote:
Originally Posted by Alan Anderson View Post
When you say "router" you mean the D-Link DAP, right? It sounds like you haven't configured it yet, and it's still using its out-of-the-box settings.

But I don't understand how or why that would give the symptoms you report.
This could be the cause of the problem we're facing. We were told that in Israel 5Ghz routers are prohibited, so several D-Link's we're specialy manufactured for the Israeli teams.

Since they don't make them any more, if something happens to ours we will be in big trouble. So for now we've locked the D-Link DAP in a place where nothing can happen to it, and we're using another router, a BR-6424n Edimax.
  #10   Spotlight this post!  
Unread 15-01-2013, 20:38
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Camera connection is lost after Driver Station sets IP

You should configure the router you have to these settings:

IP address 10.19.43.1
Netmask 255.255.255.0
SSID "1943"
DHCP *OFF*

But the important thing is that all devices should connect to one of the router's four LAN ports. You should plug NOTHING into the WAN port. I'm guessing that's the cause of the problem you're having.

And there's no reason to use the WPS feature.
  #11   Spotlight this post!  
Unread 16-01-2013, 14:55
Itamar's Avatar
Itamar Itamar is offline
Registered User
FRC #1943 (NeatTeam) & FRC #4590 (GreenBlitz)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Israel
Posts: 83
Itamar is an unknown quantity at this point
Re: Camera connection is lost after Driver Station sets IP

Quote:
Originally Posted by Alan Anderson View Post
You should configure the router you have to these settings:

IP address 10.19.43.1
Netmask 255.255.255.0
SSID "1943"
DHCP *OFF*

But the important thing is that all devices should connect to one of the router's four LAN ports. You should plug NOTHING into the WAN port. I'm guessing that's the cause of the problem you're having.

And there's no reason to use the WPS feature.
Thank you very much!!! Everything is working now! I'm not sure if it was wrong router settings or that the camera was connected to the WAN port.

I told another team mate about your post and he reconfigured the router, disconnected everything and connected them back to the LAN ports (when I asked him about it he said he didn't remember if the camera was connected to the WAN port).

Anyway, thanks a lot! If you have a moment: we're still having problems with using NetworkTables.
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 13:40.

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