Go to Post Now its up to us to show that what we shout from the high places is also true down on the street. - KenWittlief [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-04-2016, 03:48
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 156
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Arrow Streaming 2 cameras at home & with FMS

Our robot has 2 lifecam cameras and during the last regional we streamed only one of them at any given time and the driver had to switch between them.

Due to long switch times we now stream both of the at once using this code:
http://www.chiefdelphi.com/forums/sh...d.php?t=146054

It works well at home streaming both at 360x240, one at 20 fps and one at 15 fps.
I have 2 questions about that:
1. Where can I see how much Mbps the two cameras take?
2. Is there a possibility that this configuration won't work with the FMS at champs?

Thank you!
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew
Reply With Quote
  #2   Spotlight this post!  
Unread 12-04-2016, 04:33
Jaci's Avatar
Jaci Jaci is offline
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 251
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: Streaming 2 cameras at home & with FMS

The FRC Driver Station's logs will be able to tell you your bandwidth in Mbps (assuming you are using the provided wireless router in the KOP). Clicking the little gear and 'View Log File' will display the logs, the bandwidth is the line labelled "Wifi Mb" (dark blue)
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
Reply With Quote
  #3   Spotlight this post!  
Unread 12-04-2016, 07:18
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Streaming 2 cameras at home & with FMS

That feature of logging has not been implemented. The signal strength and bandwidth were hoped to be calculated by the radio itself and logged over time, but that was actually with a different radio solution, and it is not being used.

The easiest may be to use the Windows Task manager. Open the Networking tab and in View, add the Bytes per Interval column. There may be a better display elsewhere, but that seems to work pretty well.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 12-04-2016, 08:17
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,695
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: Streaming 2 cameras at home & with FMS

Here's a screensteps on measuring bandwidth:
http://wpilib.screenstepslive.com/s/...andwidth-usage

Be aware that image compression can easily cause a video stream to jump from 5Mbs to over 7 Mbps on the real playing field.
We always target keeping our combined robot bandwidth under 2Mbs to start with. It can always be increased later after seeing how it behaves on the actual playing field.

The success of image compression in keeping your bandwidth low is very dependent on the complexity of the image.
Images collected at home, pit or practice field can be quite different from the diamond plate, A/V lit, robot cluttered images you'll encounter on the playing field.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 12-04-2016 at 08:27.
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 17:46.

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