Go to Post If the fan club goes away, or isn't always right in your face doing things the public sees, does that mean the reason for the fan club is gone? Nope. - Elgin Clock [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-01-2009, 22:14
Wylie99998 Wylie99998 is offline
Registered User
FRC #0871
 
Join Date: Oct 2007
Location: ny
Posts: 12
Wylie99998 is an unknown quantity at this point
Multiple Camera's

Does anyone know of the legality of using multiple cameras this year?
  #2   Spotlight this post!  
Unread 06-01-2009, 22:22
Kahn! Kahn! is offline
Registered User
FRC #1379
 
Join Date: Sep 2008
Location: Norcross, GA
Posts: 22
Kahn! is an unknown quantity at this point
Re: Multiple Camera's

If you're able to hook it up and it doesn't slow down your code too much I'm 95% sure it's legal.
  #3   Spotlight this post!  
Unread 07-01-2009, 00:03
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,086
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Multiple Camera's

I'm 95.1% certain that while you certainly *could* hook up another camera, you wouldn't be able to use C++ to access it (at least not using WPILib, its hardcoded for one camera quite deeply from what I can see).
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
  #4   Spotlight this post!  
Unread 07-01-2009, 11:09
kyungjin kyungjin is offline
Software Specialist
AKA: Daniel
VRC #0646
Team Role: Programmer
 
Join Date: Aug 2008
Rookie Year: 2009
Location: Honolulu, Hawaii
Posts: 65
kyungjin is an unknown quantity at this point
Send a message via AIM to kyungjin Send a message via MSN to kyungjin
Re: Multiple Camera's

I don't see how you would be able to do so...

Right now, the Axis camera uses a ethernet interface to send/transmit data via crossover cable to the cRIO's second ethernet port. Since the first ethernet port is dedicated specifically to sending/receiving instructions from the gaming adapter or PC (when it's plugged in...) I don't know how you'd be able to do so...

Plus... It's hard enough trying to get ONE camera recognized by the cRIO... Two or more is hell...
  #5   Spotlight this post!  
Unread 07-01-2009, 11:19
nickmagus's Avatar
nickmagus nickmagus is offline
Registered User
AKA: Nick Clayton
FRC #0008 (Paly Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Palo Alto, Califorinia
Posts: 56
nickmagus is an unknown quantity at this point
Send a message via AIM to nickmagus
Re: Multiple Camera's

While it is possible to connect a camera on another type of port (almost any of the inputs you have could be made to work) the driver for a non-Ethernet port camera would be a PAIN to write. Your programing energies are far better spent creating more directly useful algorithms. Perhaps if I finish all the other stuff I have to do I will try writing a driver for it (unlikely but possible) and I'll post it up here if I do.
  #6   Spotlight this post!  
Unread 07-01-2009, 12:40
XXShadowXX's Avatar
XXShadowXX XXShadowXX is offline
They call me Cody.
no team (None currently :\)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Pontiac; MI
Posts: 408
XXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud of
Re: Multiple Camera's

couldn't you use a router hooked to the cross over cables, with the router's out put connected to the cRIO. It would have to be heavily modified to run off of the 15v dc battery but this is FIRST. Because Ethernet can carry some 56Mbs?
__________________
Is now an engineer thanks to FIRST.
  #7   Spotlight this post!  
Unread 07-01-2009, 15:43
kyungjin kyungjin is offline
Software Specialist
AKA: Daniel
VRC #0646
Team Role: Programmer
 
Join Date: Aug 2008
Rookie Year: 2009
Location: Honolulu, Hawaii
Posts: 65
kyungjin is an unknown quantity at this point
Send a message via AIM to kyungjin Send a message via MSN to kyungjin
Re: Multiple Camera's

I guess you could try that... I dunno though... If you do happen to try it out let us know of the results? Kinda curious myself. haha
  #8   Spotlight this post!  
Unread 07-01-2009, 15:54
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Multiple Camera's

I have no idea on the legality, but it shouldn't be too hard to hook up a hub to talk to multiple Axis 206s.
  #9   Spotlight this post!  
Unread 07-01-2009, 16:19
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Multiple Camera's

Sounds like fun - at some point you'll overload the cRIO's PowerPC. I'm not sure how much of it's being utilized to get and analyze a single video stream.

Go for it and let us know how well stereo vision works!

Russ
  #10   Spotlight this post!  
Unread 07-01-2009, 16:47
waialua359's Avatar
waialua359 waialua359 is offline
Mentor
AKA: Glenn
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Apr 2003
Rookie Year: 2000
Location: Waialua, HI
Posts: 3,306
waialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond repute
Re: Multiple Camera's

The Staten Island team, 375, used two cameras in the past on their 2007 robot.
__________________

2016 Hawaii Regional #1 seed, IDesign, Safety Award
2016 NY Tech Valley Regional Champions, #1 seed, Innovation in Controls Award
2016 Lake Superior Regional Champions, #1 seed, Quality Award, Dean's List
2015 FRC Worlds-Carver Division Champions
2015 Hawaii Regional Champions, #1 seed.
2015 Australia Regional Champions, #2 seed, Engineering Excellence Award
2015 Inland Empire Regional Champions, #1 seed, Industrial Design Award
2014 OZARK Mountain Brawl Champions, #1 seed.
2014 Hawaii Regional Champions, #1 seed, UL Safety Award
2014 Dallas Regional Champions, #1 seed, Engineering Excellence Award
2014 Northern Lights Regional Champions, #1 seed, Entrepreneurship Award
2013 Championship Dean's List Winner
2013 Utah Regional Champion, #1 seed, KP&B Award, Deans List
2013 Boilermaker Regional Champion, #1 seed, Motorola Quality Award
2012 Lone Star Regional Champion, #1 seed, Motorola Quality Award
2012 Hawaii Regional Champions #1 seed, Motorola Quality Award
  #11   Spotlight this post!  
Unread 07-01-2009, 17:03
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,815
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Multiple Camera's

The following descriptions are all theoretical. I can't guarantee that any of the following will actually work, be legal, or not destroy your cRio. try it out at your own risk

The Axis camera that came with the KoP is a network camera - basically, you stick it on a network, and use software to access it via IP address. All in all, it's a pretty simple device to use.

That being said, if you wanted to connect two of them up to the cRio, you see the immediate problem - you only have 1 port to plug them into. To solve that, you would need a hub. Tons of companies make them, with a wide range of ports. I have one similar to this at home, extending my network to include various gaming and media centers:
http://www.radioshack.com/product/in...&tab=techSpecs

Power requirements are 12V, 1A.

With that, you can, in theory, hook up 4 cameras to the single cRio port.

Once you get it hooked up, assuming no magic smoke comes out of components and everything can safely coexist, you have the daunting task of actually connecting to them and using it in your code. Yikes! The camera code would essentially be duplicated for each camera hooked up to it, and configured to connect to a different IP address for each camera. In theory, that is. I haven't looked at the provided code, so i can't say for certainty.

So, if we assume that things were created and designed to be flexible and extensible, as all things should be, we can probably say that it is theoretically possible. Now, it might bog down the PPC in the cRio, but you'll never know until someone tries.
  #12   Spotlight this post!  
Unread 09-01-2009, 18:39
Wylie99998 Wylie99998 is offline
Registered User
FRC #0871
 
Join Date: Oct 2007
Location: ny
Posts: 12
Wylie99998 is an unknown quantity at this point
Re: Multiple Camera's

hmm thats what i was thinking.. il give it a shot and let you guys know how it turns out
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Multiple Programs or One Program with Multiple Auto Modes kevin51292 FIRST Tech Challenge 4 02-01-2009 20:37
Hosting multiple sites in multiple VMs EHaskins Website Design/Showcase 6 22-12-2007 01:09
The camera's range of vision HellBoy Programming 1 25-01-2007 11:18
Camera's battery Max Brin Technical Discussion 1 19-02-2006 15:28
Camera's Field of View? Greg Marra Programming 1 26-01-2006 13:17


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

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