Go to Post Personally, I'm really not jealous of any good team in FIRST. I'm happy for them, and take a page out of their books to see how we can better impact our students in the future. - waialua359 [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 02-01-2016, 17:13
MrRoboSteve MrRoboSteve is offline
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 582
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Why the sudden burst of code postings?

You might have noticed that there's a sudden burst of teams posting links to their prior year's code and CAD drawings on Chief Delphi. Wondering why? Read on.

R13 of the 2015 Rules states:
Software and mechanical/electrical designs created before Kickoff are only permitted if the source files (complete information sufficient to produce the design) are available publicly prior to Kickoff.
So, if you have that great robot vision program from previous years, or that crazy 5 CIM continuously variable gearbox from last year's bot, and want to use it on this year's robot, you need to publish the design.

What does publish mean? The examples in the rules all say:
  • post it in a generally accessible public forum
  • make the code available to all Teams
A story. Last year at a competition I was asked to consult on a robot's control system issue. We spent quite a bit of time going through the source code of the robot to see what the issue was. Reading the source code, it was clear to me that the code represented many years worth of work. I took a note of the team's number because I was interested in reviewing the code later at home.

After the competition, I took a look around for the team's code, and wasn't able to find it online anywhere. That's not right.

The concept behind R13 is that the work product -- the robot and its code -- represents the work of the current team. Requiring sharing of designs and source code helps level the playing field and increases the quality of robots from all teams. It deliberately reduces the (big) advantage that veteran teams have over new ones.

Finally, a personal note. I love reading team's robot code, and would love to see more published code to look at.

So, there you go. Publishing your code and designs = good.
__________________
2016-17 events: 10000 Lakes Regional, Northern Lights Regional, FTC Burnsville Qualifying Tournament

2011 - present · FRC 3081 Kennedy RoboEagles mentor
2013 - present · event volunteer at 10000 Lakes Regional, Northern Lights Regional, North Star Regional, Lake Superior Regional, Minnesota State Tournament, PNW District 4 Glacier Peak, MN FTC, CMP
http://twitter.com/MrRoboSteve · www.linkedin.com/in/speterson
  #2   Spotlight this post!  
Unread 02-01-2016, 18:36
Cel Skeggs Cel Skeggs is offline
Robot Software Manager Alumnus
AKA: Previously known as Colby
FRC #1540 (The Flaming Chickens)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Portland, Oregon, USA
Posts: 107
Cel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of light
Re: Why the sudden burst of code postings?

Here's an idea: perhaps we should start an index of source code releases, with info like GitHub Links and the most interesting parts of each release.

A publicly-visible Google Sheet could do the job, or maybe someone wants to make a website?
__________________
Software manager alumnus. Developer of the CCRE, a powerful robot code framework based on dataflow and composibility.
Refer to as she/her/hers. Years of FRC: 2012, 2013, 2014, 2015, 2016. FLL for a few years beforehand.
Team 1540: The Flaming Chickens | Portland, Oregon | Twitter | Facebook
  #3   Spotlight this post!  
Unread 02-01-2016, 19:11
Kenny Cheung Kenny Cheung is offline
Registered User
FRC #0008 (Team 8)
Team Role: Mechanical
 
Join Date: Jun 2015
Rookie Year: 2013
Location: California
Posts: 12
Kenny Cheung is an unknown quantity at this point
Re: Why the sudden burst of code postings?

Would making CAD files downloadable on your team's website (in an accessible place like a Resources tab or something) be sufficient to satisfy R13? Do you have to advertise it in a post on a public forum like Chief Delphi?
__________________
Team 8:
Paly Robotics
----------------
2016-present | Team Captain
2015-2016 | Build Captain
2014-2015 | Lab manager
2013-2014 | Build Team Member
----------------
  #4   Spotlight this post!  
Unread 02-01-2016, 19:14
EmileH's Avatar
EmileH EmileH is offline
#dontbelarge
AKA: Emile Hamwey
FRC #1058 (The PVC Pirates) & SLFF (NE Way You Want It)
Team Role: Programmer
 
Join Date: Dec 2014
Rookie Year: 2011
Location: New England
Posts: 549
EmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant future
Re: Why the sudden burst of code postings?

Quote:
Originally Posted by Colby Skeggs View Post
Here's an idea: perhaps we should start an index of source code releases, with info like GitHub Links and the most interesting parts of each release.

A publicly-visible Google Sheet could do the job, or maybe someone wants to make a website?
I like this idea a lot. I can create this if others are interested.
__________________
2016-present: High School Student, FRC 1058 PVC Pirates

  #5   Spotlight this post!  
Unread 02-01-2016, 19:48
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,723
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Why the sudden burst of code postings?

Do you think we could get TBA to provide links to teams' software repositories? (And while we're at it, CAD folders and engineering notebooks)?
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #6   Spotlight this post!  
Unread 02-01-2016, 20:16
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: Why the sudden burst of code postings?

Quote:
Originally Posted by EmileH View Post
I like this idea a lot. I can create this if others are interested.
Yes please! Preferably on github to keep it simple and easy to collaborate? (similar to the "awesome ____" ones)
__________________
All opinions are my own.
  #7   Spotlight this post!  
Unread 02-01-2016, 21:22
Cel Skeggs Cel Skeggs is offline
Robot Software Manager Alumnus
AKA: Previously known as Colby
FRC #1540 (The Flaming Chickens)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Portland, Oregon, USA
Posts: 107
Cel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of light
Re: Why the sudden burst of code postings?

Quote:
Originally Posted by joelg236 View Post
Yes please! Preferably on github to keep it simple and easy to collaborate? (similar to the "awesome ____" ones)
Here we go!

FRC Software Releases

It's pretty bare-bones, but it should be possible to iterate quickly to add more teams to the list! Also, there will be more than just a single Chief Delphi link for each of them shortly.
__________________
Software manager alumnus. Developer of the CCRE, a powerful robot code framework based on dataflow and composibility.
Refer to as she/her/hers. Years of FRC: 2012, 2013, 2014, 2015, 2016. FLL for a few years beforehand.
Team 1540: The Flaming Chickens | Portland, Oregon | Twitter | Facebook
  #8   Spotlight this post!  
Unread 02-01-2016, 22:16
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: Why the sudden burst of code postings?

Quote:
Originally Posted by Colby Skeggs View Post
Here we go!

FRC Software Releases

It's pretty bare-bones, but it should be possible to iterate quickly to add more teams to the list! Also, there will be more than just a single Chief Delphi link for each of them shortly.
I just posted my own team's code, if you'd like to include it on the list:
http://www.chiefdelphi.com/forums/sh...d.php?t=140820
__________________
Head Programmer / Driver
  #9   Spotlight this post!  
Unread 02-01-2016, 22:49
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: Why the sudden burst of code postings?

Glad to see our code was posted, Its pretty cool, wouldn't recommend to use it though
  #10   Spotlight this post!  
Unread 02-01-2016, 23:01
MrRoboSteve MrRoboSteve is offline
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 582
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Re: Why the sudden burst of code postings?

Quote:
Originally Posted by Kenny Cheung View Post
Would making CAD files downloadable on your team's website (in an accessible place like a Resources tab or something) be sufficient to satisfy R13? Do you have to advertise it in a post on a public forum like Chief Delphi?
Here are the two examples from R13 in last year's manual (PDF page 35).
EXAMPLE 4: A different Team develops a similar solution during the fall, and plans to use the developed software on their competition ROBOT. 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 publicly available before Kickoff, they can use it on their ROBOT.

EXAMPLE 5: A Team develops a transmission during the fall. After completing the project, they publish the CAD files on a generally accessible public forum and make them available to all Teams. Because they have made the design publicly available before Kickoff, they can use the design to create an identical transmission, fabricated after Kickoff, for use on their 2015 ROBOT.
My reading of this is that "make available" is posting it on your site, and that posting on a "generally accessible public forum" means CD or the FIRST forums. The other teams that are posting are thinking something similar, and I've had in person conversations with other teams that read this the same way.

Finally, I'll point out that the ultimate decisionmaker on this would be a robot inspector at the event.
__________________
2016-17 events: 10000 Lakes Regional, Northern Lights Regional, FTC Burnsville Qualifying Tournament

2011 - present · FRC 3081 Kennedy RoboEagles mentor
2013 - present · event volunteer at 10000 Lakes Regional, Northern Lights Regional, North Star Regional, Lake Superior Regional, Minnesota State Tournament, PNW District 4 Glacier Peak, MN FTC, CMP
http://twitter.com/MrRoboSteve · www.linkedin.com/in/speterson
  #11   Spotlight this post!  
Unread 02-01-2016, 23:05
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,723
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Why the sudden burst of code postings?

Quote:
Originally Posted by Fauge7 View Post
Glad to see our code was posted, Its pretty cool, wouldn't recommend to use it though
Having worked for the US Navy for the past 27.5 years, let me quote somebody who's been working there longer than me:

Quote:
Originally Posted by Garry
It doesn't have to make sense; it's the NAVY, it's a rule.
The code-posting rule doesn't have anything prohibiting the posting of obfuscated code, not to mention "as-is" code. The requirement (the past few years) has simply been that the code is publicly available before kickoff. As far as I know, no one intentionally obfuscates their code, but there is certainly a significant quantity of code published that is "not ready for sharing".

It's FRC. It's a rule. Work with it.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #12   Spotlight this post!  
Unread 03-01-2016, 11:47
hardcopi hardcopi is offline
Registered User
AKA: Rich Lester
FRC #2959 (The Robotarians)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Coloma, MI
Posts: 274
hardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud of
2959's Code is available

As always our code is available at: http://www.robotarians.org/information/programming/

Though we are working on creating a release thread about one portion of our Labview code. Our students last year created Roboscript. An autonomous scripting language that can be changed during the queuing line or even while your robot is being set up.

The post will go into more detail, but you run it like this:

drive(50%, 2s);

(this is an example that probably wouldn't work, but it is similiar to this). This would tell it to drive forward at 50% power for 2 seconds. The new version 2.02 allows the programmer to do things like "if sensor2 is active then do this else do that". It is similar to javascript in it's syntax.
  #13   Spotlight this post!  
Unread 03-01-2016, 13:30
Cel Skeggs Cel Skeggs is offline
Robot Software Manager Alumnus
AKA: Previously known as Colby
FRC #1540 (The Flaming Chickens)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Portland, Oregon, USA
Posts: 107
Cel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of light
Re: Why the sudden burst of code postings?

Quote:
Originally Posted by hardcopi View Post
As always our code is available at: http://www.robotarians.org/information/programming/

Though we are working on creating a release thread about one portion of our Labview code. Our students last year created Roboscript. An autonomous scripting language that can be changed during the queuing line or even while your robot is being set up.

The post will go into more detail, but you run it like this:

drive(50%, 2s);

(this is an example that probably wouldn't work, but it is similiar to this). This would tell it to drive forward at 50% power for 2 seconds. The new version 2.02 allows the programmer to do things like "if sensor2 is active then do this else do that". It is similar to javascript in it's syntax.
You'll probably want to post a new thread - this thread isn't for posting your code.
__________________
Software manager alumnus. Developer of the CCRE, a powerful robot code framework based on dataflow and composibility.
Refer to as she/her/hers. Years of FRC: 2012, 2013, 2014, 2015, 2016. FLL for a few years beforehand.
Team 1540: The Flaming Chickens | Portland, Oregon | Twitter | Facebook
  #14   Spotlight this post!  
Unread 03-01-2016, 16:51
BBray_T1296's Avatar
BBray_T1296 BBray_T1296 is offline
I am Dave! Yognaut
AKA: Brian Bray
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Rockwall, TX
Posts: 947
BBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond repute
Re: Why the sudden burst of code postings?

Paraphrasing somebody's comment from a year or two ago,

If I sat at the side of the road with a flash drive handing out my code and CAD to any passerby who wanted it, does that count as publicly available?
__________________
If molecular reactions are deterministic, are all universes identical?

RIP David Shafer: you will be missed


  #15   Spotlight this post!  
Unread 03-01-2016, 17:05
EmileH's Avatar
EmileH EmileH is offline
#dontbelarge
AKA: Emile Hamwey
FRC #1058 (The PVC Pirates) & SLFF (NE Way You Want It)
Team Role: Programmer
 
Join Date: Dec 2014
Rookie Year: 2011
Location: New England
Posts: 549
EmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant future
Re: Why the sudden burst of code postings?

Quote:
Originally Posted by BBray_T1296 View Post
Paraphrasing somebody's comment from a year or two ago,

If I sat at the side of the road with a flash drive handing out my code and CAD to any passerby who wanted it, does that count as publicly available?
Have you (or any other team) done this?
__________________
2016-present: High School Student, FRC 1058 PVC Pirates

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: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