Go to Post resist the hive: As goofy as this may sound, wires do take up weight, several pounds of it. - Rickertsen2 [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 06-03-2006, 23:33
nukem nukem is offline
Registered User
#1676
 
Join Date: Jan 2005
Location: Hillsdale, NJ
Posts: 43
nukem is on a distinguished road
Team 1676-2006 Source Code Released!

I have just *edit*Link Removed*edit* and now anyone is free to look at it and use it in there own robots as long as they keep there code under the terms of the GPL. This code is fully functional and the only known bugs are in the gear tooth sensor code which we hope to have worked out soon. We will have at least two more releases(pre and post Palmetto) hopefully fixing the gear tooth sensor and adding more autonomous modes. The code is fairly well commented and is based off of Kevins advanced camera code. Any comments are welcome. This also may be useful to teams looking to do programming on Linux since all of this code was written on Linux and has a fully functional Makefile(although it must be edited to work on your computer).

*edit*Link in volation of Kevin's License.

Last edited by Mike Schroeder : 25-03-2006 at 12:01.
  #2   Spotlight this post!  
Unread 20-03-2006, 22:54
Spencer E.'s Avatar
Spencer E. Spencer E. is offline
Android junkie
FRC #1305 (NNSRI Ice3 (cubed))
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Ontario, Canada
Posts: 91
Spencer E. has a spectacular aura aboutSpencer E. has a spectacular aura about
Send a message via MSN to Spencer E.
Re: Team 1676-2006 Source Code Released!

Looks pretty solid. I'm just skimming through it now and it looks great. It took me a while to figure out what exactly you were using the gear tooth sensor for and the lookup table confused me at first. I guess that's what I get for ignoring some comments
  #3   Spotlight this post!  
Unread 21-03-2006, 12:16
nukem nukem is offline
Registered User
#1676
 
Join Date: Jan 2005
Location: Hillsdale, NJ
Posts: 43
nukem is on a distinguished road
Re: Team 1676-2006 Source Code Released!

The lookup table is used because the tilt angle the camera is at and what the cannon is at needs to be different. When we designed it we decided that it would be faster and easier to use a look up table and manually put the data in. We recently look up all tilt actions because we found from the trenton regional that leaving the tilt at one angle usally works(once you get the right one). We use the gear tooth sensor(which we are still debugging) to make sure the balls are not fired faster then 12 m/s.
  #4   Spotlight this post!  
Unread 21-03-2006, 14:00
Spencer E.'s Avatar
Spencer E. Spencer E. is offline
Android junkie
FRC #1305 (NNSRI Ice3 (cubed))
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Ontario, Canada
Posts: 91
Spencer E. has a spectacular aura aboutSpencer E. has a spectacular aura about
Send a message via MSN to Spencer E.
Re: Team 1676-2006 Source Code Released!

Quote:
Originally Posted by nukem
The lookup table is used because the tilt angle the camera is at and what the cannon is at needs to be different. When we designed it we decided that it would be faster and easier to use a look up table and manually put the data in. We recently look up all tilt actions because we found from the trenton regional that leaving the tilt at one angle usally works(once you get the right one). We use the gear tooth sensor(which we are still debugging) to make sure the balls are not fired faster then 12 m/s.
Thanks for clearing that up nukem
  #5   Spotlight this post!  
Unread 21-03-2006, 18:04
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Team 1676-2006 Source Code Released!

Uh, Take a look at the header in all the camera code...

Quote:
* COMMENTS: This is the "bells and whistles" version of tracking.c
*
* You are free to use this source code for any non-commercial
* use. Please do not make copies of this source code, modified
* or un-modified, publicly available on the internet or elsewhere
* without permission. Thanks.
  #6   Spotlight this post!  
Unread 22-03-2006, 02:14
SoftwareBug2.0's Avatar
SoftwareBug2.0 SoftwareBug2.0 is offline
Registered User
AKA: Eric
FRC #1425 (Error Code Xero)
Team Role: Mentor
 
Join Date: Aug 2004
Rookie Year: 2004
Location: Tigard, Oregon
Posts: 486
SoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant future
Re: Team 1676-2006 Source Code Released!

Quote:
Originally Posted by devicenull
Uh, Take a look at the header in all the camera code...
Yeah, it's sort of nit-picky, but I think you may be stuck with just showing diffs unless you get special permission.
  #7   Spotlight this post!  
Unread 22-03-2006, 14:53
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Team 1676-2006 Source Code Released!

Quote:
Originally Posted by nukem
I have just uploaded our code to sourceforge and now anyone is free to look at it and use it in there own robots as long as they keep there code under the terms of the GPL.
You need to include the GPL in your distribution and follow the following instructions for applying it to your program: http://www.gnu.org/licenses/gpl-howto.html

Here are other things to read: http://www.gnu.org/licenses/licenses.html#TOCGPL

As other people mentioned, you are violating Kevin's license agreement by posting his files. His license agreement also is in direct conflict with the GPL, so he need to license his code under the GPL for you to be able to license your code under the GPL. Just getting him to give you permission to post it doesn't remove the conflict.
  #8   Spotlight this post!  
Unread 22-03-2006, 15:22
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Team 1676-2006 Source Code Released!

Additionally, it's unclear what license the IFI default code is under, so you cannot just assume that it's safe to distribute that either. It would be a good question to ask IFI in their forums.

Also, in your README file you state this:
Quote:
Team 1676 has decided to release is source code to its robot in order to help other teams programming theirs or for any one else interested. It is released under the terms of the GPL so you are welcome to modify and use this under your own robot but you must release the source code on your teams page and give us credit. As well as Kevin Watson for writing the original code.
(Emphasis mine)
This is not how the GPL works: if another team uses your GPLed code in their robot, the only time they would be responsible for releasing the code and any changes they made is if they were to distribute the compiled binary. If they keep it to themselves and only running on their robot, they do not have any obligation to release the code. See this for further information.
  #9   Spotlight this post!  
Unread 25-03-2006, 03:53
gobeavs's Avatar
gobeavs gobeavs is offline
linux advocate
AKA: Ross
None #1425 (Wilsonville Robotics)
Team Role: Alumni
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Oregon
Posts: 71
gobeavs will become famous soon enoughgobeavs will become famous soon enough
Send a message via AIM to gobeavs
Re: Team 1676-2006 Source Code Released!

Do we have any clarification on the licensing issues? I would like to host our code on sourceforge, but can't with all of this confusion...
__________________
"Never in the face of human conflict has so much been owed by so many to so few."
- Winston Churchill on the RAF in WWII
  #10   Spotlight this post!  
Unread 25-03-2006, 11:42
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Team 1676-2006 Source Code Released!

Quote:
Originally Posted by gobeavs
Do we have any clarification on the licensing issues? I would like to host our code on sourceforge, but can't with all of this confusion...
Well, my license is simple: 1) Don't use my code for commercial (i.e., for profit) purposes. 2) Don't post it elsewhere on the net.

I sent this private message to "nukem" several days ago, which has been ignored:

Quote:
Originally Posted by Kevin Watson
Hi, I just read your post regarding the posting of your team's code to sourceforge, which is great except you've included my code in the .zip file, which is expressly forbidden in the header of each of my source files. Sorry, but I must ask you to remove my code from your distribution. I know this makes me sound like a jerk, but I put a considerable amount of time into my code and I really don't want it used in commercial, for profit, software, which is allowed under the GPL. If I allow one person to post the code with my knowledge, It weakens the copyright attached to my code. You are, of course, free to distribute your code with a pointer to my website where they can retrieve the remainder of the build.

-Kevin Watson
Before I do something more heavy-handed, I should ask the team managment to do something about this. Is there anyone else from team 1676 here?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #11   Spotlight this post!  
Unread 25-03-2006, 16:30
X-Istence X-Istence is offline
Melt the RC controller!
AKA: Bert JW Regeer
no team
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Montville
Posts: 151
X-Istence will become famous soon enoughX-Istence will become famous soon enough
Send a message via AIM to X-Istence Send a message via MSN to X-Istence
Re: Team 1676-2006 Source Code Released!

Kevin, I am not from the team in question, but I was considering also posting our source online. However, since you have not allowed this, I have not done so, and have kept it internal to the team's use only.

My question is this, if we were to use excerpts or diff's of the files from the standard version that you have posted on your website, would this be allowed? That way people can still see what changes we have made, but it would only show changes, it would not show the entire code.

I have posted a diff between two different versions of your code before, here on the message boards, for other programmers to use, but would it be okay to do so on the teams website, or any other website for that matter?
__________________
My Blog!
  #12   Spotlight this post!  
Unread 25-03-2006, 20:28
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Team 1676-2006 Source Code Released!

Quote:
Originally Posted by X-Istence
Kevin, I am not from the team in question, but I was considering also posting our source online. However, since you have not allowed this, I have not done so, and have kept it internal to the team's use only.

My question is this, if we were to use excerpts or diff's of the files from the standard version that you have posted on your website, would this be allowed? That way people can still see what changes we have made, but it would only show changes, it would not show the entire code.

I have posted a diff between two different versions of your code before, here on the message boards, for other programmers to use, but would it be okay to do so on the teams website, or any other website for that matter?
Seems reasonable to me. Sure, go ahead.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #13   Spotlight this post!  
Unread 25-03-2006, 21:06
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: Team 1676-2006 Source Code Released!

Quote:
Originally Posted by Dave Flowerday
Additionally, it's unclear what license the IFI default code is under, so you cannot just assume that it's safe to distribute that either. It would be a good question to ask IFI in their forums.
If there were a license or copyright for the IFI default code,
it would be visibly present somewhere in the zip archive.
Thats one of the many neat things about copyrights,
you have to show them in order to have them, and once you
release a code without them the cat is out of the bag,
so to speak.

IFI is to be applauded for handling their default code, for teams
to make use of and share as a community, in this manner...

Eugene Brooks
  #14   Spotlight this post!  
Unread 26-03-2006, 11:14
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Team 1676-2006 Source Code Released!

Quote:
Originally Posted by eugenebrooks
If there were a license or copyright for the IFI default code,
it would be visibly present somewhere in the zip archive.
Thats one of the many neat things about copyrights,
you have to show them in order to have them, and once you
release a code without them the cat is out of the bag,
so to speak.

IFI is to be applauded for handling their default code, for teams
to make use of and share as a community, in this manner...

Eugene Brooks
I would check with IFI on that first.. Check out the bottom of any IFI page..
Quote:
Copyright © 2002-2004, Innovation First, Inc.
I would also do some more research on that before you say things like IFI doesn't have a copyright on their code..
Quote:
Originally Posted by Wikipedia
In the past, in some jurisdictions such as the USA, a work would enter the public domain with respect to copyright if it was released without a copyright notice. This was true prior to March 1, 1989 (according to the USA Copyright office), but is no longer the case. Any work (of certain, enumerated types) receives copyright as soon as it is fixed in a tangible medium.
From here

From my understanding, unless they explicitly say they release the copyright on their code, it is NOT public domain.
  #15   Spotlight this post!  
Unread 26-03-2006, 17:45
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: Team 1676-2006 Source Code Released!

Quote:
Originally Posted by devicenull
I would check with IFI on that first.. Check out the bottom of any IFI page..


I would also do some more research on that before you say things like IFI doesn't have a copyright on their code..

From here

From my understanding, unless they explicitly say they release the copyright on their code, it is NOT public domain.
Notwisthstanding the post in wikipedia, the authoritative document that
it is, any intellectual property lawyer will tell you that if you want to
defend a copyright on your code, your first step is to include the
copyright in every source file, explaining terms of use that you intend
to defend. I know this because I have dealt with intellectual property
lawyers on such matters. This is the standard practice in the industry
for computer code, and it is not to be confused with the standard
practice for phonograph records.

I did not say that IFI had released their code into the public domain.
That usually entails a copyright notice explicitly indicating such handling,
something that I am also familiar with and use now and then. I did
use the term, the cat is out of the bag, and I think that common sense,
if not case law, prevails here.

IFI releases their code as a template for teams to use, and obviously
from their actions (or lack thereof), does not find teams sharing modified
snippets of their code objectionable as this is the purpose of the FIRST
robotics activity. This is to be applauded and I applaud it. Not to
worry, when I see indications that I should change my view, I will
post the adjustment...

Eugene Brooks

Copyright 2006, Eugene D Brooks III. This is my opinion, which can
be copied and shared in any form desired, but only I get to change it.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
2006 CMUcam2 Code Kevin Watson Programming 81 10-02-2007 20:17
2006 FRC Team Update 01 dez250 General Forum 0 11-01-2006 11:32
Improving the Efficacy of a Team Jaine Perotti Team Organization 5 24-05-2005 19:27
Need Help and Suggestions - Creating a TEAM Freddy Schurr Team Organization 7 30-03-2005 22:00
heres the code. y this not working omega Programming 16 31-03-2004 15:18


All times are GMT -5. The time now is 11:16.

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