Go to Post OMG, yet another blatant attempt by FIRST at being open and transparent! What is this place coming to?? :p - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 14-12-2008, 13:45
s0crates s0crates is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Australia
Posts: 52
s0crates is on a distinguished road
Question axis camera - problem

My team has been struggling to get the camera to work. The program does work - we've tried both default and just about everything else possible. We also know that Ethernet port 2 on the cRio and the camera itself does work ( we've plugged it directly into the computer, and also into a router. It worked both times).

When its plugged into the crio, the light showing a connection never lights up (we've tested the light, and it works), and the code (the start/open camera subvi) returns a 'failure to communicate' error message (# -44003). The only cause of this problem that i can think of is the firmware on either the camera or the cRio, since the hardware and software should work.

Note: we have installed the updated firmware on the driver station and cRio. We're using labview. We've also messed around with the ips, setting the cam to 10.27.33.XX, and sticking with the default 192.168.0.90. We've also tried with the Ethernet cable supplied, and another one given to us by a science teacher. However, it is possible we don't have a crossover, but if not would it be possible for it to communicate with a pc?

One last question: do we need to do something additional to set the cRio port 2 to 192.168.0.3? Or is there some way to check what the actual ip address of it is?


Thanks for any help,
Jmak
Reply With Quote
  #2   Spotlight this post!  
Unread 14-12-2008, 13:59
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Re: axis camera - problem

Quote:
Originally Posted by s0crates View Post
We've also tried with the Ethernet cable supplied, and another one given to us by a science teacher. However, it is possible we don't have a crossover, but if not would it be possible for it to communicate with a pc?
The orange cable that came in the KOP is a crossover cable.
The cRIO does not have autosense, so it must be connected to the camera via the crossover cable. Your PC may have autosense, if so it would work with either type of cable.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-12-2008, 14:06
s0crates s0crates is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Australia
Posts: 52
s0crates is on a distinguished road
Re: axis camera - problem

Ok. I think what we used was blue...


Actually, I'm not sure if we have an orange one.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-12-2008, 08:37
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: axis camera - problem

Quote:
Originally Posted by s0crates View Post
Ok. I think what we used was blue...


Actually, I'm not sure if we have an orange one.
The very first thing your team should have done with the control system was to do a complete inventory to see if anything was missing.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-12-2008, 14:11
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,731
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: axis camera - problem

Quote:
Originally Posted by s0crates View Post
One last question: do we need to do something additional to set the cRio port 2 to 192.168.0.3? Or is there some way to check what the actual ip address of it is?
You don't need to do anything to set the cRIO port 2's IP address. It's hardcoded to be 192.168.0.3

You can check the address if you like (see control system manual section 5.4.1)
-- using a null modem serial cable connected between a PC and the cRIO serial port.
-- The "console out" dip switch on the cRIO must be on (opposite all the other ones).
-- Use Hyperterminal on your PC with settigs of 9600 BAUD, 8 data bits, No parity, 1 stop bit, No flow control

When the cRIO is reset or booted you'll get startup messages, one of which tells the ethernet port IP addresses.

P.S.
But it sounds as if you didn't know the orange cable was special...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 15-12-2008 at 09:07.
Reply With Quote
  #6   Spotlight this post!  
Unread 15-12-2008, 09:29
s0crates s0crates is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Australia
Posts: 52
s0crates is on a distinguished road
Re: axis camera - problem

Quote:
Originally Posted by Mark McLeod View Post
When the cRIO is reset or booted you'll get startup messages, one of which tells the ethernet port IP addresses.


But it sounds as if you didn't know the orange cable was special...
We knew we needed a specific cable, but the instructions didn't say which specific one we needed; I guess we just grabbed one that could plug into the camera .

we did do an inventory, but I wasn't the one doing it. I think we have the orange one, and I'll try to check today. Snow day, so no school .
Reply With Quote
  #7   Spotlight this post!  
Unread 15-12-2008, 09:33
Josh Goodman's Avatar
Josh Goodman Josh Goodman is offline
The Voice of WNY
FRC #1511 (Rolling Thunder)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Penfield, NY
Posts: 837
Josh Goodman has a reputation beyond reputeJosh Goodman has a reputation beyond reputeJosh Goodman has a reputation beyond reputeJosh Goodman has a reputation beyond reputeJosh Goodman has a reputation beyond reputeJosh Goodman has a reputation beyond reputeJosh Goodman has a reputation beyond reputeJosh Goodman has a reputation beyond reputeJosh Goodman has a reputation beyond reputeJosh Goodman has a reputation beyond reputeJosh Goodman has a reputation beyond repute
Re: axis camera - problem

Quote:
Originally Posted by s0crates View Post
I think we have the orange one, and I'll try to check today. Snow day, so no school .
I despise you...
__________________
Josh Goodman
Mentor and Volunteer
Team 1511: Rolling Thunder
joshuapgoodman@gmail.com
Reply With Quote
  #8   Spotlight this post!  
Unread 15-12-2008, 09:44
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,560
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: axis camera - problem

Quote:
Originally Posted by s0crates View Post
We knew we needed a specific cable, but the instructions didn't say which specific one we needed; I guess we just grabbed one that could plug into the camera .
Both section 5.5 of the Control system manual and section 3 of the "LabVIEW
Robotics Programming Guide for the FIRST Robotics Competition" say to use a crossover cable.
Reply With Quote
  #9   Spotlight this post!  
Unread 15-12-2008, 11:00
s0crates s0crates is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Australia
Posts: 52
s0crates is on a distinguished road
Re: axis camera - problem

I know, but what differentiates a crossover from a regular ethernet cable?
Reply With Quote
  #10   Spotlight this post!  
Unread 15-12-2008, 11:07
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: axis camera - problem

The provided cross-over cable is orange.

Unfortunately, it can sometimes be a pain to figure out if an unknown cable is straight thru or cross over. Hopefully, they are obviously marked so that you can assume a cable is straight unless it is obviously not.

If it isn't well marked, you have to look at the colors of the wires on both ends. On a straight thru, the color order will match on both sides. On a cross over, two of the pairs are swapped with each other.

You can also buy devices that check for you.

Does anyone have any better suggestions? This has always been frustrating to me. I usually just put a piece of orange electrical tape on all my cross overs when I buy/make them.
Reply With Quote
  #11   Spotlight this post!  
Unread 15-12-2008, 11:19
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,560
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: axis camera - problem

Quote:
Originally Posted by EricVanWyk View Post
The provided cross-over cable is orange.
This was noted on the KOP checklist, for those that missed it.
Reply With Quote
  #12   Spotlight this post!  
Unread 16-12-2008, 09:34
s0crates s0crates is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Australia
Posts: 52
s0crates is on a distinguished road
Re: axis camera - problem

OK... I wasn't able to make sure it was only the cable causing the problems, since our wga600 inexplicably stopped working while we were transferring the control system to a robot. When we plug the power cable in it shows no sign of receiving power, and simply doesn't work. Someone's gonna go get a new one in the next few day - we have a friendly local competition at the end of the week.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird camera problem Shadow31 Programming 4 08-02-2007 18:46
Camera Problem ta1234 Programming 1 29-01-2007 09:38
Camera Tracking Problem cprogrammer Programming 1 18-02-2005 15:00
camera problem miscar Programming 2 23-01-2005 12:06
Camera Problem n_0163 Electrical 3 14-01-2005 21:10


All times are GMT -5. The time now is 05:48.

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