Go to Post A robot that can't move isn't a robot. It's just furniture. - John Neun [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-10-2008, 21:53
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,131
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
Sundial, Open-Sourced

With the stricter restrictions on wireless networks that FIRST put into place last season, and which no doubt will be in force in 2009 because of the new Wi-Fi-based control system, Sundial hasn't seen a lot of action lately. So, in the hope that someone will find a use for it (offseasons, maybe?), I'm releasing the source code under the BSD license; the source can be found here. For the curious, Sundial is written in PHP with a MySQL database for storing the event data.

For those of you who aren't familiar with Sundial, it's a system I wrote a few years ago to disseminate match information to teams at FRC events. Teams connect to Sundial's wireless network, navigate to a web page, log in with their team number, and are presented with a display of information about upcoming and past matches, including a live field status and countdown to the next match, the full match schedule, and, when we were lucky enough to have a feed from FIRST's scoring computer, live results and standings. Sundial was offered as a service at a few events in 2004 and 2005, and many regionals and the Championship in 2006 and 2007.

The live results and standings component has been taken out of the open-source release, due to the extreme unlikelihood of being able to get data directly from the scoring computer in the future, and due also to the undesirable possibility of error that human entry of the data would introduce. However, I've been working on a Python port of Sundial to Google App Engine that will run on the internet and scrape results and standings from the FIRST web page (half-working preview here). It has the features of the PHP release of Sundial plus live results and standings, and can be used by people watching regionals at home, or even by teams at the several regional venues that already have wireless internet (and it'll be open-sourced too). Stay tuned for the release of SundialWeb at the beginning of competition season 2009.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
Reply With Quote
  #2   Spotlight this post!  
Unread 26-10-2008, 16:39
kmitchell kmitchell is offline
Registered User
no team
 
Join Date: Sep 2008
Location: San Jose, CA
Posts: 21
kmitchell is an unknown quantity at this point
Re: Sundial, Open-Sourced

Patrick,

This is excellent news! We just used your system at CalGames 2008 yesterday. Steve Dakin (a SW engineer from Adobe) and I did in fact add manual match results entry (including editing if there is a data entry error) and also calculation of standings based on match results. We found a bug in our standings calculations but as soon as we get that debugged we'll send you the code. We made very few changes to your files so it should be very easy to integrate if you wish to do so.

Thanks again,
Ken
Reply With Quote
  #3   Spotlight this post!  
Unread 26-10-2008, 19:41
Greg Marra's Avatar Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
no team (The Blue Alliance)
Team Role: RoboCoach
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: Sundial, Open-Sourced

I think this is very awesome. There is very little point in the software that people develop to help FIRST teams being closed sourced, and open sourcing it only help those involved with FIRST learn more about software development and web technologies. When the port of The Blue Alliance to CakePHP is complete, we will open source the code in hopes the community can help improve it.

Bravo, Pat!
__________________
Formerly Bobcat Robotics - Team 177 and X-Factor - Team 2124, now The Blue Alliance
Reply With Quote
  #4   Spotlight this post!  
Unread 10-03-2010, 20:47
bhsrobotics1671's Avatar
bhsrobotics1671 bhsrobotics1671 is offline
Andrew Nabors
AKA: Andrew Nabors
FRC #1671 (Buchanan Bird Brains)
Team Role: Coach
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Clovis, CA
Posts: 282
bhsrobotics1671 is a splendid one to beholdbhsrobotics1671 is a splendid one to beholdbhsrobotics1671 is a splendid one to beholdbhsrobotics1671 is a splendid one to beholdbhsrobotics1671 is a splendid one to beholdbhsrobotics1671 is a splendid one to beholdbhsrobotics1671 is a splendid one to behold
Re: Sundial, Open-Sourced

Has there been any updates? Team 1671 has been using the software every year on a monitor in our pit to help keep out pit crew on time, and to let our drive team know who is in the next match. Has anyone developed anything similar? It would be interesting to see something connected to the twitter feed (yes i know that requires a web connection, but I am just saying).

We will continue to use the open-source provided in the papers.
__________________
Buchanan Bird Brains - FRC Team 1671
2015 FIRST World Champions
118, 1678, 1671, 5012
Reply With Quote
  #5   Spotlight this post!  
Unread 11-03-2010, 05:47
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,131
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: Sundial, Open-Sourced

I haven't updated Sundial since I open-sourced it, since I haven't been able to run it at a competition since Championship 2007. If there's interest, though, I could set up a public SVN for it so anyone could make improvements.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
Reply With Quote
  #6   Spotlight this post!  
Unread 11-03-2010, 09:52
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: Sundial, Open-Sourced

The local Canadian teams miss Sundial... we got used to having it at GTR and Waterloo!
Reply With Quote
  #7   Spotlight this post!  
Unread 11-03-2010, 10:35
nuggetsyl's Avatar
nuggetsyl nuggetsyl is offline
Registered User
FRC #0025
Team Role: Coach
 
Join Date: Sep 2001
Location: north brunswick
Posts: 869
nuggetsyl has a reputation beyond reputenuggetsyl has a reputation beyond reputenuggetsyl has a reputation beyond reputenuggetsyl has a reputation beyond reputenuggetsyl has a reputation beyond reputenuggetsyl has a reputation beyond reputenuggetsyl has a reputation beyond reputenuggetsyl has a reputation beyond reputenuggetsyl has a reputation beyond reputenuggetsyl has a reputation beyond reputenuggetsyl has a reputation beyond repute
Re: Sundial, Open-Sourced

I think we should make a push to first to make sundial available to all teams at every regional. This program will only help with getting teams lined up for matches on time and promote programmers to program on things beyond the robot (aka great side project in off season). Can you add a poll to this thread to see if teams want to see sundial at regionals?
__________________
00,12Championship winner
03,06,08 Championship finalist
02A,03C,06N,08C,11N,12G Division winner
00,03,06,07,08,10,12 NJ / MAR winner
11 VCU winner
06,10 Las Vegas winner
12 MAR Mt Olive
red is for team 348
Reply With Quote
  #8   Spotlight this post!  
Unread 11-03-2010, 13:12
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: Sundial, Open-Sourced

FIRST should adopt Sundial or a similar system and provide it at events. Its not like it is difficult, costly, or technically involved to run.
Reply With Quote
  #9   Spotlight this post!  
Unread 11-03-2010, 14:50
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: Sundial, Open-Sourced

Quote:
Originally Posted by 1075guy View Post
FIRST should adopt Sundial or a similar system and provide it at events. Its not like it is difficult, costly, or technically involved to run.
This is true, however, it does require a volunteer to set this up and run it. The way I think it would work is if FIRST would let a team member set it up at competitions. That way, teams would be responsible for running it. The only thing FIRST might need to do is allow that particular team to run that wireless.
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
Reply With Quote
  #10   Spotlight this post!  
Unread 11-03-2010, 14:57
Eugene Fang's Avatar
Eugene Fang Eugene Fang is offline
The Blue Alliance
no team
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Bay Area, CA -> Pittsburgh, PA
Posts: 764
Eugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond repute
Re: Sundial, Open-Sourced

Quote:
Originally Posted by Bharat Nain View Post
This is true, however, it does require a volunteer to set this up and run it. The way I think it would work is if FIRST would let a team member set it up at competitions. That way, teams would be responsible for running it. The only thing FIRST might need to do is allow that particular team to run that wireless.
Agreed. Sundial was an amazing system and I'd really like to see it return. I forget, what are the wifi restrictions at Atlanta, since the fields are so far away?
__________________
Eugene Fang
2010 Silicon Valley Regional Dean's List Finalist

Various FLL Teams - Student (2000-2006), Mentor (2007-2010)
FRC Team 604 - Student (2007-2010), Mentor/Remote Advisor (2011-2015)
FRC Team 1323 - Mentor/Remote Advisor (2011-2014)

The Blue Alliance | TBA GameDay | TBA Android App
Reply With Quote
  #11   Spotlight this post!  
Unread 11-03-2010, 15:21
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: Sundial, Open-Sourced

Quote:
Originally Posted by EugeneF View Post
Agreed. Sundial was an amazing system and I'd really like to see it return. I forget, what are the wifi restrictions at Atlanta, since the fields are so far away?
It is the same as every regional. I would suggest emailing FIRST team support and see what they can do. If not, I hear well-reasoned petitions work very well.
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
Reply With Quote
  #12   Spotlight this post!  
Unread 11-03-2010, 16:01
bhsrobotics1671's Avatar
bhsrobotics1671 bhsrobotics1671 is offline
Andrew Nabors
AKA: Andrew Nabors
FRC #1671 (Buchanan Bird Brains)
Team Role: Coach
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Clovis, CA
Posts: 282
bhsrobotics1671 is a splendid one to beholdbhsrobotics1671 is a splendid one to beholdbhsrobotics1671 is a splendid one to beholdbhsrobotics1671 is a splendid one to beholdbhsrobotics1671 is a splendid one to beholdbhsrobotics1671 is a splendid one to beholdbhsrobotics1671 is a splendid one to behold
Re: Sundial, Open-Sourced

Yeah we usually set it up just for ourselves in the pit but a lot of teams walk by and see it on our big monitor and asked where we got it, then we have to tell them that we can't share

I just downloaded and set it up last night on my computer to get ready for our team at the Long Beach regional.
__________________
Buchanan Bird Brains - FRC Team 1671
2015 FIRST World Champions
118, 1678, 1671, 5012
Reply With Quote
  #13   Spotlight this post!  
Unread 11-03-2010, 17:14
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
Re: Sundial, Open-Sourced

Seems like a really neat system. What ever happened to getting data from the field?

'Twould be nice if they could do that again. They already publish match videos and push match results to Twitter, why not have a local network?

-Tanner
Reply With Quote
  #14   Spotlight this post!  
Unread 11-03-2010, 19:44
CraigHickman
 
Posts: n/a
Re: Sundial, Open-Sourced

Google offers public SVN repos for any group willing to allow the source to be public. Might it be possible to get people going on this? It really would be a valuable addition to the regionals.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sundial Feedback 2007 Pat Fairbank General Forum 36 22-02-2008 09:21
Team 166 Has Open Sourced Its Code platypus Programming 13 09-02-2008 16:03
sundial nuggetsyl General Forum 0 19-01-2008 19:15
Sundial neo General Forum 3 27-02-2007 15:15
Sundial - Feedback Requested, Please Pat Fairbank General Forum 39 03-05-2006 20:51


All times are GMT -5. The time now is 21: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