Go to Post Remember, if FIRST is your top priority, you need to look at your priorities. - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-09-2013, 21:21
RobotKnight2014 RobotKnight2014 is offline
Registered User
FRC #3669
 
Join Date: Aug 2013
Location: Ripon
Posts: 7
RobotKnight2014 is an unknown quantity at this point
Programming Collaboration

We are revamping our computer setup for programmers/cad, and I'm curious as to how other teams with C++ synchronize and share code across different programmers and code. The past few years its just been one laptop with a few people huddled around one person typing, but I would love to see a row of programmers working on various projects.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-09-2013, 22:48
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Programming Collaboration

Get a peer-to-peer source control such as GIT or Mercurial. Our team uses Mercurial. We partitioned the code into subsystems. Assign each subsystem to different programmers. Each subsystem is in a separate file so to minimize the need of other programmers having to touch your file. There are some common files that contains common definitions and constants. It should not be too frequent for students to change them once they are in place. If there is a need to do so, the student will announce it ahead of time to avoid conflicting changes to common files. Even if it happens, you should be able to merge without too much problem. The benefit of peer-to-peer source control is that you can push the code to a USB flash drive and pass it around for other students to pull (synchronize) the code from it. We also have a server that is one of the peer sync targets. The server, in addition to being a sync target, provides a web interface allowing you to inspect the change history and the differences between different versions.
For example, here is a link to our server.
http://proj.titanrobotics.net/hg/Frc/2013/code/
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 18-09-2013, 09:08
BigJ BigJ is online now
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 945
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
Re: Programming Collaboration

Github offered organization accounts to teams last season (and probably still do?).

Here's the topic from earlier this year: http://www.chiefdelphi.com/forums/sh...ghlight=github

Note: I think you can have an organization account that is free but all the repositories are public. This isn't normally a problem in FRC.

They even have a FIRST octocat!

http://octodex.github.com/FIRSTocat/
Reply With Quote
  #4   Spotlight this post!  
Unread 07-10-2013, 08:00
mandrews281 mandrews281 is offline
Registered User
FRC #0281
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Greenville SC
Posts: 82
mandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to behold
Re: Programming Collaboration

Ditto. We are using Mercurial with Tortoise (one of our former programmers recommended it over git for beginners). Since mercurial is python, the Windows install was much easier (and functional). Our main repository is on the main programming laptop we take to competitions so the work method doesn't even change when we get to competition.
__________________
Michael Andrews
Team #281 Programming Mentor
Reply With Quote
  #5   Spotlight this post!  
Unread 19-09-2013, 00:22
faust1706's Avatar
faust1706 faust1706 is offline
Registered User
FRC #1706 (Ratchet Rockers)
Team Role: College Student
 
Join Date: Apr 2012
Rookie Year: 2011
Location: St Louis
Posts: 498
faust1706 is infamous around these partsfaust1706 is infamous around these parts
Re: Programming Collaboration

this problem was only recently addressed for our team. We have vision programmers (2 people, me and another student, but the other student got pulled to cad) and the crio programmers(~3-5), and we had one computer for vision, one laptop for the other. We recently created a vault for all of our data. This was made in part due to the school restricting everything and us being unable to access files at home if we didnt copy them onto a portable device. It is divided into cad, vision, labview, business, and parts (for build). It is nowhere near the sophistication of github, but it is a start to solving our problem. It wasn't hard to set up, and has become very useful.
__________________
"You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."
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 12:53.

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