Go to Post “There are two ways to compete, one is to drag your opponent down, the other is to raise the bar and excel. Which do you think is more beneficial to you in the long run?” -- John Abele - Candice.E [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2012, 01:05
nonamedude nonamedude is offline
Registered User
FRC #1815
 
Join Date: Nov 2011
Location: Canada
Posts: 10
nonamedude is an unknown quantity at this point
Using 2 cameras

Hey guys,

Has anyone tried using two cameras? If so, how do you get the two different images , because it seems that I am only allowed to set one instance of camera.

I have set on camera to 10.xx.yy.11 and the other to 10.xx.yy.12.
I can ping both cameras so the connections should be fine.

Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2012, 07:55
nickpeq nickpeq is offline
Turing-complete
FRC #1255 (Blarglefish)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Baytown, TX
Posts: 60
nickpeq is an unknown quantity at this point
Re: Using 2 cameras

You can try camera.getInstance(10.xx.yy.12) but I don't think it will allow two cameras.
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2012, 09:48
cgmv123's Avatar
cgmv123 cgmv123 is online now
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,078
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Using 2 cameras

Quote:
Originally Posted by nickpeq View Post
You can try camera.getInstance(10.xx.yy.12) but I don't think it will allow two cameras.
That's
Code:
camera.getInstance("10.xx.yy.12");
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2012, 16:44
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: Using 2 cameras

You could possibly switch between the two while running, but this might be a slow process. I would suggest moving any graphical code off the classmate.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-02-2012, 19:33
eddie12390's Avatar
eddie12390 eddie12390 is offline
Registered User
AKA: Eddie
FRC #3260 (SHARP)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Pittsburgh
Posts: 285
eddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of light
Re: Using 2 cameras

In the SMARTDASHBOARD we are able to use two cameras. Put both of them on seperate IPs and configure the correct IPs on the dashboard and they'll work fine.
Reply With Quote
  #6   Spotlight this post!  
Unread 06-02-2012, 19:55
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Using 2 cameras

Are two cameras allowed on a robot?
Reply With Quote
  #7   Spotlight this post!  
Unread 06-02-2012, 21:20
nonamedude nonamedude is offline
Registered User
FRC #1815
 
Join Date: Nov 2011
Location: Canada
Posts: 10
nonamedude is an unknown quantity at this point
Re: Using 2 cameras

I dont think there is anything that says you cannot have 2 cameras on the robot. How do you configure the two cameras on the SMARTDASHBOARD?.
Reply With Quote
  #8   Spotlight this post!  
Unread 07-02-2012, 13:38
eddie12390's Avatar
eddie12390 eddie12390 is offline
Registered User
AKA: Eddie
FRC #3260 (SHARP)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Pittsburgh
Posts: 285
eddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of light
Re: Using 2 cameras

Quote:
Originally Posted by nonamedude View Post
I dont think there is anything that says you cannot have 2 cameras on the robot. How do you configure the two cameras on the SMARTDASHBOARD?.
I have yet to find a rule that tells me that I can't have two.

Simply install the SmartDashboard and add two camera widgets instead of one and change the IP in the "Properties" menu.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:22.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi