Go to Post As Grandma used to say, "empirical data is better than no data at all." - dlavery [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 29-01-2017, 14:09
legts legts is offline
Autonomous Queen
FRC #2399 (The Fighting Unicorns)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Ohio
Posts: 78
legts is an unknown quantity at this point
A Note For Those Using NetworkTables

Hey everybody!

My team discovered today that the reason why our vision code on the Raspberry Pi wasn't working despite our NetworkTables being set up correctly as far as we could tell. The problem was that we were trying to view the video stream in Internet Explorer, which for some reason couldn't handle a video stream. We used Chrome instead and were able to see a video feed!

We had assumed that we should use Internet Explorer to see the stream since screenstepslive said to use it when connecting to the roboRIO to do stuff like imaging Talons. Turns out, Internet Explorer isn't always the solution!

Moral of the story: if your vision code should be sending a stream to the driver's station but you're not getting one, try using Chrome.
__________________
Programming Captain on team 2399 for the 2016 season.
Programmer on team 2399 The Fighting Unicorns since 2014!
Engineering Inspiration Award GPR 2015
Semi-finalist Buckeye 2015 (thanks 4269 and 1987!)
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2017, 15:11
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 191
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: A Note For Those Using NetworkTables

How is this relative to NetworkTables? Network tables allows you to send key/value pairs between different nodes on the network. Video streams are completely separate from and don't rely on NetworkTables.
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?

Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2017, 15:12
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 268
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: A Note For Those Using NetworkTables

This is CameraServer related, not NetworkTables. Internet Explorer does not have the ability to view MJPEG streams. Use a different browser (Firefox, Chrome, and Edge all work). We'll get this added to the documentation. Note this also isn't an issue if you use a different application (e.g. SmartDashboard) to view the stream.
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2017, 15:23
legts legts is offline
Autonomous Queen
FRC #2399 (The Fighting Unicorns)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Ohio
Posts: 78
legts is an unknown quantity at this point
Re: A Note For Those Using NetworkTables

Quote:
Originally Posted by kylelanman View Post
How is this relative to NetworkTables? Network tables allows you to send key/value pairs between different nodes on the network. Video streams are completely separate from and don't rely on NetworkTables.
My team had thought that we were having issues with our NetworkTables, and we actually weren't because we were using the wrong browser. I posted this with the title being about NetworkTables so if another team was having the same issues as us and searching CD they would be more likely to find this thread.
__________________
Programming Captain on team 2399 for the 2016 season.
Programmer on team 2399 The Fighting Unicorns since 2014!
Engineering Inspiration Award GPR 2015
Semi-finalist Buckeye 2015 (thanks 4269 and 1987!)
Reply With Quote
  #5   Spotlight this post!  
Unread 29-01-2017, 15:28
legts legts is offline
Autonomous Queen
FRC #2399 (The Fighting Unicorns)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Ohio
Posts: 78
legts is an unknown quantity at this point
Re: A Note For Those Using NetworkTables

Quote:
Originally Posted by Peter Johnson View Post
This is CameraServer related, not NetworkTables. Internet Explorer does not have the ability to view MJPEG streams. Use a different browser (Firefox, Chrome, and Edge all work). We'll get this added to the documentation. Note this also isn't an issue if you use a different application (e.g. SmartDashboard) to view the stream.
We actually can't use SmartDashboard to view our stream, that's what we're working on debugging now.
__________________
Programming Captain on team 2399 for the 2016 season.
Programmer on team 2399 The Fighting Unicorns since 2014!
Engineering Inspiration Award GPR 2015
Semi-finalist Buckeye 2015 (thanks 4269 and 1987!)
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2017, 16:59
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,554
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: A Note For Those Using NetworkTables

And the reason that you need to use Internet Explorer with the RoboRio is because Chrome does not support Microsoft Silverlight. In fact, Microsoft has announced they aren't going to support it anymore either in the future.
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 01:14.

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