Go to Post That's some sexy use of aluminium - Bharat Nain [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 25-04-2011, 09:58
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: Please open source your code!

We have a really nice autonomous that we will probably be using again next year (doesn't matter the game it will work) so we have to post it somewhere. I'll talk to our other programer and see if he wants to post all our code somewhere. We've been working on a Library of our own VIs that will eventually get posted on our Website.
  #2   Spotlight this post!  
Unread 25-04-2011, 10:37
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Please open source your code!

Quote:
Originally Posted by kgzak View Post
We have a really nice autonomous that we will probably be using again next year (doesn't matter the game it will work) so we have to post it somewhere. I'll talk to our other programer and see if he wants to post all our code somewhere. We've been working on a Library of our own VIs that will eventually get posted on our Website.
How strict is this open source rule? Would you get penalized for essentially writing a previous years code? (ie; same task, written differently)
And how would a team that uses the default code every year end up?

All that being said, 3266's code is extremely messy, but I'll release it how we used it at Buckeye. Maybe I'll put up a cleaner version along side it, just so you guys won't associate me as the kid who writes nested ifs EVERYWHERE!
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
  #3   Spotlight this post!  
Unread 25-04-2011, 11:35
imac256 imac256 is offline
Registered User
AKA: Ian McInerney
FRC #2022 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2009
Rookie Year: 2009
Location: Aurora, IL
Posts: 30
imac256 is a glorious beacon of lightimac256 is a glorious beacon of lightimac256 is a glorious beacon of lightimac256 is a glorious beacon of lightimac256 is a glorious beacon of light
Re: Please open source your code!

Quote:
Originally Posted by Robby Unruh View Post
How strict is this open source rule? Would you get penalized for essentially writing a previous years code? (ie; same task, written differently)
And how would a team that uses the default code every year end up?
In my interpretation of the rule, as long as the code you are using is available for other FRC teams to use the rule is satisfied. Therefore open-sourcing a library which you developed this year would allow you to use it in future years (at least that is how my team has understood the rules).

My team has placed all of our code and documentation into one place located here: http://tinyurl.com/frc2022docs. This site contains all of our code since our founding in 2007 under the area called "Programming Documents" and it contains our documentation area which we are in the process of creating. We saw a need for the documentation from year to year because releasing the code isn't enough to teach people how to program it, so we are creating little tutorials to help with that.
__________________
- Ian McInerney
Alumni & Mentor, Team 2022 Titan Robotics
Junior, Iowa State University majoring in Electrical Engineering
  #4   Spotlight this post!  
Unread 25-04-2011, 12:38
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Re: Please open source your code!

My team only has our past code from the last three years, and it's only REALLY organized for the last two. We always believed it meant what imac thought.
__________________


GSR Dean's List Finalist 2011
  #5   Spotlight this post!  
Unread 01-05-2011, 21:25
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Please open source your code!

3266's code for the (in-dev) offseason can be found here: http://code.google.com/p/frc3266/

No use releasing our competition code, since this is pretty much an overhaul of that.
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
  #6   Spotlight this post!  
Unread 03-05-2011, 12:27
Patrickwhite's Avatar
Patrickwhite Patrickwhite is offline
May the North be with you
FRC #0610 (The Coyotes)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 88
Patrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of light
Re: Please open source your code!

610's code (we use Java) is available on Google code. Note that it is not yet complete - the code we have changed since competition has not yet been uploaded - programmers need breaks too.

Our scouting system is written in PHP, and contains:
- The scouting form
- Access to the database as both HTML and Excel (.csv) tables
- Pick list assistant
- Easy access to stats for six teams (for match planning)
- A page for entering comments on robots, as well as the ability to flag a team as one that we do not work well with

It's currently not open source, but as soon as I finish explaining to one of our heads the important of open sourcing code, it will be.
I mention this because programming a robot is not that special - every team in FIRST does it. What we can learn from looking at someone else's code is not that extensive. However, everyone's scouting implentation (if it exists at all) will be completely different, and what can be learned from looking at that CAN be extensive.
__________________
while(!going.isTough());
tough.exit();

What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
  #7   Spotlight this post!  
Unread 03-05-2011, 15:45
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is offline
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,551
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: Please open source your code!

The DiscoBots have opened sourced our code for last two years.

It can be found here on Google Code - http://code.google.com/p/discobots/

We program in Java for FIRST and RobotC for VEX.
__________________

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
  #8   Spotlight this post!  
Unread 26-04-2011, 00:13
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: Please open source your code!

Quote:
Originally Posted by Robby Unruh View Post
How strict is this open source rule? Would you get penalized for essentially writing a previous years code? (ie; same task, written differently)
And how would a team that uses the default code every year end up?

All that being said, 3266's code is extremely messy, but I'll release it how we used it at Buckeye. Maybe I'll put up a cleaner version along side it, just so you guys won't associate me as the kid who writes nested ifs EVERYWHERE!
I read the rule as if it is publicly available to every other team (hosted on a web site) then you can use the exact same code...that's what we plan on doing. seeing as how we will have one experienced programmer next year, it should help him out a lot. I have been our main programmer, along with one other kid, and our main mentor for software was my dad (I taught him LabView basics, then we both leaned together). The Library should help seeing as I won't be anywhere close so I can help, the other programers will at least have starting blocks.
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 03:41.

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