View Single Post
  #2   Spotlight this post!  
Unread 28-12-2010, 00:39
davidalln's Avatar
davidalln davidalln is offline
World's Worst Coder
AKA: David Allen
FRC #2415 (The Westminster Wiredcats)
Team Role: Programmer
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Atlanta, GA
Posts: 108
davidalln is on a distinguished road
Send a message via AIM to davidalln
Re: C++ Vision Camera Problems

I'm not sure if this helps you, but we got the same error (S_errno_ETIMEDOUT) whenever our camera was correctly plugged in and then somehow unplugged (such as violent turbulence from the robot causing the cord to become unplugged, as I unfortunately learned during a match at championships). From my understanding, the code is initializing the camera correctly but is unable to read any images coming from it. For whatever reason, WPIlib doesn't appear to have any exception handling if the camera doesn't return anything and causes the code to crash.

If I had to point to any potential problem, the new Axis camera might not be compatible with the C++ library. This is just speculation.
__________________
SANTOSH ANDREW DECKER RICK WYNNIE SEAN DEREK MATT
(alamo (semis), p'tree (CHAMPS!), nc (CHAMPS!), newton (quarters))


Best four years of my life. Thanks to everyone who made it happen.
Reply With Quote