Go to Post Sally Ride says role models are needed - that's you. - JaneYoung [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 03-04-2012, 19:52
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: paper: How to Get Multiple Cameras on Robot

Easy if you use USB webcams like we did with a laptop on the robot.
You can easily put 2 webcams on a laptop, sometimes 3 (depends really on the number of root hubs in the laptop, most netbooks have 3 USB ports but only 2 root hubs).

If you use a MultiTT USB hub you can usually get to 3.

We can confirm that putting a laptop within the rule restrictions is allowed and has passed inspection at 3 competitions.

It's quite cost effective as well. Consider how much 3 of those Axis cameras would cost versus the $25 webcams.

You can get 1080P webcams now. Think about what you could do what that sort of resolution. Think about what you could do with 45-50 frames a second from some webcams at 640x480.

Last edited by techhelpbb : 03-04-2012 at 20:17.
Reply With Quote
  #17   Spotlight this post!  
Unread 04-04-2012, 01:08
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,638
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: paper: How to Get Multiple Cameras on Robot

Quote:
Originally Posted by techhelpbb View Post
Easy if you use USB webcams like we did with a laptop on the robot.
You can easily put 2 webcams on a laptop, sometimes 3 (depends really on the number of root hubs in the laptop, most netbooks have 3 USB ports but only 2 root hubs).

If you use a MultiTT USB hub you can usually get to 3.

We can confirm that putting a laptop within the rule restrictions is allowed and has passed inspection at 3 competitions.

It's quite cost effective as well. Consider how much 3 of those Axis cameras would cost versus the $25 webcams.

You can get 1080P webcams now. Think about what you could do what that sort of resolution. Think about what you could do with 45-50 frames a second from some webcams at 640x480.
This whitepaper is documenting how to attach a second camera and add it to the driverstation display. In this game, likely as a POV camera for ball hunting. As described in the whitepaper, this takes about 30 minutes or less of programming, and no particular expertise.

So I fail to see how adding an entire laptop with USB cameras is a more economical solution to this problem. (Axis cameras are about $125, by the way. Is that a $200 laptop?) And then there's the complication of the custom code on your laptop and interfacing that to the code on the driverstation to display the video from the cameras.

So, while a secondary laptop for image processing is a nifty idea, I don't think it has any relevance whatsoever to this (rather good) whitepaper.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #18   Spotlight this post!  
Unread 04-04-2012, 01:35
BHOP BHOP is offline
Registered User
FRC #0399 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2003
Location: CA
Posts: 62
BHOP has much to be proud ofBHOP has much to be proud ofBHOP has much to be proud ofBHOP has much to be proud ofBHOP has much to be proud ofBHOP has much to be proud ofBHOP has much to be proud ofBHOP has much to be proud of
Re: paper: How to Get Multiple Cameras on Robot

We had a slight problem with this at the Colorado regional. The tutorial was excellent and we got the second camera up in like you said 30 mins.

BUT...

We could not get our ping times on the field low enough to support both cameras together. At the worst we saw pings of 160ms, and at best we saw 30-40ms. The threshold value to be "satisfactory" is 20ms, told to us by the FIRST field staff is where you will not have comm issues. When we operated with one camera we saw 6-8ms with the old axis and 10-20ms with the new axis camera. Together they were 30-40 so that was a no go.

Anyone got any ideas on how to get ping times down with two cameras? we were at the lowest resolution 7fps on both and 75 compression. I couldn't think of anything else. We also found that switching cables and locations helped significantly but not good enough...

we just guessed the field network cannot handle all the video stream we want to put through...
__________________
BHOP

ME CoE University of Michigan
503 Frog Force 830 Rat Pack
399 Eagle Robotics
Reply With Quote
  #19   Spotlight this post!  
Unread 04-04-2012, 07:36
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: paper: How to Get Multiple Cameras on Robot

Quote:
Originally Posted by BHOP View Post
Anyone got any ideas on how to get ping times down with two cameras? we were at the lowest resolution 7fps on both and 75 compression. I couldn't think of anything else. We also found that switching cables and locations helped significantly but not good enough...

we just guessed the field network cannot handle all the video stream we want to put through...
Dialing down the camera settings should have been good enough. Perhaps your Driver Station computer is being overtaxed by trying to display the images. You can check its CPU usage in the Task Manager.
Reply With Quote
  #20   Spotlight this post!  
Unread 04-04-2012, 09:32
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: paper: How to Get Multiple Cameras on Robot

Quote:
Originally Posted by Kevin Sevcik View Post
This whitepaper is documenting how to attach a second camera and add it to the driverstation display. In this game, likely as a POV camera for ball hunting. As described in the whitepaper, this takes about 30 minutes or less of programming, and no particular expertise.

So I fail to see how adding an entire laptop with USB cameras is a more economical solution to this problem. (Axis cameras are about $125, by the way. Is that a $200 laptop?) And then there's the complication of the custom code on your laptop and interfacing that to the code on the driverstation to display the video from the cameras.

So, while a secondary laptop for image processing is a nifty idea, I don't think it has any relevance whatsoever to this (rather good) whitepaper.
3 Axis cameras at $125 each would be $375. I originally wrote:
"Consider how much 3 of those Axis cameras would cost versus the $25 webcams."

However, now that you've stated you've been getting them for $125 each can you tell us how? Last year when we bought them they were at least $150 each.

If you really want to send the video back to the driver's station from a webcam(s) attached to a robot mounted laptop there are quite a few ways to achieve that. Including but not limited to installing VideoLAN and streaming it from the laptop on the robot to the laptop at the driver's station.

Here's an example of how to do it in Linux (which is what the students had on our robot laptop) and even rebroadcast that to the Internet:
http://www.wikihow.com/Stream-Your-Webcam

BTW, this example uses UDP, not TCP, which might actually come in handy if you do start dropping packets.
This method gives you fine control over both ends of the streaming, including the compression methods, transmission protocols, and the communications stacks themselves (for example you can reduce the MTU, you can increase the receive window, etc).

There's no problem with the whitepaper at all it is great work. There is just more than one way to do this and there shouldn't be any problem with mentioning that considering the title of the topic in question is: "How to Get Multiple Cameras on Robot". Consider for archival sake what will happen if someone searches for that later when this topic is less recent.

Sorry if I've ruffled anyone's feathers wasn't my intent.

Last edited by techhelpbb : 04-04-2012 at 10:00.
Reply With Quote
  #21   Spotlight this post!  
Unread 05-04-2012, 09:50
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: paper: How to Get Multiple Cameras on Robot

A few other things about VideoLAN that might be relevant to using it like this:

Here's a way to overlay something on the video (like the privacy filter on the Axis cameras):
http://www.recipester.org/Recipe:Ove...yer_3 3186770

Here's a way to 'float' the video without the frames in an overlay.
http://vollnixx.wordpress.com/2011/1...rlay-with-vlc/

If you dig around in VideoLAN you'll also find that you can basically control all it's functions remotely from devices that can't even run VideoLAN itself. For example it can run a telnet server you can connect to and issue it directions.

Last edited by techhelpbb : 05-04-2012 at 09:58.
Reply With Quote
  #22   Spotlight this post!  
Unread 16-06-2012, 12:47
Gregor's Avatar
Gregor Gregor is offline
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: paper: How to Get Multiple Cameras on Robot

What kind of lag can be seen when adding a second camera? Is there a significant difference in your first camera when the second one is added? Is it a good idea to add a second camera, or will it tax the control system too much?
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011
Reply With Quote
  #23   Spotlight this post!  
Unread 16-06-2012, 13:30
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,562
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: paper: How to Get Multiple Cameras on Robot

Quote:
Originally Posted by Gregor01 View Post
What kind of lag can be seen when adding a second camera? Is there a significant difference in your first camera when the second one is added? Is it a good idea to add a second camera, or will it tax the control system too much?
Assuming that you are only using the 2nd camera to display on the DS, the only thing it stresses is the driver station computer. Based on my experience, the classmate can't handle two cameras without degradation. By default, everything degrades equally (both camera's and robot communication). The easiest solution is to use a more capable laptop.
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 19:57.

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