Go to Post It is not for any other team to say what is beyond a person's or a team's capabilities. That's why they have mentors :-) - preussrobotics [more]
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 22-01-2011, 11:06
SudoSammich SudoSammich is offline
A pretty big deal...
AKA: Corey
FRC #0514 (Entropy)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Miller Place
Posts: 31
SudoSammich is an unknown quantity at this point
Camera not working properly...

This is our first year running the camera on the cRIO, and we're having problems troubleshooting the camera networking.

We've completely wiped our wireless setup from last year and re-set up everything so it interfaces nicely, but the camera won't connect when we plug it into the cRIO. If we plug the camera into the router, we can connect, login and view the camera feed, but once we plug the crossover cable into the second port on the cRIO, nothing. We can't draw data, connect or even ping the camera, it just times out.

Our static IP setup is as follows:
10.5.14.1 = Gaming Adapter
10.5.14.2 = cRIO Port 1
10.5.14.3 = Open (camera is set to this static IP, but it won't return a ping)
10.5.14.4 = Linksys router
10.5.14.5 = Competition PC
10.5.14.6 = Open

Anybody else run into this problem? Any troubleshooting info? Thanks.
  #2   Spotlight this post!  
Unread 22-01-2011, 11:27
Zme Zme is offline
Registered User
FRC #2619
 
Join Date: Jan 2009
Location: Michigan
Posts: 83
Zme is on a distinguished road
Re: Camera not working properly...

you can ping the camera normally when it is plugged into the router?
that seems a bit odd to me as with an ip of 192.168.0.90, you shoouldn't be able to access it from the same subnet that the robot is on.
the camera code provided should be able to access it on port two with the above ip
also if it is in port two then you should not be able to ping it as i don't believe that the crio will forward packets between the two ports unless explicitly told to do so, but i an by no means an expert on what it will or will not do

how is the camera setup?
  #3   Spotlight this post!  
Unread 22-01-2011, 11:31
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Camera not working properly...

Yea, your camera IP address is incorrect for use on port 2 of the cRIO.

The IP address you have it set to will only work through a router connection or directly to your PC.
  • For cRIO use : IP=192.168.0.90
  • For network use: IP = 10.xx.yy.zz
See the camera setup instructions, but read them carefully. The note on the IP difference kind of blends in.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 22-01-2011 at 11:37.
  #4   Spotlight this post!  
Unread 23-01-2011, 00:59
SudoSammich SudoSammich is offline
A pretty big deal...
AKA: Corey
FRC #0514 (Entropy)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Miller Place
Posts: 31
SudoSammich is an unknown quantity at this point
Thumbs up Re: Camera not working properly...

Thanks, found the problem! We had been using the camera as if it were any other part of the network, so we had the IP address set incorrectly. Gotta read the docs a bit more closely in the future.
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 23:43.

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