Go to Post I don't mean to sound harsh, but I do not want you to get your hopes up. There are deadlines in FIRST. - RoboMom [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 04-02-2013, 17:56
lunamoonthroat lunamoonthroat is offline
Registered User
FRC #4137
 
Join Date: Feb 2013
Location: Canterlot
Posts: 3
lunamoonthroat is an unknown quantity at this point
Multiple Cameras?

Hey All you FIRST'ers!

We're trying to run two cameras on our robot for ranging, but the AxisCamera is a singleton class (we're using java), and our custom code (overriding the actual AxisCamera doesn't seem to interface for creating multiple cameras. Any ideas? Regards,
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2013, 18:39
flamer075 flamer075 is offline
Registered User
FRC #3200
 
Join Date: Jan 2013
Location: Colorado
Posts: 21
flamer075 is an unknown quantity at this point
Re: Multiple Cameras?

Hey, my team decided that we wanted 2 cameras going with a dual live feed last year. We also coded in java, but for getting two cameras at once I would recommend using a smart dashboard or using labview and modifying it so you can get two live feeds at once. If you don't mind why would you want to use two cameras for this game.
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2013, 18:40
Kusha's Avatar
Kusha Kusha is offline
Crimpin' ain't easy
AKA: Kusha Gharahi
no team (Looking for a team)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Dallas, Texas
Posts: 207
Kusha is a jewel in the roughKusha is a jewel in the roughKusha is a jewel in the roughKusha is a jewel in the rough
Re: Multiple Cameras?

Quote:
Originally Posted by flamer075 View Post
Hey, my team decided that we wanted 2 cameras going with a dual live feed last year. We also coded in java, but for getting two cameras at once I would recommend using a smart dashboard or using labview and modifying it so you can get two live feeds at once. If you don't mind why would you want to use two cameras for this game.
Why did you use duel cameras last year? If you don't mind me asking.
__________________
https://kusha.me
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2013, 18:53
xraymypanda's Avatar
xraymypanda xraymypanda is offline
Cowboy programmer
AKA: Chris M
FRC #0599 (RoboDox)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2011
Location: Granada Hills,CA
Posts: 82
xraymypanda has a spectacular aura aboutxraymypanda has a spectacular aura about
Re: Multiple Cameras?

With regards to the set up of two cameras:www.chiefdelphi.com/media/papers/2634
However, beware exceeding your bandwidth limit.
__________________

2011: Head Scout
2012: (figure)Head Programmer
2013: Head Programmer, Chief Strategist, Outreach Executive, and Driver
Reply With Quote
  #5   Spotlight this post!  
Unread 05-02-2013, 07:34
lunamoonthroat lunamoonthroat is offline
Registered User
FRC #4137
 
Join Date: Feb 2013
Location: Canterlot
Posts: 3
lunamoonthroat is an unknown quantity at this point
Re: Multiple Cameras?

Thanks @xraymypanda! However, I already looked at that document, and it may be helpful for C++ and LabView, but for the Java bindings, it is unfortunately mute. Because the Java binding is somehow a singleton due to the way it is ported, after AxisCamera.getInstance(ip1) is called, AxisCamera.getInstance(ip2) returns a reference to ip1 instead.
@flamer075: We are trying to get more accurate ranging measurements from stereoscopic vision.
Reply With Quote
  #6   Spotlight this post!  
Unread 05-02-2013, 08:22
mathking's Avatar
mathking mathking is offline
Coach/Faculty Advisor
AKA: Greg King
FRC #1014 (Dublin Robotics aka "Bad Robots")
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 1999
Location: Columbus, OH
Posts: 638
mathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond repute
Re: Multiple Cameras?

We used two cameras in Java last year using Smartdashboard. We did it because one was for targeting and the other (added after the regional for the championships) was looking down for ball gathering purposes. Others have said it but beware of bandwidth issues. If you want some technical help let me know and I will put one of our programmers in touch with you. Actually I think that some two camera code is already posted on our github repository.
__________________
Thank you Bad Robots for giving me the chance to coach this team.
Rookie All-Star Award: 2003 Buckeye
Engineering Inspiration Award: 2004 Pittsburgh, 2014 Crossroads
Chairman's Award: 2005 Pittsburgh, 2009 Buckeye, 2012 Queen City
Team Spirit Award: 2007 Buckeye, 2015 Queen City
Woodie Flowers Award: 2009 Buckeye
Dean's List Finalists: Phil Aufdencamp (2010), Lindsey Fox (2011), Kyle Torrico (2011), Alix Bernier (2013), Deepthi Thumuluri (2015)
Gracious Professionalism Award: 2013 Buckeye
Innovation in Controls Award: 2015 Pittsburgh
Event Finalists: 2012 CORI, 2016 Buckeye
Reply With Quote
  #7   Spotlight this post!  
Unread 05-02-2013, 08:32
IndySam's Avatar
IndySam IndySam is offline
Registered User
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Indy
Posts: 3,361
IndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond repute
Re: Multiple Cameras?

Like Greg we used two cameras last year, one mounted high with the shooter and the other down low with the ball pickup mostly used to see under the bridge.

We didn't need high resolution for either task so we set the resolution very low and never had any trouble
__________________
"Champions are champions not because they do anything extraordinary but because they do the ordinary things better than anyone else." —Chuck Knoll


2015 Indianapolis District Winner
2014 Boilermaker Regional Industrial Design Award
2013 Smoky Mountain Regional Industrial Design Award
2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Innovation in Control Award.
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St Louis Regional Winners
Reply With Quote
  #8   Spotlight this post!  
Unread 05-02-2013, 09:21
JohnFogarty's Avatar
JohnFogarty JohnFogarty is offline
Trapped under a pile of MECANUMS :P
AKA: @doctorfogarty
FTC #11444 (Garnet Squadron) & FRC#1102 (M'Aiken Magic)
Team Role: Mentor
 
Join Date: Aug 2009
Rookie Year: 2006
Location: SC
Posts: 1,579
JohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond repute
Re: Multiple Cameras?

I used two cameras as well. SmartDashboard is by far the easiest thing to use.
Make sure you set the less needed camera to a lower resolution so you don't max out your bandwidth.
__________________
John Fogarty
2010 FTC World Championship Winner & 2013-2014 FRC Orlando Regional Winner
Mentor FRC Team 1102 M'Aiken Magic
"Head Bot Coach" FTC Team 11444 Garnet Squadron
Former Student & Mentor FLL 1102, FTC 1102 & FTC 3864, FRC 1772, FRC 5632
2013 FTC World Championship Guest Speaker
Reply With Quote
  #9   Spotlight this post!  
Unread 05-02-2013, 10:55
lunamoonthroat lunamoonthroat is offline
Registered User
FRC #4137
 
Join Date: Feb 2013
Location: Canterlot
Posts: 3
lunamoonthroat is an unknown quantity at this point
Re: Multiple Cameras?

By SmartDashboard, do you mean connecting both cameras to the dashboard, then getting images from the dashboard instead of the camera directly?
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 10:56.

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