Go to Post You are an inquisitive rookie aren't ya - Kyle [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 10-01-2016, 13:40
BrandonD-1528's Avatar
BrandonD-1528 BrandonD-1528 is offline
Mentor
AKA: Brandon Dusseau
FRC #1528 (Monroe Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ann Arbor, MI
Posts: 118
BrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the rough
FMS-OBS Integration

First, some background. I'm working out details on upgrades to our broadcasting equipment at the Michigan Advanced Robotics Competition this year. I'd like to develop a more advanced audience display to integrate into Open Broadcaster for the web stream (and hopefully displays at the event itself), but I'm going to need some help in order to achieve it.

I'm looking for anyone who has knowledge of FMS to discuss possibilities for hooking into its match data in real-time. I know that the system runs on an MSSQL database and in the worst case I might be able to get the admins to create a read-only user and tie into that. I'm hoping to find out if there are more convenient event-based hooks in the software, however.

I know that custom audience displays are possible - we used one a couple years ago, but it displayed locally and we had to use a scan converter to fetch the video signal from FMS. I want to explore the possibility of expanding upon that with a daemon that will transmit data across the local network, so that hopefully we have an easily customizable display that we can run in HD.

So, if you know anything about this topic, any replies would be greatly appreciated. If this isn't something we can talk about in the open, I'm open to private messages as well.

Please keep in mind that this is all just ideas at this point. If we don't have time to get and test the equipment I'll just fall back to the "legacy" broadcasting setup we have now.

Thanks!
__________________
Brandon Dusseau (website)
Monroe Trojan Robotics mentor
Software Engineer
Michigan Tech alumnus
  #2   Spotlight this post!  
Unread 10-01-2016, 13:50
Schnabel's Avatar
Schnabel Schnabel is offline
Seriously I'm almost never serious!
AKA: Eric Schnabel
FRC #0469
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2003
Location: Troy, MI
Posts: 1,174
Schnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond repute
Re: FMS-OBS Integration

This is probably the best way you can get to real time data during the season. Note that this information is not available in off-season.

http://docs.frcevents2.apiary.io/#
__________________
I win! XD
  #3   Spotlight this post!  
Unread 10-01-2016, 13:51
BrandonD-1528's Avatar
BrandonD-1528 BrandonD-1528 is offline
Mentor
AKA: Brandon Dusseau
FRC #1528 (Monroe Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ann Arbor, MI
Posts: 118
BrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the rough
Re: FMS-OBS Integration

Thanks, but this is for an off-season event, and I need data while the match is in play. I'm entirely replacing the audience view that we use.
__________________
Brandon Dusseau (website)
Monroe Trojan Robotics mentor
Software Engineer
Michigan Tech alumnus
  #4   Spotlight this post!  
Unread 10-01-2016, 13:52
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: FMS-OBS Integration

Use Cheesy Arena and modify its (open source) audience display?
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
  #5   Spotlight this post!  
Unread 10-01-2016, 13:55
BrandonD-1528's Avatar
BrandonD-1528 BrandonD-1528 is offline
Mentor
AKA: Brandon Dusseau
FRC #1528 (Monroe Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ann Arbor, MI
Posts: 118
BrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the rough
Re: FMS-OBS Integration

Quote:
Originally Posted by plnyyanks View Post
Use Cheesy Arena and modify its (open source) audience display?
I'd prefer not to interfere with the FMS setup that FIRST in Michigan already has in place, beyond installing my own software to interface with it.
__________________
Brandon Dusseau (website)
Monroe Trojan Robotics mentor
Software Engineer
Michigan Tech alumnus
  #6   Spotlight this post!  
Unread 10-01-2016, 14:45
Doug Frisk's Avatar
Doug Frisk Doug Frisk is offline
Keeping Score
AKA: Doug Frisk
no team
 
Join Date: Mar 2014
Rookie Year: 2011
Location: Behind the FMS
Posts: 348
Doug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond repute
Re: FMS-OBS Integration

There is no way to query the FMS data directly even if you are on the same network.
  #7   Spotlight this post!  
Unread 10-01-2016, 14:47
BrandonD-1528's Avatar
BrandonD-1528 BrandonD-1528 is offline
Mentor
AKA: Brandon Dusseau
FRC #1528 (Monroe Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ann Arbor, MI
Posts: 118
BrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the rough
Re: FMS-OBS Integration

Quote:
Originally Posted by DareDad View Post
There is no way to query the FMS data directly even if you are on the same network.
I was more planning on having an application running alongside FMS that will transmit the data to a client. The issue is finding the best way for the server to integrate with FMS' data. Accessing the SQL database is one option but I'm hoping there's a better way.
__________________
Brandon Dusseau (website)
Monroe Trojan Robotics mentor
Software Engineer
Michigan Tech alumnus
  #8   Spotlight this post!  
Unread 10-01-2016, 14:49
Doug Frisk's Avatar
Doug Frisk Doug Frisk is offline
Keeping Score
AKA: Doug Frisk
no team
 
Join Date: Mar 2014
Rookie Year: 2011
Location: Behind the FMS
Posts: 348
Doug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond repute
Re: FMS-OBS Integration

Quote:
Originally Posted by BrandonD-1528 View Post
I was more planning on having an application running alongside FMS that will transmit the data to a client. The issue is finding the best way for the server to integrate with FMS' data. Accessing the SQL database is one option but I'm hoping there's a better way.
I would think that installing anything on the FMS would be, let's say, frowned upon.
  #9   Spotlight this post!  
Unread 10-01-2016, 14:59
BrandonD-1528's Avatar
BrandonD-1528 BrandonD-1528 is offline
Mentor
AKA: Brandon Dusseau
FRC #1528 (Monroe Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ann Arbor, MI
Posts: 118
BrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the rough
Re: FMS-OBS Integration

Quote:
Originally Posted by DareDad View Post
I would think that installing anything on the FMS would be, let's say, frowned upon.
That would certainly be the case in season events. Being that this is a large off-season event and everything would be done under the supervision of the FTAs, I don't see a problem. We've certainly had custom audience view software running on it before.
__________________
Brandon Dusseau (website)
Monroe Trojan Robotics mentor
Software Engineer
Michigan Tech alumnus
  #10   Spotlight this post!  
Unread 10-01-2016, 15:12
Doug Frisk's Avatar
Doug Frisk Doug Frisk is offline
Keeping Score
AKA: Doug Frisk
no team
 
Join Date: Mar 2014
Rookie Year: 2011
Location: Behind the FMS
Posts: 348
Doug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond repute
Re: FMS-OBS Integration

Quote:
Originally Posted by BrandonD-1528 View Post
That would certainly be the case in season events. Being that this is a large off-season event and everything would be done under the supervision of the FTAs, I don't see a problem. We've certainly had custom audience view software running on it before.
Well, if I were going to approach this, rather than touching the FMS I'd look into impersonating the Azure back end. Of course then you'd have to have the in-season software not the post season software that disables syncing. That way as soon as the scorekeeper hit commit you'd have updated data. It would require a bit of networking and coding legerdemain but if it were accomplished it would be transparent on the FMS itself.
  #11   Spotlight this post!  
Unread 10-01-2016, 15:13
BrandonD-1528's Avatar
BrandonD-1528 BrandonD-1528 is offline
Mentor
AKA: Brandon Dusseau
FRC #1528 (Monroe Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ann Arbor, MI
Posts: 118
BrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the rough
Re: FMS-OBS Integration

Quote:
Originally Posted by DareDad View Post
Well, if I were going to approach this, rather than touching the FMS I'd look into impersonating the Azure back end. Of course then you'd have to have the in-season software not the post season software that disables syncing. That way as soon as the scorekeeper hit commit you'd have updated data. It would require a bit of networking and coding legerdemain but if it were accomplished it would be transparent on the FMS itself.
That's an interesting idea. That wouldn't enable live score display mid-match (for the lower third) though, would it?
__________________
Brandon Dusseau (website)
Monroe Trojan Robotics mentor
Software Engineer
Michigan Tech alumnus
  #12   Spotlight this post!  
Unread 10-01-2016, 15:14
Doug Frisk's Avatar
Doug Frisk Doug Frisk is offline
Keeping Score
AKA: Doug Frisk
no team
 
Join Date: Mar 2014
Rookie Year: 2011
Location: Behind the FMS
Posts: 348
Doug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond repute
Re: FMS-OBS Integration

No.
  #13   Spotlight this post!  
Unread 10-01-2016, 15:15
BrandonD-1528's Avatar
BrandonD-1528 BrandonD-1528 is offline
Mentor
AKA: Brandon Dusseau
FRC #1528 (Monroe Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ann Arbor, MI
Posts: 118
BrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the rough
Re: FMS-OBS Integration

Also, is it at all possible to set up my own FMS environment to see how it works? I don't really know if the software has been made available.
__________________
Brandon Dusseau (website)
Monroe Trojan Robotics mentor
Software Engineer
Michigan Tech alumnus
  #14   Spotlight this post!  
Unread 10-01-2016, 15:44
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: FMS-OBS Integration

I know it is possible to get some data from the FMS (at least it was two years ago).

In 2014 we used a combination of a quasi light FMS to control the robots, with a bunch of custom software that would monitor the FMS and automatically start the custom hot goal and scoring software at the same time as the rest of the match.

My advice would be to get a copy of the off-season FMS and have a look with wireshark to see what you can get. See what packets are transmitted at match start, when you queue up a match, when you push scores etc.

You can also probably grab scores, rankings, team numbers and anything else on the standard display, as these are transmitted on the network to work with some of the audience displays.

Good Luck!
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
  #15   Spotlight this post!  
Unread 10-01-2016, 15:46
BrandonD-1528's Avatar
BrandonD-1528 BrandonD-1528 is offline
Mentor
AKA: Brandon Dusseau
FRC #1528 (Monroe Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ann Arbor, MI
Posts: 118
BrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the rough
Re: FMS-OBS Integration

Quote:
Originally Posted by timytamy View Post
You can also probably grab scores, rankings, team numbers and anything else on the standard display, as these are transmitted on the network to work with some of the audience displays.
That information is immensely helpful, thank you. Do you happen to know how I can get my hands on the off-season FMS?
__________________
Brandon Dusseau (website)
Monroe Trojan Robotics mentor
Software Engineer
Michigan Tech alumnus
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 01:06.

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