View Single Post
  #1   Spotlight this post!  
Unread 17-02-2015, 20:06
FancyGerald FancyGerald is offline
Registered User
FRC #3098
 
Join Date: Feb 2015
Location: Mi
Posts: 6
FancyGerald is an unknown quantity at this point
USB Camera name randomly changing

My team has plans to use two different USB cameras both plug into the same robo-rio. When we started to the use cameras we were working with only one, and that camera was give the name "cam0". we had written code to use "cam0", then we started to have issues because the name of the camera had changed to "cam1". so we wrote code to handle the seemingly random name changes for the camera. now that we have started to toy with two cameras the bot has now given the new camera the name of "cam2". but not only has it given it the name of "cam2" it only names it that way if its plugged into the port closes to the edge. why aren't the names consistent and if there is how could I change the names of the cameras?
Reply With Quote