Go to Post In an education culture that hinges on having the perfect grades and perfect SAT scores to get into the perfect colleges, I enjoy providing an environment where students are encouraged to test their own hypothesis, challenge their assumptions, and regularly fail. - Michael Corsetto [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 07-02-2005, 21:37
tcj103 tcj103 is offline
Registered User
AKA: Ted Jones
None #0486 (Positronic Panthers)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2000
Location: Media, PA
Posts: 14
tcj103 is on a distinguished road
Software Development Process?

I've recently stepped in as the software program manager, and was wondering what other teams do to develop software. Our current process is write code, load code, watch robot spin around, scratch head, re-write code, repeat.

I work on a military rotorcraft fly by wire flight control system, and have some background in software requirements management and design. We don't code, but are responsible for pseudo-code, system integration, and system testing. We are currently CMMI level 3, and trying to get to 5 this year. For those who don't know what I'm talking about, it's a system the government will soon require contractors to be certified to, and it shows that we document changes, measure our performance, etc.

I'm wondering what other teams do, ie does every change in code result in a new version number? Are old versions kept, no matter how small the change? Do teams perform specific tests once the robot is loaded with new software?

While this isn't the most exciting topic, I think it is important that the kids learn the importance of documentation, since it is part of what engineers do.

So what do other teams do for software development?

Ted
  #2   Spotlight this post!  
Unread 07-02-2005, 21:50
probizzle's Avatar
probizzle probizzle is offline
Registered User
AKA: Prabhas Pokharel
#0639 (Code Red)
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2003
Location: Ithaca
Posts: 78
probizzle will become famous soon enoughprobizzle will become famous soon enough
Send a message via AIM to probizzle
Re: Software Development Process?

We at 639 have a policy of not commiting any code that has not been tested and proven to work (in the main directory).

Most people work off their pen/flash drives, and when they get working code, they commit.

It works surprisingly well, and our 5 person programming team has hadn't had too many issues.
__________________
Code Red Team 639 Winners of the 2005 FingerLakes Regional with 191 and 494.
--
http://pset.deu83.com << my baby
http://www.setgame.com/set/ << it's mother
  #3   Spotlight this post!  
Unread 07-02-2005, 22:18
RbtGal1351's Avatar
RbtGal1351 RbtGal1351 is offline
~La Reina de los Robots~
AKA: Stephanie
FRC #1351 (TKO)
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: San Jose, CA
Posts: 166
RbtGal1351 is a splendid one to beholdRbtGal1351 is a splendid one to beholdRbtGal1351 is a splendid one to beholdRbtGal1351 is a splendid one to beholdRbtGal1351 is a splendid one to beholdRbtGal1351 is a splendid one to beholdRbtGal1351 is a splendid one to behold
Send a message via AIM to RbtGal1351 Send a message via MSN to RbtGal1351
Re: Software Development Process?

Quote:
Originally Posted by tcj103
I've recently stepped in as the software program manager, and was wondering what other teams do to develop software. Our current process is write code, load code, watch robot spin around, scratch head, re-write code, repeat.

I work on a military rotorcraft fly by wire flight control system, and have some background in software requirements management and design. We don't code, but are responsible for pseudo-code, system integration, and system testing. We are currently CMMI level 3, and trying to get to 5 this year. For those who don't know what I'm talking about, it's a system the government will soon require contractors to be certified to, and it shows that we document changes, measure our performance, etc.

I'm wondering what other teams do, ie does every change in code result in a new version number? Are old versions kept, no matter how small the change? Do teams perform specific tests once the robot is loaded with new software?

While this isn't the most exciting topic, I think it is important that the kids learn the importance of documentation, since it is part of what engineers do.

So what do other teams do for software development?

Ted
well, this is our 2nd year as a FIRST team, but this is my first year programming, and im the "manager" of programming.
we've created a couple (well, a lot) of documents on "desgin" of the programming. First we created the REQUIREMENTS document, which the whole team can, basically, edit (but they dont...), to tell us programmers what they need programmed. (So they cant say, the day before ship date, oh, btw, we want these switches programmed for the such-n-such so they limit this and that...)
then, we have the DESIGN document, which has everything from the REQUIREMENTS doc, (waterfall effect!), with IPO (inputs, processing and outputs) described in them. this only programmers can edit
finally, we have the TEST document, which lists how we're going to test to see if the code actually works. (for now, this will also serve as a test doc for the whole robot... simply because there's no other test doc and this one has little boxes saying "PASS" or "FAIL"...)

for autonomous dealings, we've made some flow charts, excel docs, and the like, as we found necessary..
we also have an online version control system, but... we don't yet have strict rules as when it's a new version. (however, we have unstable versions and stable versions)

hope that helps and other input accepted,
~Stephanie
__________________
2004 Founding member and Arm leader, 2005 Lead programmer, 2006 Controls leader, 2007 Project Manager/President
Thanks for making FIRST such a great experience for me. I'm no longer on 1351, and I'm not currently planning to mentor team 97, but FIRST has meant so much in getting me to where I am now, in life and at MIT, class of 2011.
I met Billfred! He recognized me!
SVR 04: 11th seed - Highest Rookie Seed - Semifinalists w/ 1120 and 568 - GM Industrial Design Award
SVR 05: Semifinalists w/ 8 and 766
SVR 06: 6th seed - Quarterfinalists w/ 368 and 1072
Davis 06: 1st seed - Quarterfinalists w/ 649 and 100 - KPCB Entrepreneurship Award
SVR 07: 36th seed
David 07: 4th seed - Semifinalists w/ 1280 and 692 - Johnson and Johnson Sportsmanship Award
  #4   Spotlight this post!  
Unread 07-02-2005, 23:46
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Software Development Process?

We don't use version numbers as such, or a formal version management system. Each day's work is archived in its own subdirectory, so we can go back to a known state of the code if necessary. Offsite backups (on Flash drives) are made of especially "functional" versions.
  #5   Spotlight this post!  
Unread 08-02-2005, 05:16
Anton's Avatar
Anton Anton is offline
Anton Povzner
#1581 (Element)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Israel
Posts: 51
Anton can only hope to improve
Re: Software Development Process?

Nice, organized work. Probably it's just what our team overlooked- we just try to get a piece of code working, then take another bit of code...
well, it's not that bad if you take our numbers into consideration- i'm actually the whole programming team(well, there's the programming team manager, but I hsven't seen him for a while, and anyway- aside from clickimg the program button and doing some simple arithmetic calculations he can't do anything of value- he doesn't know a bit of C and/or robotics programming );

an example for this unorganized work is my function to calculate the angle of the joystick. it took me almost two days to get it working- first i tried to print floats using the %d command, then forgot that the atan(x) function outputs in radians, the i noticed that my algorithm was dumb...
if you want to avoid such situations-
1) have at least 2 members in a sub-team
2) read documentation for everything you use

Last edited by Anton : 08-02-2005 at 05:21. Reason: just thought of a nice example:)
  #6   Spotlight this post!  
Unread 08-02-2005, 15:46
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: Software Development Process?

Since I'm pretty much it, except for the mentor helping me.. my system is pretty much: compile, load, debug, reload.. etc.
Every day or two I submit the code to a svn server running on one of my computers, working .hex files are saved when I add a major feature (So if something gets really screwed up, I can load one of those, and keep the rest of the team happy)

It works out nicely.. I have around 3 copies of the code on seperate computers, (laptop, server, desktop) plus a copy on my flash drive.. so its pretty hard for me to loose all the code.
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
Attention engineers...What type are you and why? Paul H Career 95 05-04-2007 14:38
Software Development System Installation Mike Betts Programming 26 25-07-2005 10:48
<R14> and Software Development Joe Johnson Rules/Strategy 12 10-01-2005 02:24
White Paper Discuss: Continuous Improvement Process for FIRST Teams Chris Fultz Team Organization 2 05-01-2005 20:52


All times are GMT -5. The time now is 09:26.

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