Go to Post I frequently summarize the core mission of FIRST as inspiring the smartest high school kids to study science and engineering, so they don't become lawyers. (It's about 70% in jest) - MikeE [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 23-02-2013, 00:24
twiggzee twiggzee is offline
Registered User
FRC #3502 (Octo-(PI)-Rates)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 55
twiggzee is an unknown quantity at this point
how to check bandwidth?

we are running off board vision processing on our laptop using a m1011 camera set to 320x240, compression 30. we were able to find the targets pretty easily from less than 25 feet away. on bag day, too late of course, we noticed that if we changed our res to 640 x 480 we could see the targets from about 40 feet away.

does anybody know if there is a way to check whether we would go over the bandwidth limit if we did the 640x480 res? is there a way to monitor how much we've used? want to experiment with different resolutions, compression, and fps to see what will best fit our needs.

in the name of procrastination, thanks!!
__________________
Wendy
Team 3502
  #2   Spotlight this post!  
Unread 23-02-2013, 00:26
Keyreaper's Avatar
Keyreaper Keyreaper is offline
Keyreaper
AKA: Cyrus Duong
FRC #1710 (Revolution Ravonics)
Team Role: Programmer
 
Join Date: May 2011
Rookie Year: 2011
Location: Olathe
Posts: 140
Keyreaper is an unknown quantity at this point
Re: how to check bandwidth?

With the testing I've done you can run 640x480 0% compression and get really close to the 8mbp/s limit. I'm running those resolutions (with two cameras) at 70% compression and have a little over 4mbps on the cameras alone. So with perhaps a little more compression in your situation I would say you will be fine.
__________________

CTO/Head Programmer of Team 1710

  #3   Spotlight this post!  
Unread 23-02-2013, 00:29
twiggzee twiggzee is offline
Registered User
FRC #3502 (Octo-(PI)-Rates)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 55
twiggzee is an unknown quantity at this point
Re: how to check bandwidth?

thanks for the quick reply. this gives me hope.

how would i go about measuring our bandwidth?
__________________
Wendy
Team 3502
  #4   Spotlight this post!  
Unread 23-02-2013, 00:55
Keyreaper's Avatar
Keyreaper Keyreaper is offline
Keyreaper
AKA: Cyrus Duong
FRC #1710 (Revolution Ravonics)
Team Role: Programmer
 
Join Date: May 2011
Rookie Year: 2011
Location: Olathe
Posts: 140
Keyreaper is an unknown quantity at this point
Re: how to check bandwidth?

As far as cameras go, the camera.vi's take care of that when you output or read the mjpg out to the dashboard. Just attach an indicator to the dashboard that reads from the mbps output on the camera read.vi function. See attached for example.

Click image for larger version

Name:	Like so.PNG
Views:	45
Size:	12.9 KB
ID:	14147
__________________

CTO/Head Programmer of Team 1710

  #5   Spotlight this post!  
Unread 23-02-2013, 01:01
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: how to check bandwidth?

Just putting this out there, the screensteps live documentation is quite good. Here's one on bandwidth:

http://wpilib.screenstepslive.com/s/...andwidth-usage
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
  #6   Spotlight this post!  
Unread 23-02-2013, 09:12
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: how to check bandwidth?

We need to shoot for a video bandwidth maximum of roughly less than 5Mb/s.

The field limit is 7Mb/s, but
  • The video has transmission overhead that isn't being measured
  • The command packets for driving take ~1Mb/s
  • Network Tables to send/receive values between the Dashboard and cRIO will take some of the bandwidth too.
  • We need some breathing room to accommodate transmission spikes and variations
The default Dashboard already gives video bandwidth feedback on the screen as well as easy adjustment of resolution/fps/compression to immediately see what the effect is on the look of the video.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #7   Spotlight this post!  
Unread 26-02-2013, 11:51
BOSS BOSS is offline
Registered User
FRC #2883
 
Join Date: Jan 2010
Location: MN
Posts: 40
BOSS is on a distinguished road
Re: how to check bandwidth?

We have vision currently and are using a LED ring we have the bandwidth around 2mbps we are running robot and the camera and see the targets well is this to good to be true? We are using Labview, the default FRC code for the camera, compression at 60, the 320 X240. Will this work at the competition?
  #8   Spotlight this post!  
Unread 26-02-2013, 11:58
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: how to check bandwidth?

That sounds good, and normal.
Last year we ran two cameras at a combined ~1Mb/s, so it's certainly possible.

It's the unconstrained, uncompressed, over resolution raw video stream that's really the problem bandwidth-wize.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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


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

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