Go to Post Just because there is a limit, doesn't mean that they don't love you. - Amanda M [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 27-12-2010, 16:37
SnarkyNinja's Avatar
SnarkyNinja SnarkyNinja is offline
PET Shop Boys
AKA: Matt Duszynski
FRC #1477 (Texas Torque)
Team Role: College Student
 
Join Date: Feb 2010
Rookie Year: 2010
Location: The Woodlands, TX
Posts: 1
SnarkyNinja is an unknown quantity at this point
C++ Vision Camera Problems

Hey there, programming geniuses at Chief Delphi!

We're having a bit of trouble with our vision camera, and I'm hoping you can help. To summarize, when we try to use the camera, our robot completely crashes. This problem came out of nowhere one day; the camera went from working perfectly to not working at all, and there were no changes to the robot or the code in the meantime. I've attached all the errors and messages associated with the problem.

This happens when the camera is plugged in to the cRIO and the code tries to create a camera object. We get one or two frames of video, then robot communication dies on the driver station. If either the camera is unplugged, or the code doesn't try to start the camera, there are no other problems. It happens with our team code, and the unmodified 2010 Vision Example code. We have all the latest updates applied to WPILib/WindRiver (C++ Team Update 4.3/Workbench Version: 3.0.1) and the driver station (update 1.1), and the latest version of the cRIO image (v20).

We've tried: different cRIOs, different programming laptops, reinstalling WindRiver, reimaging the cRIO, reinstalling the driver station, restoring camera to factory settings (we put the FRC/FRC user account back on afterwards), and deploying code that creates the camera object only. The one thing we haven't tried is using a different camera, as we don't have another one available.

The camera works properly (if laggy) in both LabView and Java. It also is fully accessible and streams properly from the web interface. It's only when we use C++ that this problem occurs. From the cRIO console, the camera is pingable at 192.168.0.90. We're using the newer Axis M1011 camera. Any ideas?
Attached Thumbnails
Click image for larger version

Name:	error1.PNG
Views:	129
Size:	98.6 KB
ID:	9539  Click image for larger version

Name:	error2.PNG
Views:	66
Size:	36.6 KB
ID:	9540  Click image for larger version

Name:	error3.PNG
Views:	76
Size:	46.8 KB
ID:	9541  Click image for larger version

Name:	error4.PNG
Views:	79
Size:	36.0 KB
ID:	9542  Click image for larger version

Name:	error5.PNG
Views:	63
Size:	75.6 KB
ID:	9543  


Last edited by SnarkyNinja : 27-12-2010 at 16:51.
Reply With Quote
 


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
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
CMUCam2 Vision Sensor Testing/Problems cbolin Programming 18 02-02-2005 18:03


All times are GMT -5. The time now is 18:09.

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