Go to Post "Splet" is the sound a frog makes when it hits pavement at 187 feet per second. Don't ask me how I know. - dlavery [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
  #46   Spotlight this post!  
Unread 15-01-2010, 21:21
tekman1001 tekman1001 is offline
Registered User
FRC #2342
 
Join Date: Jan 2009
Location: New Hampshire
Posts: 11
tekman1001 is an unknown quantity at this point
Re: 2010 Camera and vision problems.

Does anyone know if you should be able to ping the camera @ 192.168.0.90 from the driver station. Thanks
  #47   Spotlight this post!  
Unread 15-01-2010, 21:25
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Re: 2010 Camera and vision problems.

Quote:
Originally Posted by tekman1001 View Post
Does anyone know if you should be able to ping the camera @ 192.168.0.90 from the driver station. Thanks
Not from the DS, but rather from a terminal connecting to the cRio. Either through NetConsole, or through Windriver, etc.

The syntax for the VxWorks ping command is

Code:
ping "host address",numPackets
or

Code:
ping "192.168.0.90",10
for a 10 packet ping.
__________________
  #48   Spotlight this post!  
Unread 16-01-2010, 00:12
ranc ranc is offline
Registered User
FRC #2489
 
Join Date: Feb 2009
Location: Fremont
Posts: 15
ranc is an unknown quantity at this point
Re: 2010 Camera and vision problems.

Somehow, it still doesn't work for my team. We tried reinstalling the driver station update and the dashboard reverted to the newer update. However, it still refuses to show an image or return data. Is it necessary to change the camera settings through the given program?
  #49   Spotlight this post!  
Unread 16-01-2010, 00:21
Michael DiRamio Michael DiRamio is offline
Registered User
FRC #1114 (Simbotics)
Team Role: Teacher
 
Join Date: Jan 2006
Rookie Year: 2006
Location: St. Catharines, Ontario, Canada
Posts: 39
Michael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond repute
Re: 2010 Camera and vision problems.

Quote:
Originally Posted by ranc View Post
Somehow, it still doesn't work for my team. We tried reinstalling the driver station update and the dashboard reverted to the newer update. However, it still refuses to show an image or return data. Is it necessary to change the camera settings through the given program?
Have you tried using one of the other development environments to see if the issue is with the camera setup or with C++?

We have been unable to get the camera sending the camera information using C++ (seems to hang during the camera initialization) but have it running successfully in both Java and LabVIEW.
  #50   Spotlight this post!  
Unread 16-01-2010, 15:50
umangv620 umangv620 is offline
Programming Captain
AKA: Umang
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: New Jersey
Posts: 80
umangv620 will become famous soon enoughumangv620 will become famous soon enough
Re: 2010 Camera and vision problems.

Has anyone gotten the Camera running in LabView?
  #51   Spotlight this post!  
Unread 16-01-2010, 19:13
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: 2010 Camera and vision problems.

Quote:
Originally Posted by s133p View Post
After working most of last build season trying to get the camera working, and ultimately failing. We are hoping to get the camera set up and working this year.

The problem is that it doesn't. The camera works when plugged in to the laptop, both through the NI vision assistant and the web interface. However, when plugged into the cRIO, nothing works. Running the default code that came with this years kit (C++ in windriver) there is no response. Also, the link light on the port that the camera is plugged into on the cRIO doesn't light up.

So far I have tried everything I can think of and I have hit a dead end. Has anyone here had any luck getting the camera working? Any suggestions?

Thanks in advance,
-Luke (675)
364 is having trouble with theirs. Actually, it sounds like an exact repeat of the problems your team was having.

I don't know the details, but basically the ethernet port lights are off. We've tried a few crossover cables, but none of them are working. The camera works connected to a laptop, and the port works when we connect the router to port 2, so neither the camera or the cRio seems to be broken.

I know we've updated the LabView software and the Dashboard software. The Dashboard update didn't work, so we tried it again, and got it to work.

The last thing I know of is that the cRio is not responding to the Dashboard or something anymore. Something about the Watchdog is stopping.

Anyway, don't quote me on the problems as I wasn't the one messing with it, but I wanted to add another team to the list.

I think we tried everything here. I know this thread was up on the projector the whole time while the programming team tried to sort it out.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364

Last edited by RyanN : 16-01-2010 at 19:42.
  #52   Spotlight this post!  
Unread 16-01-2010, 19:29
Vito364's Avatar
Vito364 Vito364 is offline
Registered User
FRC #0364 (Team Fusion)
Team Role: Electrical
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Gulfport, Mississippi
Posts: 1
Vito364 is an unknown quantity at this point
Re: 2010 Camera and vision problems.

Quote:
Originally Posted by RyanN View Post
364 is having trouble with theirs. Actually, it sounds like an exact repeat of the problems your team was having.

I don't know the details, but basically the ethernet port lights are off. We've tried a few crossover cables, but none of them are working. The camera works connected to a laptop, and the port works when we connect the router to port 2, so neither the camera or the cRio seems to be broken.

I know we've updated the LabView software and the Dashboard software. The Dashboard update didn't work, so we tried it again, and got it to work.

The last thing I know of is that the cRio is not responding to the Dashboard or something anymore. Something about the Watchdog is stopping.

Anyway, don't quote me on the problems as I wasn't the one messing with it, but I wanted to add another team to the list.
I am the chief programmer for 364. We have tried all of the suggestions we could find on this post, but we are still having issues. All of the information that Ryan posted is pretty accurate. I tried uninstalling and reinstalling the DS update, but that still didn't solve anything. We are particularly interested in the fact that it seems that the ethernet port on the cRIO doesn't seem to communicate with the camera at all, but we can still communicate with when the camera is connected strait up to a laptop. The error messages in the diagnostics window say that we are experiencing a "44003" error, and the watchdog is cutting out. We can control motors and get feedback, so I know that the dashboard is communicating with the cRIO.
  #53   Spotlight this post!  
Unread 16-01-2010, 20:15
umangv620 umangv620 is offline
Programming Captain
AKA: Umang
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: New Jersey
Posts: 80
umangv620 will become famous soon enoughumangv620 will become famous soon enough
Re: 2010 Camera and vision problems.

Quote:
Originally Posted by Vito364 View Post
I am the chief programmer for 364. We have tried all of the suggestions we could find on this post, but we are still having issues. All of the information that Ryan posted is pretty accurate. I tried uninstalling and reinstalling the DS update, but that still didn't solve anything. We are particularly interested in the fact that it seems that the ethernet port on the cRIO doesn't seem to communicate with the camera at all, but we can still communicate with when the camera is connected strait up to a laptop. The error messages in the diagnostics window say that we are experiencing a "44003" error, and the watchdog is cutting out. We can control motors and get feedback, so I know that the dashboard is communicating with the cRIO.
We are getting the same error.
I cannot test this till monday, but you might wanna try post 6 of this thread
Hopefully reinstalling the DS update will work, but if it doesnt, this might(post 3)
  #54   Spotlight this post!  
Unread 16-01-2010, 21:49
jerry w's Avatar
jerry w jerry w is offline
Free Agent Mentor
no team (Team Krunch)
Team Role: Engineer
 
Join Date: Nov 2003
Rookie Year: 2002
Location: dunedin fl
Posts: 113
jerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud of
Re: 2010 Camera and vision problems.

Quote:
Originally Posted by umangv620 View Post
Has anyone gotten the Camera running in LabView?
I am pleased to report that the out of the box FRC labview code gives us a camera image. Originally, we had two crossover cables in series.
when we discovered the problem, the single crossover in series with a normal cable worked just fine. We are painting the target now. By noon tomorrow we hope to have target images.

We have had much experience with setting IP addresses on computers. This is the most likely cause of a system to fail to get an image. I have to threaten students with bodily harm if they try to do wireless before testing with wired LAN. The wireless stuff loves to do its own thing. After we had wired connections successfully, then we did the wireless.
__________________
Happiest when people tell the truth... However, I am blessed with many friends.
  #55   Spotlight this post!  
Unread 18-01-2010, 12:14
dag0620 dag0620 is offline
Because we're FiNE
AKA: David Givens
FRC #1071 (Team MAX)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Wolcott, CT
Posts: 784
dag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond repute
Re: 2010 Camera and vision problems.

I am quite excited about the hopefully better camera workings this year. Wether or we get the target tracking working this year is an anserw i won't know until shipping date, but we intend to use it for tele-opp. On the intial testing of the camera, the vetrans were able to get it to work perfectly fine, however there was a slight delay. I wanted to see if anyone found a way to fix the lag, or are we stuck waiting a few seconds to get the images back. - If the lag is un-fixable, I am interested to see how the drive-teams get around that little obstacle.
__________________
David Givens
Alumnus Team Max 1071 ('13) | FIRST Volunteer | NE FIRST

Away making magic for a bit...
  #56   Spotlight this post!  
Unread 18-01-2010, 18:49
TPNigl TPNigl is offline
Registered User
FRC #0069 (Team HYPER)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Quincy, MA
Posts: 94
TPNigl is an unknown quantity at this point
Re: 2010 Camera and vision problems.

We're programming in java and we got the camera hooked up to the cRIO and Dashboard. It recognized the camera by saying "camera running e". However there was no image being fed to the dashboard. The dashboard has already been fixed and the v19 update has already been made. Any suggestions?
  #57   Spotlight this post!  
Unread 18-01-2010, 20:54
s133p s133p is offline
Registered User
FRC #0675
 
Join Date: Jan 2010
Location: Sebastopol
Posts: 12
s133p is an unknown quantity at this point
Re: 2010 Camera and vision problems.

Just a last small update from us, everything seems to be working after trying the uninstall re-install that was recommended. Thank you all for the help!
  #58   Spotlight this post!  
Unread 19-01-2010, 19:25
mobilegamer999 mobilegamer999 is offline
Registered User
FRC #3357 (Comets)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Michigan
Posts: 124
mobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the rough
Re: 2010 Camera and vision problems.

I'm a programmer for rookie team 3357 and we are programming in Java.

When ever we initialize the camera (AxisCamera.getInstance() our code NEVER works. It displays "Watchdog not fed" and "no robot code". It also hangs on that line. We have updated our drivers station to v19 and done all of the other necessary updates.

Any suggestions?
  #59   Spotlight this post!  
Unread 20-01-2010, 00:31
tdressel tdressel is offline
Registered User
FRC #1111
 
Join Date: Feb 2008
Location: Edgewater
Posts: 50
tdressel is an unknown quantity at this point
Re: 2010 Camera and vision problems.

From above:

Which camera to dashboard program are you using?
The "Camera to Dashboard" example program does not work to my knowledge. Either build the "FRC 2010 Vision Demonstration" program, or add this to your robot's main code:


Could you direct me to the "FRC 2010 Vision Demonstration" program mentioned above? We are having issues getting our camera working as well with C++.

-Ted Dressel, Mentor, Team 1111
  #60   Spotlight this post!  
Unread 20-01-2010, 10:00
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Post 2010 Camera and Vision Attempted Setup Summary

************************************************** ****************************************
**EDIT: PLEASE DON'T REFER TO THIS. REFER TO POST #68 INSTEAD. THERE IS INCORRECT INFORMATION BELOW!**
************************************************** ****************************************

Hi Guys,

Since there’s a wealth of information located in this thread I’m going to try to summarize the steps for getting a working camera setup for C++ (this may still be helpful for those using the other platforms as well). This summary assumes that code can be loaded on the cRio and run. This is specifically for the 2010 Vision Demonstration example.

1. cRio must be reflashed with v19 image.
2. WindRiver should be intstalled with the WPI Lib update (WorkbenchUpdate20100107.exe). Did anyone have to uninstall WindRiver first?
3. The camera should be set up with IP address 192.168.0.90 (which is the default) and a username and password of “root” and “admin” respectively (admin is NOT the default). I understand there are other valid usernames and password combinations as well.
4. The camera should be connected via CROSSOVER cable to Ethernet port 2 on the cRio and adequate power supplied.
5. The driver’s station update should be installed (DSUpdate1.0for2010.zip). This requires installing BOTH components, uninstalling BOTH components and then reinstalling BOTH components again. Apparently the NI loader has issues.
6. Add the “2010 Vision Demonstration Program” to the current workspace and compile. (In WindRiver click File -> New -> Example… -> VxWorks Downloadable Kernel Module Sample Project -> FRC 2010 Vision Demonstration Program -> Finish.) Be sure to use the correct compiled cRio image path located in the FIRST Downloader Preferences section of “Preferences” (Located under Window).
7. Deploy the code. And watch it work!

From the information I can glean from this thread, this should work (and pan and tilt maybe as well if you hook up some servos – my goal is just to get some images first).

Now at this point, us SPAM guys haven’t been able to get it to work (camera/cable work with a computer, but not the cRio), but we didn’t uninstall BOTH of the driver’s station components last night. I’m thinking of just starting from scratch on all of this, so the above is somewhat speculative. Please feel free to make comments or suggestions for additions to the above steps. I know a many people have been going through the same frustrations and I’m trying to alleviate some of the pain. Hope this helps someone!

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.

Last edited by Bryscus : 21-01-2010 at 09:45. Reason: Updated Summary Above!
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vision problems and FIRST members ebmonon36 Chit-Chat 10 21-01-2006 22:43
vision camera Adama Programming 3 19-01-2006 17:12
71's Vision Tracking Problems Bill Beatty Rumor Mill 7 19-04-2005 17:41
Camera Vision Range Muhnki Programming 7 05-02-2005 23:26
Camera Vision Range Muhnki Programming 7 05-02-2005 23:26


All times are GMT -5. The time now is 16:49.

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