Go to Post Sometimes people are just offended too easily. Sometimes offensively so. - GeeTwo [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-01-2010, 19:45
sdlynx's Avatar
sdlynx sdlynx is offline
Registered User
FRC #1111 (Powerhawks)
Team Role: Webmaster
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Edgewater, Maryland
Posts: 13
sdlynx is an unknown quantity at this point
Setting Up 2010 Camera

Hello everyone,

Our team has gone through several steps in an effort to get camera feed to show up on the driver station, but to no avail. We've been through default camera demo code, and the most common response on this forum involving "AxisCamera&." Can anyone tell us what it is we have to do to get this to work?

SDLynx

P.S. If it helps, we can't ping the camera when it is connected to the robot (through 192.168.0.90), so that may be the problem, but we don't know if it should be doable or not.
Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2010, 20:10
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,752
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: Setting Up 2010 Camera

The cRIO ethernet ports are not tied together, so you cannot ping from one network to the other through the cRIO.

To help debug, connect the camera to the PC and set the PC network to be on the same subnet as the camera. You should then be able to ping, you should be able to use a web browser to log into the camera and test and configure, and you should be able to run the camera setup app which will help you create the user account on the camera which allows WPILib to request images and control the camera.

At that point, move the camera back to the robot and see if you get images back to the dashboard. If not, verify that you have the most recent dashboard with the compass-like direction display on the bottom of the panel. If not, uninstall and reinstall the driver station update -- there were issues with the update installer replacing files already on the classmate.

If you still have issues, post the results of these tests and more description of the symptoms.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2010, 20:34
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 103
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
Re: Setting Up 2010 Camera

This post should be stickied. It took us three nights to do exactly this. We had already installed the Driver Station Update, but apparently it didn't take. After uninstalling and re-installing, the camera magically worked.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2010, 21:06
sdlynx's Avatar
sdlynx sdlynx is offline
Registered User
FRC #1111 (Powerhawks)
Team Role: Webmaster
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Edgewater, Maryland
Posts: 13
sdlynx is an unknown quantity at this point
Re: Setting Up 2010 Camera

Quote:
Originally Posted by Greg McKaskle View Post
At that point, move the camera back to the robot and see if you get images back to the dashboard. If not, verify that you have the most recent dashboard with the compass-like direction display on the bottom of the panel. If not, uninstall and reinstall the driver station update -- there were issues with the update installer replacing files already on the classmate.
Greg McKaskle
Wow, thanks a lot! That would explain why we couldn't get it to work. We set up the username and password to be root:admin like the guide said, but we most definitely do not have the compass-like thing you are referring to. We'll update the driver station and get back to you.

Also thanks for the pinging explanation, it will save us time in the future if we tried to debug this way.

Thanks again,
SDLynx
Reply With Quote
  #5   Spotlight this post!  
Unread 20-01-2010, 19:12
sdlynx's Avatar
sdlynx sdlynx is offline
Registered User
FRC #1111 (Powerhawks)
Team Role: Webmaster
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Edgewater, Maryland
Posts: 13
sdlynx is an unknown quantity at this point
Re: Setting Up 2010 Camera

Well we got the new DS update up, but unfortunately there's still no camera feed. We just downloaded the default C++ code onto the cRIO, with the v19 image. Is there something we're missing? The camera box no longer says "Timeout in Camera Communication" or whatever it used to say before, if that is of any use. It's just empty and white.
Reply With Quote
  #6   Spotlight this post!  
Unread 20-01-2010, 21:14
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,752
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: Setting Up 2010 Camera

Another thread uncovered a potential issue that causes the camera to boot very slowly. As a test, let the camera boot for a few minutes and see if it starts working. If so, the issue has to do with the C++ code immediately requesting an image after a failed one. If this is the issue, I'll look for the other thread.

Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 20-01-2010, 22:57
sdlynx's Avatar
sdlynx sdlynx is offline
Registered User
FRC #1111 (Powerhawks)
Team Role: Webmaster
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Edgewater, Maryland
Posts: 13
sdlynx is an unknown quantity at this point
Re: Setting Up 2010 Camera

Quote:
Originally Posted by Greg McKaskle View Post
Another thread uncovered a potential issue that causes the camera to boot very slowly. As a test, let the camera boot for a few minutes and see if it starts working. If so, the issue has to do with the C++ code immediately requesting an image after a failed one. If this is the issue, I'll look for the other thread.

Greg McKaskle
I don't think this is the problem, as we've tried using the camera after letting it boot for a good 10 minutes (idle time while looking through code). Any other ideas? It seems other teams are getting their cameras to work fine but no dice for us. if I haven't mentioned before, we get feed through the IP when it is directly connected, meaning that the problem must exist either in our code (which is apparently supposed to display the camera image automatically?) or the Driver Station, which we just updated.
Reply With Quote
  #8   Spotlight this post!  
Unread 21-01-2010, 01:19
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,113
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: Setting Up 2010 Camera

Quote:
Originally Posted by sdlynx View Post
Is there something we're missing? The camera box no longer says "Timeout in Camera Communication" or whatever it used to say before, if that is of any use. It's just empty and white.
Let's get the silly and obvious detail out of the way: make sure the little on/off control under the video display window is ON.
Reply With Quote
  #9   Spotlight this post!  
Unread 21-01-2010, 17:04
sdlynx's Avatar
sdlynx sdlynx is offline
Registered User
FRC #1111 (Powerhawks)
Team Role: Webmaster
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Edgewater, Maryland
Posts: 13
sdlynx is an unknown quantity at this point
Re: Setting Up 2010 Camera

Quote:
Originally Posted by Alan Anderson View Post
Let's get the silly and obvious detail out of the way: make sure the little on/off control under the video display window is ON.
Haha, yes the little control button is on on the dashboard.
__________________
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
2010 Camera and vision problems. s133p Programming 76 08-02-2010 21:35
2010 Axis Camera Dashboard Problems JesterKarrde Programming 12 04-02-2010 13:11
2010 Sample Camera Code MHSrobotics2853 NI LabVIEW 6 17-01-2010 21:10
How is everyone setting the angle for the shooter/camera? waialua359 Programming 6 26-01-2006 21:51
setting camera sbwprotoss9 Technical Discussion 0 17-01-2006 21:05


All times are GMT -5. The time now is 03:29.

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