Go to Post For the love of God,please post the hint. We're starting to lose control. - johnr [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-01-2014, 14:05
lucas.alvarez96's Avatar
lucas.alvarez96 lucas.alvarez96 is offline
Registered User
AKA: Lucas Alvarez
FRC #2576 (Chilean Heart)
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Chile
Posts: 119
lucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to all
Web lights during competition

Does anybody know if there's a Web API of sorts for FRC? One of our team members managed to get hold of some LED panels, and we wanted to program a script to get our current team match from the web and, using 7 side by side panels, display the match participants. The idea is to hang the panels in the pits, and surround them by RGB LEDs that lit up red or blue depending on the alliance color.

P.S. Would it be legal using a 3G or 4G connection within the pits? The rules only refer to the arena, but better safe than sorry!

Thanks in advance
  #2   Spotlight this post!  
Unread 26-01-2014, 14:08
Whippet's Avatar
Whippet Whippet is offline
MIT Class of 2020
AKA: Luis Trueba
FRC #4301 (New Tech Narcissists)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cambridge, MA
Posts: 1,187
Whippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond repute
Send a message via Yahoo to Whippet
Re: Web lights during competition

I believe that you can draw from the FMS twitter feed to retrieve the teams in the matches. No idea how to program that, though.
__________________
2010: FRC 3043, Build Assistant
2011: FRC 3043, Head of Minibot subteam; FLL 12762, Team Captain
2012: FRC 3043, Electrical; FLL 12762, Team Captain; FTC 5670, Team Captain
2013: FRC 4301, Electrical, Team Co-Captain
2014: FRC 4301, Electrical/Programming, Team Co-Captain
2015: FRC 4301, Electrical/Programming, Team Captain
2016: FRC 4301, Chief Technical Officer; FTC 10860, 10861, and 11004: Mentor. Winner, Hub City Regional (3310 & 4063)
  #3   Spotlight this post!  
Unread 26-01-2014, 14:23
darkorbit's Avatar
darkorbit darkorbit is offline
Electrical?!
AKA: Jin Lem
FRC #0069 (HYPER ROBOTICS)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Quincy, MA
Posts: 57
darkorbit is a name known to alldarkorbit is a name known to alldarkorbit is a name known to alldarkorbit is a name known to alldarkorbit is a name known to alldarkorbit is a name known to all
Re: Web lights during competition

Quote:
Originally Posted by lucas.alvarez96 View Post
Does anybody know if there's a Web API of sorts for FRC? One of our team members managed to get hold of some LED panels, and we wanted to program a script to get our current team match from the web and, using 7 side by side panels, display the match participants. The idea is to hang the panels in the pits, and surround them by RGB LEDs that lit up red or blue depending on the alliance color.

P.S. Would it be legal using a 3G or 4G connection within the pits? The rules only refer to the arena, but better safe than sorry!

Thanks in advance
Concluding to the Game Manual Section 5.5.1 Safety and Security Rules
Quote:
T4
Teams may not set up their own 802.11a/b/g/n/ac (2.4GHz or 5GHz) wireless communication (e.g. access points or ad-hoc networks) in the venue.


A wireless hot spot created by a cellular device is considered an access point.
However if you tether to your phone via a usb cable, you maybe ok. As for WEB API, I don't believe there is one for people to use.
__________________


2007 BOSTON REGIONAL WINNERS (NU-HYPER-FORCE)
2008 Florida Regional 2nd Place
  #4   Spotlight this post!  
Unread 26-01-2014, 15:01
lucas.alvarez96's Avatar
lucas.alvarez96 lucas.alvarez96 is offline
Registered User
AKA: Lucas Alvarez
FRC #2576 (Chilean Heart)
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Chile
Posts: 119
lucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to all
Re: Web lights during competition

Great, thanks for the info! I might just connect an OTG enabled phone with an arduino to control the lights and run an online script.
  #5   Spotlight this post!  
Unread 27-01-2014, 00:05
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: Web lights during competition

You can make a FB/Twitter feed reader in PHP. That could gather the data continuously and process it. Make sure you get a VPS to do it. $~5/month will be cheaper than a $100 bill for overusing your data plan!

You could have the PHP program communicate with a C program to communicate with the Arduino. That Arduino could display the stuff, or you could just use a computer monitor!

Even better would be to have a person in the stands, feeding the data into the sytem. A 900MHz transmitter could connect the stands to the pits! That way, you are away from both 2.4 and 5GHz and the games will continue to run without problems!
  #6   Spotlight this post!  
Unread 27-01-2014, 00:26
Tommy F.'s Avatar
Tommy F. Tommy F. is offline
Yeah! Collages!
AKA: 7h0m45
FRC #1985 (Robohawks)
Team Role: Alumni
 
Join Date: Mar 2011
Rookie Year: 2010
Location: St. Louis, MO
Posts: 188
Tommy F. is just really niceTommy F. is just really niceTommy F. is just really niceTommy F. is just really nice
Re: Web lights during competition

You can get to the match schedule for your event pretty easily with frclinks.com, so I would just pull the schedule once from there, and then save it as a file your script could read.
__________________

FTC 289, 290 & 291 :: FRC 1985

2013 St. Louis Regional Semi-Finalist (with 3411 and 4330), Industrial Design Award
2013 Queen City Regional Winner (with 379 and 447)

  #7   Spotlight this post!  
Unread 27-01-2014, 00:42
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Web lights during competition

Try https://github.com/gregmarra/the-blu...-Documentation
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
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 02:32.

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