Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Why the sudden burst of code postings? (http://www.chiefdelphi.com/forums/showthread.php?t=152931)

MrRoboSteve 01-03-2017 12:33 PM

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 2016 Rules states:

Quote:

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.
While we don't know what the rules are for 2017, that section has been present for many years and I would not$@#bet against$@#a similar section being present again for 2017.

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. Two years ago 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.

notmattlythgoe 01-03-2017 12:48 PM

Re: Why the sudden burst of code postings?
 
With that said, here is 2363's 2016 code.

GeeTwo 01-03-2017 02:23 PM

Re: Why the sudden burst of code postings?
 
Likewise, 3946's code back to our rookie year.

gerthworm 01-03-2017 02:30 PM

Re: Why the sudden burst of code postings?
 
Quote:

Originally Posted by MrRoboSteve (Post 1624710)
I love reading team's robot code, and would love to see more published code to look at.

I agree wholeheartedly. There are many many times I've looked at a veteran team's code (Thanks 254 and 2481!) and leveraged the ideas (hopefully making them better along the way). Our team has been made much better off building from examples of more experienced teams!!!

Edit: Well, I'll join in too: https://github.com/RobotCasserole1736

bobbysq 01-03-2017 02:38 PM

Re: Why the sudden burst of code postings?
 
https://github.com/frc4646

Check here for everything. It'll have all of our code as soon as we start it, finished or not.

vScourge 01-03-2017 02:57 PM

Re: Why the sudden burst of code postings?
 
A great, filterable directory of released robot code:

FIRSTWiki Robot Code Directory

Bkeeneykid 01-03-2017 02:58 PM

Re: Why the sudden burst of code postings?
 
I've always found making a standalone post kinda tacky personally. It's not warranting of taking up more space. There are places for this: your TBA profile, your FIRSTwiki page, et cetera. But since we're all piling on here, here ya go:
https://github.com/SMNWrobotics

Notable things include our semi-beta scouting app in the FRC2016 repo, made in Xojo and what we used with four other teams last year at GKC. Never found it polished enough to show it off, but in case you are interested.

EDIT: Sniped on FIRSTwiki. Please, take ten minutes and add your team's info there if you can. It really helps us out a ton!

tr6scott 01-03-2017 04:02 PM

Re: Why the sudden burst of code postings?
 
Well, we were going to clean this up for public release, but I guess were too lazy for that...

Of some interest maybe onboard vision processing, in labview. There are some of out bot log files for our matches, which don't do much not knowing the bot, but the code is there to do the recording if interested.

Also there are a wealth of information in the commits, but seeing I just uploaded this from our private stash, you maybe missing gems, like "my hands are typing words."

Anyways, it's out there, and posted in a public forum. :)

https://github.com/TORC2137

frcguy 01-03-2017 04:21 PM

Re: Why the sudden burst of code postings?
 
I guess I'll get in on this.

Our Github can be found here: https://github.com/bread5940. All our code is in there - for both our robots and random projects. Several things may be of interest. FRC-2016-BREAD-Codebase is all the code for our competition bot last season. It includes some cool stuff like modular autonomous, a full set of systems tests that are run before each match, a camera implementation that overlays the stream with lines for targeting, and other fun stuff. There's a full set of Javadocs generated for it, and you can find the link to those in the readme. Some other notable things: 2017beta is some code we wrote that features some of the new changes for the upcoming season, including the new camera server and imports for the new Talon SRX plugins. There's some random vision processing stuff on there as well, mainly experimentation from the off season. If anyone has any questions feel free to PM me and I'll pass them along to the appropriate people on the team.

Thanks!

Hitchhiker 42 01-03-2017 04:25 PM

Re: Why the sudden burst of code postings?
 
Robot Code 2016 is our robot code for this previous year. Also, what Devin said.


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

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