Go to Post There will be violence next year! YAY! - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: Should teams open source there code? If so, when?
Yes, throughout build season. 13 52.00%
Yes, after build season is over. 6 24.00%
Yes, after the whole season is over. 3 12.00%
Yes, after off-seasons are done and the next season begins. 3 12.00%
No, it shouldn't be done. 0 0%
Voters: 25. You may not vote on this poll

Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-03-2011, 09:18 PM
aaronweiss74's Avatar
aaronweiss74 aaronweiss74 is offline
Lead Programmer
AKA: Aaron Weiss
FRC #1923 (The MidKnight Inventors)
Team Role: Programmer
 
Join Date: Apr 2011
Rookie Year: 2011
Location: New Jersey
Posts: 13
aaronweiss74 is an unknown quantity at this point
Send a message via AIM to aaronweiss74
Open Source Code

How does everyone here feel about open sourcing your robots code? Should it be done? Do a lot of teams do it? Is it worthwhile? Where do you all open source it? Should it be done during build? After build is over? After the season is over? When the next season starts? What does CD think?
Reply With Quote
  #2   Spotlight this post!  
Unread 04-03-2011, 09:27 PM
RoBoTiCxLiNk's Avatar
RoBoTiCxLiNk RoBoTiCxLiNk is offline
King of All That is Digital
AKA: Dan Egan
FRC #2791 (Shaker Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2006
Location: Latham, New York
Posts: 25
RoBoTiCxLiNk is on a distinguished road
Re: Open Source Code

I have never seen anyone else's code, nor do i really need to, except to see how things are implemented, which can be found in the javadocs and such.

I think code should be at the disclosure of the writers, as it is always robot specific, but algorithms can be changed to fit many robots. Also, my code is very very very very very very messy (98% is usually commented out and i have random things in places because I know what everything is for and thats all that matters), but posting it online could be next to useless, i think it might be helpful for rookie teams and such, but veteran teams should be able to write their own code.

Also, i voted for during build season because A) If people copy it, they have to make it fit their own robot in time, and B) if you don't have the code during build season, it could become outdated and inefficient, or you may have found another way of doing it afterwards.

So i say, yes, there should be open source code (everything should be open source ), but I don't see how it would be all that useful. Maybe more like, open source algorithms.
__________________
2009: Electronics, Scout, Turret Operator
2010: Programmer, Electronics, Safety Captain
2011: Lead Programmer, Lead Electronics, Forum Admin, Design Committee Member, Arm Operator/Driver, Safety Captain, Pit Captain

2012: Alum of 2791, Programming and Electronics Mentor for 2791
Reply With Quote
  #3   Spotlight this post!  
Unread 04-04-2011, 12:25 AM
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Open Source Code

I think there is a place for teams with good development practices, who are building reusable libraries, etc., to publically distrubute their work. Both for educational and time saving reasons.

However, in general I do not believe most teams have any reason to distribute their code. Most FRC teams' code is of horrible quality, and has little to no chance of reuse/modifcation by anyone other than the author. There is no reason for this type of code to be distributed.

There is also the issue of looseing competitive advantage when posting innovative code during the build season. FRC is a competition, so this is a concern, but my guess is that 99+% of teams don't have any interesting intellectual property in their code.
__________________
Eric Haskins KC9JVH
Reply With Quote
  #4   Spotlight this post!  
Unread 04-04-2011, 01:29 AM
MikeE's Avatar
MikeE MikeE is offline
Wrecking nice beaches since 1990
no team (Volunteer)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: New England -> Alaska
Posts: 381
MikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond repute
Re: Open Source Code

From the definition of COTS parts in section 1 of the game manual:
Quote:
For the purposes of the FRC, generally available software modules obtained from open sources (e.g. professional publications, commonly used FRC community-accessible web resources, industry source code repositories, etc.) that are not specifically affiliated with individual FRC teams shall be considered COTS items.
The Blue Box in <R22> clarifies this further in the last example:
Quote:
... After completing the software, they post it in a generally accessible public forum and make the code available to all teams. Because they have made their software generally available (per the Blue Box in the definition of COTS, it is considered COTS software and they can use it on their ROBOT.
That would seem to add a significant incentive to open source your code: enabling re-use between seasons.
Reply With Quote
  #5   Spotlight this post!  
Unread 04-04-2011, 04:35 PM
aaronweiss74's Avatar
aaronweiss74 aaronweiss74 is offline
Lead Programmer
AKA: Aaron Weiss
FRC #1923 (The MidKnight Inventors)
Team Role: Programmer
 
Join Date: Apr 2011
Rookie Year: 2011
Location: New Jersey
Posts: 13
aaronweiss74 is an unknown quantity at this point
Send a message via AIM to aaronweiss74
Re: Open Source Code

Correct me if I'm wrong, but I believe that rule only applies to sending code specifically to one/some team(s) for their robot rather than re-using your own robot's code the following year.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-04-2011, 04:51 PM
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,069
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Open Source Code

Quote:
Originally Posted by aaronweiss74 View Post
Correct me if I'm wrong, but I believe that rule only applies to sending code specifically to one/some team(s) for their robot rather than re-using your own robot's code the following year.
It is specifically against the rules to re-use code from year to year (just as it is against the rules to re-use a design of a manipulator, etc.) unless the code has been released in a public forum (and therefore becomes a COTS "part").
Reply With Quote
  #7   Spotlight this post!  
Unread 04-04-2011, 05:21 PM
aaronweiss74's Avatar
aaronweiss74 aaronweiss74 is offline
Lead Programmer
AKA: Aaron Weiss
FRC #1923 (The MidKnight Inventors)
Team Role: Programmer
 
Join Date: Apr 2011
Rookie Year: 2011
Location: New Jersey
Posts: 13
aaronweiss74 is an unknown quantity at this point
Send a message via AIM to aaronweiss74
Re: Open Source Code

Quote:
Originally Posted by Jared341 View Post
It is specifically against the rules to re-use code from year to year (just as it is against the rules to re-use a design of a manipulator, etc.) unless the code has been released in a public forum (and therefore becomes a COTS "part").
What defines an amount that isn't able to be reused? I mean, there's some things that have to be the same every year, so what's the point where they draw a line? How about algorithms you use? Is it against the rules to reuse one if the implementation is going to be [almost] exactly the same?
Reply With Quote
  #8   Spotlight this post!  
Unread 04-04-2011, 06:20 PM
MikeE's Avatar
MikeE MikeE is offline
Wrecking nice beaches since 1990
no team (Volunteer)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: New England -> Alaska
Posts: 381
MikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond repute
Re: Open Source Code

Quote:
Originally Posted by aaronweiss74 View Post
What defines an amount that isn't able to be reused? I mean, there's some things that have to be the same every year, so what's the point where they draw a line? How about algorithms you use? Is it against the rules to reuse one if the implementation is going to be [almost] exactly the same?
Algorithms can be reused each year, but not substantial amounts of code unless it can be declared "COTS" by being released in a public forum.

It's explained well in section 4.3.6 "Fabrication Schedule" of the Competition Manual. The blue box under R22 gives some examples of the rule intent.
Reply With Quote
  #9   Spotlight this post!  
Unread 04-06-2011, 02:35 PM
bdbayes bdbayes is offline
Captain
FRC #2927 (Pi Rho Techs)
Team Role: Leadership
 
Join Date: Apr 2011
Rookie Year: 2009
Location: Tacoma, WA
Posts: 75
bdbayes is a jewel in the roughbdbayes is a jewel in the roughbdbayes is a jewel in the rough
Re: Open Source Code

Our team started over from scratch this year. I took over as the new programmer. I chose Java as our programming language. At first, I had troubling understanding how some of the robot programming went. I would have liked it if I could have found simple examples of robot code to be used.
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


All times are GMT -5. The time now is 09:04 AM.

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