Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Open-source FRC code (http://www.chiefdelphi.com/forums/showthread.php?t=60402)

JBotAlan 26-12-2007 23:30

Open-source FRC code
 
I think more and more often that once the season is finished, I am going to release my custom-made source under an open-source license. I honestly don't see any disadvantages to this; doing so would only encourage others to learn by example. Yes, it would provide drop-in files for different systems, but I don't even believe using code written before the year's build season is FRC-legal.

So I am debating whether or not to use the GPL, or to come up with a license that basically says "Do not use this code in its entirety on a robot; use it as a reference only". I'm leaning towards GPL; but I'd like to hear other opinions.

-I would only do this once the season is finished--I don't believe we are mature enough to get complete blueprints for the competition's machine before ship date...that just seems like it would promote cheating. Maybe someday we can have truly open-source robots, but I don't think that day has come yet.
-I realize I will not be able to relicense any of IFI's stuff, or any of Kevin Watson's stuff. My intent is not to release an entire MPLAB project, but rather just a few files of which I have written from scratch.

So, I'd like to hear your comments.
JBot

fimmel 26-12-2007 23:40

Re: Open-source FRC code
 
i like the idea :)

is there a website that you can put code like this for FIRST? if not im willing to make and host one also if i ever get around to learning how to do cool programming ill post mine for others to use.

...forest

JBotAlan 26-12-2007 23:47

Re: Open-source FRC code
 
I seem to remember seeing a site for this specific purpose, but Google is unable to find it, so it must not exist (just kidding...).

I know that I will be hosting code of my own off our team website (http://www.trucktownthunder.com/). That just seems the logical place for it. I just don't have the free time to put together a PHP system for uploading files, creating tutorials...I'm imagining something along the lines of CD-Media, except much more souped-up and targeted at programmers.

Just throwing out ideas at this point.
JBot

fimmel 27-12-2007 00:11

Re: Open-source FRC code
 
id be willing to make a site for this purpose if people will use it. i just need a list of things that would be useful on it so i can lay it out properly. then its the fun part of coding it.

..forest

EricVanWyk 27-12-2007 00:23

Re: Open-source FRC code
 
I know that this sort of concept has been thrown around a few times. I like the idea to the point that I believe that open sourcing your code (after the season ends) should be mandatory.

I think frCoder http://frcoder.sourceforge.net/ was the most recent. It appears to be borked right now.

When I was a student, we called it the "Codex" or some such.

AustinSchuh 27-12-2007 02:38

Re: Open-source FRC code
 
I love the idea! code.google.com seems like a good place to host your code.

Quote:

Originally Posted by JBotAlan (Post 664116)
-I realize I will not be able to relicense any of IFI's stuff, or any of Kevin Watson's stuff.

My team would also like to open source our code by putting it on code.google.com this year. During the season, we could then have svn access to our code from anywhere we have an internet connection. Currently Kevin's license is preventing us from just uploading our code. Any ideas about how to deal with this? I don't want to leave out those parts of the code, since they are just as vital to our code as what we wrote and will write.

I have found a couple of other team's code on code.google.com. The current standard seems to be to call your project team$(teamnumber) where $(teamnumber) is your team number. Ours is called team971. It is empty currently since we are still working on what to do about licenses.

JBotAlan 27-12-2007 08:47

Re: Open-source FRC code
 
Quote:

Originally Posted by AustinSchuh (Post 664145)
Currently Kevin's license is preventing us from just uploading our code. Any ideas about how to deal with this? I don't want to leave out those parts of the code, since they are just as vital to our code as what we wrote and will write.

As far as the license goes on Kevin Watson's stuff; you have 2 options: get permission to upload (probably won't happen) or don't upload it. I think the second option is your only choice; you will just need to link to Kevin's site and say something like "add KW's serial_ports.c/h to this project before compiling".

I really hope Kevin opens up his licensing a bit, but he does not want commercial use, and using the GPL would allow whatever commercial use, anywhere. We'll have to consult him on this, but it sounds like his trust has been abused, and he is not likely to relicense his stuff because of this.

Thanks for your support. I thought someone was going to shoot this down, but nobody did. Nobody even voted for anything besides "Good" on the poll...:D
JBot

keen101 27-12-2007 15:52

Re: Open-source FRC code
 
Great idea!

tajmorton 27-12-2007 16:22

Re: Open-source FRC code
 
Quote:

Originally Posted by JBotAlan (Post 664163)
I really hope Kevin opens up his licensing a bit, but he does not want commercial use, and using the GPL would allow whatever commercial use, anywhere.

There's a myriad of different open source licenses (http://opensource.org/licenses). I'm not sure if there are any that explicitly deny commercial use, but you can always modify a license and add whatever restrictions you want to it.

The GPL says that if you use GPL'd code in your software, your software must also be GPL'd. So, for a company to use your GPL'd code, they would have to open source their code as well.

The BSD license (which might be what you're thinking of?) basically says, "do what you want to with this code--but give me some credit somewhere."

There are some Creative Commons licenses which explicitly deny commercial use, but they're not recommended for source code (I'm not sure why).

Oh, the wonders of open source licensing. :-)
- Taj

Jon236 27-12-2007 17:04

Re: Open-source FRC code
 
I like the idea of open-source code. It can and will stimulate learning. While all teams need to write fresh code every year, they don't necessarily need to reinvent wheels. I think if enough 'elegant' code is posted, someone might even write a book based on it, much like 'FIRST Robots...Behind the Design' by Vince Wilczynski and Stephanie Slecycki.

EHaskins 27-12-2007 18:52

Re: Open-source FRC code
 
I personally don't like the traditional GPL license due to its viral nature.

If you're looking for a reference only license you can look at the MSRL.

EDIT: Here is an episode of Hanselminutes discussing open source licensing. If nothing else it might give you a good starting place.

JBotAlan 27-12-2007 23:33

Re: Open-source FRC code
 
Quote:

Originally Posted by EHaskins (Post 664331)
I personally don't like the traditional GPL license due to its viral nature.

That is not a pitfall here as we are trying to promote GPL'd open source free files. Not to mention this "viral nature" was written into the license...and why not? We're looking to promote software freedom. Viral is good in that case.

Quote:

Originally Posted by tajmorton (Post 664263)
The GPL says that if you use GPL'd code in your software, your software must also be GPL'd. So, for a company to use your GPL'd code, they would have to open source their code as well.

Correct, but it could still be used in a commercial product. Kevin Watson has specifically said he does not want people making profit from his code.

I still like the GPL for this.
JBot

shawger 27-12-2007 23:52

Re: Open-source FRC code
 
I'd check on the exact terms of the GPL license before you do this. I'm not sure if you can put some files under the GPL while leaving some files under Kevin's license, as the two licenses are not compatible.

I'll all for the idea though.

JBotAlan 28-12-2007 13:59

Re: Open-source FRC code
 
Quote:

Originally Posted by shawger (Post 664461)
I'd check on the exact terms of the GPL license before you do this. I'm not sure if you can put some files under the GPL while leaving some files under Kevin's license, as the two licenses are not compatible.

Since Kevin Watson has expressly stated that he does not want his files re-posted, I am not going to re-post them. It is perfectly fine to GPL my portions of the project. I am also not re-posting IFI-written code as they still hold the copyright whether or not they choose to enforce it. If this project takes off, I am going to make it very clear that people can only license what they own, and nothing more.

JBot

11Mort11 28-12-2007 14:08

Re: Open-source FRC code
 
default code now is ok but open source auton that is written by a teams programmers would probably take away from the competition from team to team to see who has the best code/programmers. there should be other ways to help new teams such as having examples of past years just not open source for the current year


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

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