Go to Post I would hate for you to get the impression that the Northeast is one big unending snowglobe during the winter months. - Elgin Clock [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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-03-2016, 21:53
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
SmartDashboard MJPG stream cutting out

Today in competition, we were running into an issue where our MJPG camera stream on the SmartDashboard dies every 15-20 seconds. It usually comes back after 15-30 seconds. The video is being streamed from an NVidia Jetson TK1, using a custom server. I would immediately assume that this problem is caused by this software, but I'm not so sure because it only occurs on the field network. On the SmartDashboard we get a "read timeout" error when the stream dies.

Throughout all of our testing during build season and tethered testing at competition, this has not been a problem. As far as I can remember, we never saw this problem occur during Suffield Shakedown, though we didn't use our vision system much there. It has only occurred on the field at this event

I have talked to a few of the field staff at the event and went through the DS logs to check for problems, but there wasn't much interesting there. Bandwidth usage is within acceptable limits (~3 Mbps) and there is not a lot of packet loss.

I was wondering if anyone had any suggestions to help get this working better for tomorrow, because I am at a loss to figure out what is going on. My long term solution is likely going to involve going to a UDP based streaming protocol.

Thanks.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #2   Spotlight this post!  
Unread 12-03-2016, 22:17
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: SmartDashboard MJPG stream cutting out

Your field staff are probably the best bet for helping out (atleast in Michigan where most of the FTAs are quite good at everything outside of the driver station as well, I've never been outside of here so I wouldn't know otherwise ). A read timeout would signify that you lost connection to the bb. Did you confirm all of the wiring to and near the bb is totally solid? No shorts or anything, good fuse on the power connector if you're using a fuse connection and not vrm, and so on and so forth.

If this doesn't work, what id try to do is add some way to have the bb transmit a sine wave over as well so you can verify proper operation of the bb and that it is indeed a camera or BB issue,

Edit: sorry I meant tk1 not bb (beagle bone)
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)

Last edited by Arhowk : 12-03-2016 at 22:19.
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 10:17.

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