Go to Post Read the manual. Know the manual. Love the manual. - Koko Ed [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 05-02-2011, 18:44
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
New Axis Camera

Hey guys-

We have updated our cRIO and Windriver to the latest versions, but we can't get the Axis M1011 camera to display. We have tried using the Default 2010 Vision code, hoping it would work, but it doesn't.

We have configured the camera correctly, to no avail.

Any ideas?
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2011, 21:52
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: New Axis Camera

The words "latest" and "correctly" carry no useful meaning. We can't know that you have the right version or that you got the configuration right.

What version of the Driver Station and cRIO image are you running? They're displayed for diagnostic purposes on the Driver Station screen.

What instructions did you follow to set up your camera?

Where do you have the camera connected, and with what cable?
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2011, 11:20
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: New Axis Camera

We used this Windriver Update and this cRIO image-
http://firstforge.wpi.edu/sf/frs/do/...e_for_2011_f_0

We followed these instructions for setting up the camera-
http://www.usfirst.org/uploadedFiles...our_Camera.pdf

We are using the 2010 classmate for our DS, using this update-
http://joule.ni.com/nidu/cds/view/p/id/2263

And we are directly connecting the camera to the cRIO, on port 2, with the provided crossover cable.

We know that both the cable and the camera work, as we can view the stream from the live view.

Last edited by nighterfighter : 06-02-2011 at 11:29.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2011, 13:37
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: New Axis Camera

Quote:
Originally Posted by nighterfighter View Post
We know that both the cable and the camera work, as we can view the stream from the live view.
What IP address did you use to connect to the camera in order to view the stream?
Reply With Quote
  #5   Spotlight this post!  
Unread 06-02-2011, 15:47
calixalavallee calixalavallee is offline
Registered User
VRC #3544
 
Join Date: Jan 2011
Location: Montréal
Posts: 2
calixalavallee is an unknown quantity at this point
Re: New Axis Camera

Quote:
Originally Posted by Alan Anderson View Post
What IP address did you use to connect to the camera in order to view the stream?
Any answer to your question?
We are looking for that too.
Reply With Quote
  #6   Spotlight this post!  
Unread 07-02-2011, 20:33
Bethie42's Avatar
Bethie42 Bethie42 is offline
Registered User
AKA: Bethany Carlson
FRC #0956 (Eagle Cybertechnology)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2008
Location: Oregon
Posts: 126
Bethie42 is a splendid one to beholdBethie42 is a splendid one to beholdBethie42 is a splendid one to beholdBethie42 is a splendid one to beholdBethie42 is a splendid one to beholdBethie42 is a splendid one to beholdBethie42 is a splendid one to beholdBethie42 is a splendid one to behold
Re: New Axis Camera

Our camera was working before we reimaged the cRIO with the update (mandatory, in Team Update # 7, the same one the OP used). Now, it's not working (no image on the driver station).


As far as we can tell neither the code nor the hardware has changed since we last used the camera successfully, so I am inclined to point the finger at the update. I would like to hear from any other teams who had the camera working before the update, but now have trouble.

Nighterfighter, did your camera work before you updated to the latest cRIO image?


By the way, our camera's ethernet is plugged into port 2 and all that jazz....the green and orange light are both solid, however. The radio ethernet port's orange light is blinking and I'm wondering if the camera port's orange light is supposed to be doing likewise: does anyone know? We didn't think to check the lights when the camera was actually working.

Edit: nevermind, apparently something went wrong the first time I reimaged the cRIO [although it subsequently said it was running the proper image, v. 27....]. I reimaged it again and now the camera works.
__________________
Robot is now a verb.

We're back to square one...while we're at it, let's redesign square one!

Team 956: Celebrating ten years of FIRST!

Code:
Team record 2002-2011
2002: Highest Rookie Seed, AOR
2003, 2006, 2012: Xerox Creativity Award, AOR
2006: Semi-finalist, Sacramento Regional
2009: Quarter-finalist, AOR
2010: Quarter-finalist, AOR
2011: Semi-finalist, AOR, and Dean's List finalist, AOR 

Personal record: 
2008: Lead scout
2009: Lead scout, publicity
2010: Lead scout, publicity, fundraising, Chairman's, videography
2011: Team captain, lead programmer, fundraising, Chairman's, publicity, wrench-turning, Dean's List finalist at Autodesk Oregon Regional

Last edited by Bethie42 : 07-02-2011 at 21:03. Reason: NOW it works...
Reply With Quote
  #7   Spotlight this post!  
Unread 12-02-2011, 22:30
mandrews281 mandrews281 is offline
Registered User
FRC #0281
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Greenville SC
Posts: 82
mandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to behold
Re: New Axis Camera

We were having problems with our M1011 camera. Our programming environment is C++ and the robot code would crash almost everytime we'd try something with the camera. There is a good description of our problem in this thread:

http://www.chiefdelphi.com/forums/sh...ad.php?t=90687

Our solution was to get the Vision.zip from WPIForge (link provide in that thread) and rebuild the rev2259 library. There is a good step by step of how to do this in the thread. This worked for us. No more code crashes. I sure hope those patches go into a new update of WPILib.
__________________
Michael Andrews
Team #281 Programming Mentor
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


All times are GMT -5. The time now is 13:55.

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