Go to Post I love how the people of Chief Delphi can turn a spam post into a somewhat non-timewasting thread. Either way, congrats CD and thanks for this ;) - logank013 [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 09-09-2014, 19:40
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: Team 254 Presents: Cheesy Arena

This is amazing (sounds like a broken record, but totally deserved).

Question. When you say "Automatic download of recent accomplishments (needs better TBA API)" in the TODO page, what enhancements are you looking for in the TBA API? I'd be willing to help add them.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #2   Spotlight this post!  
Unread 09-09-2014, 19:59
Pat Fairbank's Avatar
Pat Fairbank Pat Fairbank is offline
Circuit Breaker
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2001
Location: San Jose, CA
Posts: 2,132
Pat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond repute
Send a message via MSN to Pat Fairbank
Re: Team 254 Presents: Cheesy Arena

Quote:
Originally Posted by plnyyanks View Post
Question. When you say "Automatic download of recent accomplishments (needs better TBA API)" in the TODO page, what enhancements are you looking for in the TBA API? I'd be willing to help add them.
Thanks for offering to help. The issue is that there isn't really an easy way to get the awards for all of the teams attending an event. My understanding is that I'd have to:
  1. Make an Event Request to get the list of teams for my event
  2. For each team, make one or more Team Events Requests to find out what events they went to recently
  3. For each team and event, make a Team Event Awards Request to get the list of awards the team won
That's probably well over 100 requests for a medium-sized event.

What I want to end up with is a list of awards won by the teams attending my event in the current season and the previous, grouped by team. To get this, I'd prefer to make a number of API calls that is O(1) with respect to the number of teams and the events they have each gone to.

Does that make sense?
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
Reply With Quote
  #3   Spotlight this post!  
Unread 09-09-2014, 23:46
DCA Fan's Avatar
DCA Fan DCA Fan is offline
FRC 812/3476 Mentor
AKA: George
FRC #0812 (Midnight Mechanics)
Team Role: Mentor
 
Join Date: Apr 2003
Rookie Year: 2002
Location: Manhattan Beach,CA
Posts: 1,073
DCA Fan has a reputation beyond reputeDCA Fan has a reputation beyond reputeDCA Fan has a reputation beyond reputeDCA Fan has a reputation beyond reputeDCA Fan has a reputation beyond reputeDCA Fan has a reputation beyond reputeDCA Fan has a reputation beyond reputeDCA Fan has a reputation beyond reputeDCA Fan has a reputation beyond reputeDCA Fan has a reputation beyond reputeDCA Fan has a reputation beyond repute
Re: Team 254 Presents: Cheesy Arena

Thank you for releasing this! Very happy to try this out.
__________________
2016 FRC Orange County Regional Co-Chair, FRC San Diego Emcee, FRC Ventura Emcee, Vex Worlds Emcee
2015 FRC Emcee: Inland Empire, San Diego, World Championship. VRC Emcee World Championship
2013-2016 FLL Judge Advisor, Southern California/Legoland


2001-2005 FRC294 Beach Cities Robotics
2005-Present FRC812 Midnight Mechanics
2012, 2014 FRC3476 Code Orange
2003-Present Volunteer, FRC/FTC/FLL/VRC

NEMO | San Diego Regional | Orange County Regional | FIRST California
Reply With Quote
  #4   Spotlight this post!  
Unread 10-09-2014, 00:29
Zach O's Avatar
Zach O Zach O is offline
Building an iOS app @ glacial speed
AKA: @FRCZach
no team
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Atlanta, GA
Posts: 512
Zach O has a reputation beyond reputeZach O has a reputation beyond reputeZach O has a reputation beyond reputeZach O has a reputation beyond reputeZach O has a reputation beyond reputeZach O has a reputation beyond reputeZach O has a reputation beyond reputeZach O has a reputation beyond reputeZach O has a reputation beyond reputeZach O has a reputation beyond reputeZach O has a reputation beyond repute
Re: Team 254 Presents: Cheesy Arena

Very impressive! Huge thank you to everyone involved. Great to see it's written in Go as well
__________________
Follow me twitter dot com slash frc zach
Reply With Quote
  #5   Spotlight this post!  
Unread 10-09-2014, 10:28
Andrew Schreiber Andrew Schreiber is offline
Data Nerd
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,057
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Team 254 Presents: Cheesy Arena

Quote:
Originally Posted by Zach O View Post
Very impressive! Huge thank you to everyone involved. Great to see it's written in Go as well
Given my boss is making a push to use Go in our code base...

Pat, how'd you like implementing a real web service in Go? Any things you found worked well and things that didn't?
__________________




.
Reply With Quote
  #6   Spotlight this post!  
Unread 10-09-2014, 11:25
Libby K's Avatar
Libby K Libby K is offline
Always a MidKnight Inventor.
FRC #1923 (The MidKnight Inventors)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 1992
Location: West Windsor, NJ
Posts: 1,579
Libby K has a reputation beyond reputeLibby K has a reputation beyond reputeLibby K has a reputation beyond reputeLibby K has a reputation beyond reputeLibby K has a reputation beyond reputeLibby K has a reputation beyond reputeLibby K has a reputation beyond reputeLibby K has a reputation beyond reputeLibby K has a reputation beyond reputeLibby K has a reputation beyond reputeLibby K has a reputation beyond repute
Re: Team 254 Presents: Cheesy Arena

This is absolutely fantastic. I'm not a programmer by any means, but I can tell that a ton of effort went into this, and even just from the CC webcast, it looked incredible.

Thank you for working so hard on this and for sharing it with the community. I really hope some of the pieces of Cheesy Arena transition into meaningful changes to the systems used in regulation competition.
__________________
Libby Kamen
Team 1923: The MidKnight Inventors
2006-2009: Founder, Captain, Operator, Regional Champion.
2010-Always: Proud Alumni, Mentor & Drive Coach. 2015 Woodie Flowers Finalist Award.

-
229: Division By Zero / 4124: Integration by Parts
2010-2013: Clarkson University Mentor for FLL, FTC & FRC

-
FIRST Partner Associate, United Therapeutics
#TeamUnither | facebook, twitter & instagram | @unitherFIRST

-
questions? comments? concerns? | twitter: @libbyk | about.me/libbykamen
Reply With Quote
  #7   Spotlight this post!  
Unread 10-09-2014, 13:54
Nick Lawrence's Avatar
Nick Lawrence Nick Lawrence is offline
Commander Canada
FRC #3940 (CyberTooth, AndyMark)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2005
Location: Kokomo, IN
Posts: 712
Nick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond repute
Re: Team 254 Presents: Cheesy Arena

It seems that every couple years you earn a giant cookie. Great work, Pat!

-Nick
__________________


Alumnus of 1503 Spartonics
Founding Mentor of 5406 Celt-X
Mechanical Design Mentor of 3940 CyberTooth
Emceeing events since 2013 - come say hi!

Success doesn't always equate to match wins. It's about the wins off the field.
Reply With Quote
  #8   Spotlight this post!  
Unread 10-09-2014, 18:38
Puneet4778's Avatar
Puneet4778 Puneet4778 is offline
Team Captain
FRC #4778 (The Stormbots)
Team Role: Leadership
 
Join Date: May 2014
Rookie Year: 2012
Location: Chanhassen, Minnesota
Posts: 30
Puneet4778 is an unknown quantity at this point
Re: Team 254 Presents: Cheesy Arena

Wow, looks great! I have one question: What is the protocol for feeding video to the audience display? This is my team's first time setting up any kind of fms software and we are unaware.

Thanks!
__________________
Team 4778: The Stormbots
2015
Minnesota State Championship - 3rd Place
North Star Regional - Quarterfinalists
2014
Minnesota State Championship - Winner (Thanks 2175 and 2052)
Archimedes Division - Participant
North Star Regional - Winner (Thanks 2177 and 3042)
Reply With Quote
  #9   Spotlight this post!  
Unread 10-09-2014, 18:45
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is online now
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,549
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: Team 254 Presents: Cheesy Arena

Quote:
Originally Posted by Puneet4778 View Post
Wow, looks great! I have one question: What is the protocol for feeding video to the audience display? This is my team's first time setting up any kind of fms software and we are unaware.

Thanks!
In addition, is there a document that outlines all the hardware used at Chezy Champs? How many computers, router, etc.?

Thanks again for all the hard work.
__________________

Team 647 | Cyber Wolf Corps | Alumni | 2003-2006 | Shoemaker HS
Team 2587 | DiscoBots | Mentor | 2008-2011 | Rice University / Houston Food Bank
Team 3847 | Spectrum | Coach | 2012-20... | St Agnes Academy
LRI | Alamo Regional | 2014-20...
"Competition has been shown to be useful up to a certain point and no further, but cooperation, which is the thing we must strive for today, begins where competition leaves off." - Franklin D. Roosevelt
Reply With Quote
  #10   Spotlight this post!  
Unread 10-09-2014, 18:51
mrscience21's Avatar
mrscience21 mrscience21 is offline
Joe Sandoval
AKA: Joe S.
FRC #3859 (Wolfpack Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Elk Grove, CA
Posts: 14
mrscience21 is an unknown quantity at this point
Re: Team 254 Presents: Cheesy Arena

Is there any documentation as to the network interface used to control the pedestal and hot goal lights?
__________________
Joe Sandoval
Wolfpack Robotics FIRST Team 3859
Department of Programming and Electrical Engineering


Reply With Quote
  #11   Spotlight this post!  
Unread 10-09-2014, 19:28
Pat Fairbank's Avatar
Pat Fairbank Pat Fairbank is offline
Circuit Breaker
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2001
Location: San Jose, CA
Posts: 2,132
Pat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond repute
Send a message via MSN to Pat Fairbank
Re: Team 254 Presents: Cheesy Arena

Quote:
Originally Posted by Puneet4778 View Post
What is the protocol for feeding video to the audience display? This is my team's first time setting up any kind of fms software and we are unaware.
The audience display renders the overlays on a green background (or a color of your choosing). You would then need to connect the output of this to a video mixer capable of chroma keying, to superimpose it on your video. You can use a hardware or software video mixer (such as Open Broadaster) for this.

Quote:
Originally Posted by AllenGregoryIV View Post
In addition, is there a document that outlines all the hardware used at Chezy Champs? How many computers, router, etc.?
We used one computer to run Cheesy Arena, and then one for each additional display (audience, FTA, announcer, red scoring, blue scoring, referee, red alliance stations, blue alliance stations). This page describes our networking setup, but most events can get away with a lot less.

Quote:
Originally Posted by mrscience21 View Post
Is there any documentation as to the network interface used to control the pedestal and hot goal lights?
We built some custom hardware (an embedded microcontroller board plus an LED driver board) into a project box and put one at each end of the field. We'll post the specifications for that on GitHub once the guys who worked on it finish documenting it. The communication was UDP over Ethernet -- just a plain 32-byte packet containing RGB and transition time values for each of eight channels.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
Reply With Quote
  #12   Spotlight this post!  
Unread 10-09-2014, 19:41
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is online now
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,549
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: Team 254 Presents: Cheesy Arena

Thanks for the description.

Quote:
Originally Posted by Pat Fairbank View Post
We used one computer to run Cheesy Arena, and then one for each additional display (audience, FTA, announcer, red scoring, blue scoring, referee, red alliance stations, blue alliance stations). This page describes our networking setup, but most events can get away with a lot less.
One PC at each of the 6 alliance stations?
__________________

Team 647 | Cyber Wolf Corps | Alumni | 2003-2006 | Shoemaker HS
Team 2587 | DiscoBots | Mentor | 2008-2011 | Rice University / Houston Food Bank
Team 3847 | Spectrum | Coach | 2012-20... | St Agnes Academy
LRI | Alamo Regional | 2014-20...
"Competition has been shown to be useful up to a certain point and no further, but cooperation, which is the thing we must strive for today, begins where competition leaves off." - Franklin D. Roosevelt
Reply With Quote
  #13   Spotlight this post!  
Unread 10-09-2014, 19:45
NickE's Avatar
NickE NickE is offline
_
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: San Jose, CA
Posts: 620
NickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond repute
Re: Team 254 Presents: Cheesy Arena

Quote:
Originally Posted by AllenGregoryIV View Post
One PC at each of the 6 alliance stations?
One at each end of the field connected to 3 USB monitors each.
Reply With Quote
  #14   Spotlight this post!  
Unread 10-09-2014, 15:01
Pat Fairbank's Avatar
Pat Fairbank Pat Fairbank is offline
Circuit Breaker
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2001
Location: San Jose, CA
Posts: 2,132
Pat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond repute
Send a message via MSN to Pat Fairbank
Re: Team 254 Presents: Cheesy Arena

Quote:
Originally Posted by Andrew Schreiber View Post
Pat, how'd you like implementing a real web service in Go? Any things you found worked well and things that didn't?
It was an amazing experience. Go is very well suited to this sort of thing -- HTTP handling is built in and easy, network communication is a breeze, and performance is awesome (Cheesy Arena uses only 1-2% of the CPU even when running a match). Built-in unit testing and single-binary deployment are also huge plusses.

This was the first project I've used Go for so I struggled a lot with the non-object-orientedness and how to organize the code and minimize repetition. The final result isn't ideal and I need to keep working on it -- all the code is in the same "main" package, there's a lot of shared global variables, and the WebSocket handlers are more repetitive than I'd like.

Overall, though, I'd highly recommend Go for any web service work.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
Reply With Quote
  #15   Spotlight this post!  
Unread 10-09-2014, 15:30
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,350
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Team 254 Presents: Cheesy Arena

Quote:
Originally Posted by Pat Fairbank View Post
... The final result isn't ideal and I need to keep working on it -- all the code is in the same "main" package, there's a lot of shared global variables, and the WebSocket handlers are more repetitive than I'd like....

According to the "What programmers say vs. what they mean" translation table below, I believe the expression you are looking for is "It's a 'Complex structure'".



All kidding aside, we look forward to using Cheesy Arena at CCC next weekend. Let's hope we can use it as skillfully as it was used at CC.

Thanks again Pat, and your team, for making this and sharing it!
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
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 23:52.

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