View Single Post
  #7   Spotlight this post!  
Unread 03-13-2015, 06:44 PM
EmileH's Avatar
EmileH EmileH is offline
it's not a water game, ok?
AKA: Emile Hamwey
FRC #1058 (PVC Pirates) & FF (NE Way You Want It)
Team Role: Programmer
 
Join Date: Dec 2014
Rookie Year: 2011
Location: New England
Posts: 531
EmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant future
Re: usb camera name in roborio

What you theoretically should be able to do is do a SendableChooser (sort of like an autonomous chooser) in the robotInit for each camera, ie cam0,1,2,3,4 and write an if statement that sets the boolean for each camera name true or false. Just remember to set the right camera name before the robot connects to your laptop.

The autonomous chooser on screensteps is here

hope this helps.
__________________
2016-present: High School Student, FRC 1058 PVC Pirates
2016: RiverRage 20 Champions, Battle of the Bay 3 Champions

2013-2015: Middle School Student, FRC 3467 Windham Windup
Reply With Quote