Thread: Dual Cameras?
View Single Post
  #2   Spotlight this post!  
Unread 03-02-2015, 21:44
Adamz_'s Avatar
Adamz_ Adamz_ is offline
Who wants coffee?
AKA: Connor Adams
FRC #4519 (Kings Mechavaliers)
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2013
Location: Oakville
Posts: 33
Adamz_ is a splendid one to beholdAdamz_ is a splendid one to beholdAdamz_ is a splendid one to beholdAdamz_ is a splendid one to beholdAdamz_ is a splendid one to beholdAdamz_ is a splendid one to beholdAdamz_ is a splendid one to behold
Re: Dual Cameras?

I'm going off of memory here because i don't have a roboRio to test with, but I'm fairly certain that within the Rio's web interface you can change the names of cameras to satisfy having the name cam0 or cam1.

Another way around this is with the cameraServer class, wich allows you to specify what camera you want to get the feed one.

For the example below, you would be receiving data from cam3 on the rio dashboard.
Code:
void CameraServer::StartAutomaticCapture (cam3)
If the above code doesn't make much sense i apologize, but I'm a java programmer.
__________________
2016 North Bay Regional Finalists
2016 Greater Toronto Central Regional Semi-Finalists
2015 Windsor Essex Great Lakes Regional Quarter-Finalists
2014 Windsor Essex Great Lakes Regional Semi-Finalists
2014 Waterloo Regional Quarter-finalists
2013 Waterloo Regional Highest Rookie Seed
2013 Waterloo Regional Rookie All Star Recipient

Last edited by Adamz_ : 03-02-2015 at 23:34. Reason: wrong link in hyperlink