View Single Post
  #11   Spotlight this post!  
Unread 24-09-2013, 11:27
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Image Processing with 2 cameras

Quote:
Originally Posted by frmsaul View Post
Yet, we are having trouble saving images from 2 separate AxisCameras because WPILib will only allow us to have a reference to one of the 2 cameras, and when we try to get a reference to the 2nd camera, it simply returns the reference to the first.
We had a similar issue in 2012. I'm going to assume WPI C++ has the same/similar bug WPI LabView does. In lab view, a memmory location is allocated for images and assigned a unique name. If any other function call is given the same image reference, it uses the same location.

It turns out, some of the LabView function calls had this name hardcoded internally (I went down the rabbit hole). When we changed the name, it started working again. Recomendation, dig through the libraries and find the referenced memmory pointer/location and change as necessary. Save the changed files as a new library.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.