Go to Post Dave: THEY'RE NOT DOLLIES THEY'RE MY FRIENDS! - Dorienne [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 06-11-2014, 17:30
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,079
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: What does your team use to share code?

We currently use GitHub as well, but in the past we've simply done all of our robot programming on one laptop (with a second laptop serving as a backup). There are disadvantages to that, but it makes sure there's only one copy of the code.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Reply With Quote
  #2   Spotlight this post!  
Unread 06-11-2014, 17:54
Adamz_'s Avatar
Adamz_ Adamz_ is offline
Who wants coffee?
AKA: Connor Adams
FRC #4519 (Kings Mechavaliers)
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2013
Location: Oakville
Posts: 33
Adamz_ is a splendid one to beholdAdamz_ is a splendid one to beholdAdamz_ is a splendid one to beholdAdamz_ is a splendid one to beholdAdamz_ is a splendid one to beholdAdamz_ is a splendid one to beholdAdamz_ is a splendid one to behold
Re: What does your team use to share code?

adding another one for github, but when its very simple code we just use pastebin
__________________
2016 North Bay Regional Finalists
2016 Greater Toronto Central Regional Semi-Finalists
2015 Windsor Essex Great Lakes Regional Quarter-Finalists
2014 Windsor Essex Great Lakes Regional Semi-Finalists
2014 Waterloo Regional Quarter-finalists
2013 Waterloo Regional Highest Rookie Seed
2013 Waterloo Regional Rookie All Star Recipient
Reply With Quote
  #3   Spotlight this post!  
Unread 06-11-2014, 18:03
Sparkyshires Sparkyshires is offline
Registered User
AKA: Michael Shires
FRC #0384 (Sparky)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2006
Location: Virginia
Posts: 226
Sparkyshires is an unknown quantity at this point
Re: What does your team use to share code?

Another for github. A bit of a learning curve to get used to it, but the features are super powerful. Also hip and new it's what all the cool kids use.
__________________
"Measure with a micrometer, mark with chalk, cut with an axe."
Reply With Quote
  #4   Spotlight this post!  
Unread 06-11-2014, 18:18
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 68
phurley67 is an unknown quantity at this point
Re: What does your team use to share code?

One last thing about git is that it allows for access to your complete history even without internet access, which can be very helpful at most competitions -- not that we ever have to edit our code at competition :-)
Reply With Quote
  #5   Spotlight this post!  
Unread 08-11-2014, 16:17
frcteam2501's Avatar
frcteam2501 frcteam2501 is offline
Kyle Ronsberg
AKA: Kyle Ronsberg
FRC #6056 (Brotherhood of Steel)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2011
Location: North Saint Paul, Minnesota
Posts: 8
frcteam2501 is an unknown quantity at this point
Re: What does your team use to share code?

Thanks for all the help!
On our team it seems like every programmer brings their own computer to work on so we will try using Github, the problem we've been having with flash drives is that you can't easily merge codes, does Github merge codes if 2 people are working at once? (anyone have a link to a tutorial on how to use it for FRC?)
__________________
Team: 2501
Reply With Quote
  #6   Spotlight this post!  
Unread 09-11-2014, 01:17
codes02 codes02 is offline
Randolph aka Roxbury aka R_______
AKA: Cody Schafer
no team (Formerly: Team 11, MORT)
 
Join Date: Oct 2007
Rookie Year: 2008
Location: MA, USA
Posts: 57
codes02 is on a distinguished road
Re: What does your team use to share code?

Yes, git (the software one uses to publish changes to github and to manage changes made to software locally) is very good at handling merges. See http://git-scm.com/book/en/v2/Git-Br...ng-and-Merging
Reply With Quote
  #7   Spotlight this post!  
Unread 10-11-2014, 17:20
baumgartensam's Avatar
baumgartensam baumgartensam is offline
Registered User
AKA: Sam Baumgarten
FRC #0751 (Barn2Robotics)
Team Role: Alumni
 
Join Date: Apr 2014
Rookie Year: 2013
Location: United States
Posts: 42
baumgartensam will become famous soon enough
Re: What does your team use to share code?

Quote:
Originally Posted by frcteam2501 View Post
Thanks for all the help!
On our team it seems like every programmer brings their own computer to work on so we will try using Github, the problem we've been having with flash drives is that you can't easily merge codes, does Github merge codes if 2 people are working at once? (anyone have a link to a tutorial on how to use it for FRC?)
Yes, that is one of git (and therefore Github's) most powerful features. Most code that is used for FRC (java or c++) will be automatically merged very nicely.

Github is also one of the largest hosted source control products used today. It's a good skill to have (ability to use git) as you will need to use it out in the professional world.

Pull requests are one feature Github has which enable teams to do code review (aka before code enters the main code base, another person has to look over it first). This is a really good practice to get into and Github makes it very easy to do. https://help.github.com/articles/using-pull-requests/

Lastly, Github gives FRC teams a free silver organization (https://github.com/pricing). You can request it at https://github.com/edu.
Reply With Quote
  #8   Spotlight this post!  
Unread 10-11-2014, 19:23
Jpatterson1710's Avatar
Jpatterson1710 Jpatterson1710 is offline
Registered User
AKA: Josh Patterson
FRC #1710 (Ravonics Revolution)
Team Role: Alumni
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Olathe, KS
Posts: 101
Jpatterson1710 has a spectacular aura aboutJpatterson1710 has a spectacular aura aboutJpatterson1710 has a spectacular aura about
Re: What does your team use to share code?

We use dropbox. Any programmers, or anyone who might just use the code is invited to a shared dropbox folder. If you download the dropbox program is shows up like any other folder on your device, and you can save just like normal. Everyone will have access to the newest code immediately after its saved on whatever device last worked on it.
__________________
2012-2014 Mechanical Team FRC 1710
2014-2015 Chief Operations Officer FRC 1710
2016-Present FTAA
Reply With Quote
  #9   Spotlight this post!  
Unread 11-11-2014, 17:25
frcteam2501's Avatar
frcteam2501 frcteam2501 is offline
Kyle Ronsberg
AKA: Kyle Ronsberg
FRC #6056 (Brotherhood of Steel)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2011
Location: North Saint Paul, Minnesota
Posts: 8
frcteam2501 is an unknown quantity at this point
Re: What does your team use to share code?

What happens if you have 2 programmers working on code at the same time? Does dropbox try to merge your codes? or does it just take the newest one?
__________________
Team: 2501
Reply With Quote
  #10   Spotlight this post!  
Unread 11-11-2014, 18:37
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: What does your team use to share code?

Git is probably a really good way to keep your code, even if you are programming yourself. I have a GitHub account and it has saved me a lot of work.

Just yesterday, I had a problem, where I was pushing a small change to my repo in the sky at GitHub. I tried to remove the build folder using the command:
PHP Code:
rm -*build 
I forgot "build" and all of a sudden, my command became:
PHP Code:
rm -
Too bad so sad for the work done. It's alright though. My change was quite small. Because of that, I just cloned the repo again and redid that change.
It took me about 15 minutes to fix my large mistake.
If I didn't use GitHub, I would have lost 2 weeks of work!
Reply With Quote
  #11   Spotlight this post!  
Unread 11-11-2014, 19:42
frcteam2501's Avatar
frcteam2501 frcteam2501 is offline
Kyle Ronsberg
AKA: Kyle Ronsberg
FRC #6056 (Brotherhood of Steel)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2011
Location: North Saint Paul, Minnesota
Posts: 8
frcteam2501 is an unknown quantity at this point
Re: What does your team use to share code?

Does anyone know of any examples on how to use Github for FRC C++?
__________________
Team: 2501

Last edited by frcteam2501 : 12-11-2014 at 17:33.
Reply With Quote
  #12   Spotlight this post!  
Unread 11-11-2014, 21:10
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: What does your team use to share code?

My repositories are about 90% C/C++ .
Feel free to check out every inch of it
https://github.com/yash101
To download a repository,
user@dev~/soft $ git clone <location of repository>
Reply With Quote
  #13   Spotlight this post!  
Unread 13-11-2014, 19:42
Jpatterson1710's Avatar
Jpatterson1710 Jpatterson1710 is offline
Registered User
AKA: Josh Patterson
FRC #1710 (Ravonics Revolution)
Team Role: Alumni
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Olathe, KS
Posts: 101
Jpatterson1710 has a spectacular aura aboutJpatterson1710 has a spectacular aura aboutJpatterson1710 has a spectacular aura about
Re: What does your team use to share code?

Dropbox overwrites with the newest saved version. Thats why we just keep numbered versions (V1, V1.1, V2, V2.1).
__________________
2012-2014 Mechanical Team FRC 1710
2014-2015 Chief Operations Officer FRC 1710
2016-Present FTAA
Reply With Quote
  #14   Spotlight this post!  
Unread 13-11-2014, 23:20
baumgartensam's Avatar
baumgartensam baumgartensam is offline
Registered User
AKA: Sam Baumgarten
FRC #0751 (Barn2Robotics)
Team Role: Alumni
 
Join Date: Apr 2014
Rookie Year: 2013
Location: United States
Posts: 42
baumgartensam will become famous soon enough
Re: What does your team use to share code?

Quote:
Originally Posted by frcteam2501 View Post
Does anyone know of any examples on how to use Github for FRC C++?
Here are some resources:
http://git-scm.com/book/en/v1/Getting-Started
https://guides.github.com/introduction/flow/
https://guides.github.com/activities/hello-world/
https://www.atlassian.com/git/tutorials/
Reply With Quote
  #15   Spotlight this post!  
Unread 04-02-2015, 13:59
Addison4300's Avatar
Addison4300 Addison4300 is offline
FRC is love, FRC is life
AKA: Addison
FRC #4300 (The Lion Kings)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2013
Location: McKinney, Texas
Posts: 142
Addison4300 is on a distinguished road
Re: What does your team use to share code?

Our school set up every student with a Google account with unlimited Google Drive space. We put the programs into a zip file and upload and share it through google drive.
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 08:00.

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