Go to Post I'm not the only one confused. Perfect. - MikLast [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
  #1   Spotlight this post!  
Unread 21-02-2012, 22:14
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: paper: How to Get Multiple Cameras on Robot

We have been using another 12V-5V Power Converter to power our Axis M1011 camera and notice the camera reboots after 3-4 minutes of heavy robot use (i.e. running 2 practice matches). Anybody else seeing that issue? We may try running it off the 5V Wago supply if people indicate that it works well.
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 22-02-2012, 17:20
cgmv123's Avatar
cgmv123 cgmv123 is offline
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,072
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: paper: How to Get Multiple Cameras on Robot

Quote:
Originally Posted by DavidGitz View Post
We have been using another 12V-5V Power Converter to power our Axis M1011 camera and notice the camera reboots after 3-4 minutes of heavy robot use (i.e. running 2 practice matches). Anybody else seeing that issue? We may try running it off the 5V Wago supply if people indicate that it works well.
3-4 minutes of heavy robot use would tend to draw down your battery below 7 volts, which would cause the converter to stop functioning.
__________________
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
  #3   Spotlight this post!  
Unread 23-02-2012, 19:04
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: paper: How to Get Multiple Cameras on Robot

Quote:
Originally Posted by cgmv123 View Post
3-4 minutes of heavy robot use would tend to draw down your battery below 7 volts, which would cause the converter to stop functioning.
Maybe it's too late for me, but with this line of logic wouldn't the robot radio be rebooting as well? Since it is not, I don't necessarily agree with this. And isn't that the point of the 12V-5V Converter anyways?
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 23-02-2012, 22:45
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 DavidGitz View Post
Maybe it's too late for me, but with this line of logic wouldn't the robot radio be rebooting as well?
The 12V-to-5V converter for the DAP-1522 is connected to an up-regulated 12 volt output. It won't drop out until the robot battery goes very low, about 4.5 volts.
Reply With Quote
  #5   Spotlight this post!  
Unread 24-02-2012, 22:52
baronep's Avatar
baronep baronep is offline
Student President
FRC #2848 (Jesuit All-Sparks)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dallas TX
Posts: 167
baronep is on a distinguished road
Re: paper: How to Get Multiple Cameras on Robot

Have we decided whether or not a judge would get freaked out by the 5volt regulated power feeding both cameras?
Reply With Quote
  #6   Spotlight this post!  
Unread 25-02-2012, 00:17
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

Why would a judge care?

If you're talking about whether it would pass inspection, I know of no rule that would get in the way.
Reply With Quote
  #7   Spotlight this post!  
Unread 02-04-2012, 17:46
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 104
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: paper: How to Get Multiple Cameras on Robot

I can confirm that this works. You can run two axis cameras from the PD board without any issues. Also for reference, a single camera draws about 250mA under normal use, so you're well under spec there even with two cameras!
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
Reply With Quote
  #8   Spotlight this post!  
Unread 03-04-2012, 19:44
rachelholladay's Avatar
rachelholladay rachelholladay is offline
Registered User
FRC #1912 (Team Combustion)
 
Join Date: Dec 2010
Rookie Year: 2006
Location: Slidell, Louisiana, USA
Posts: 540
rachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond repute
Re: paper: How to Get Multiple Cameras on Robot

Thank you very much for posting this document. I had one question. You guys showed how to edit the dashboard code, which I followed easily. However, I would assume you would have to edit the robot code too, right? Would you just copy the code for the first camera to add the second?
__________________
Carnegie Mellon School of Computer Science Class of 2017
2012 Dean's List Winner, 2011 NWCIT Award of Aspirations in Computing National Winner

2014 - : FIRST Team 3504 Girls of Steel (Mentor)
2014 Engineering Inspiration

2006 - 2013: FIRST Team 1912 Combustion (Webmaster / Controls Capt / Beta Test Lead / Drive Capt / JrFLL Coach)
2013 Woodie Flowers Finalist for Wendy Holladay. 2010 - 2013 Regional Chairman's Award at the Bayou Regional. 2011 - 2012 Best Website at the Bayou Regional. 2010 - 2013 Beta Test Team for Hardware and LabVIEW. 2012 JrFLL State Expo Coordinator.
Reply With Quote
  #9   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
  #10   Spotlight this post!  
Unread 04-04-2012, 01:08
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,621
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
  #11   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
  #12   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
  #13   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
  #14   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
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:45.

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