Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Please open source your code! (http://www.chiefdelphi.com/forums/showthread.php?t=94770)

demosthenes2k8 25-04-2011 12:38

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.

kgzak 26-04-2011 00:13

Re: Please open source your code!
 
Quote:

Originally Posted by Robby Unruh (Post 1056341)
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? :p

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.

LukeS 29-04-2011 00:34

Re: Please open source your code!
 
FRC 1024's code since 2009 is at http://lukeshu.ath.cx/1/FRC/hg/ (well, actually the 2009 code is a Java port of the original LabVIEW code, it's missing autonomous (which wasn't worth porting anyway), and traction control). All of it is Java. 2009 code is GPLv2+, after that it's 3-clause BSD. In 2010-11, there is a .hardware package withing the main package. While largely hardware specific to our robot, there's some generic stuff (some encoder stuff, some IR stuff, some PID stuff). Also, in the 2011 code is an experimental plug-n-play CAN driver, which is nifty, but has not been tested.

I've got the C code from several years before that, but there are a few source files that say they can't be publicly redistributed. One of these days I'll audit them or whatever, and throw them up. If you want to see it, I can send you a private copy, PM me or something.

Robby Unruh 01-05-2011 21:25

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.

Patrickwhite 03-05-2011 12:27

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.

AllenGregoryIV 03-05-2011 15:45

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.


All times are GMT -5. The time now is 23:29.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi