View Single Post
  #1   Spotlight this post!  
Unread 13-01-2007, 21:57
mopa42 mopa42 is offline
Registered User
AKA: Paul
FRC #0662 (Rocky Mountain Robotics)
Team Role: Programmer
 
Join Date: Nov 2005
Rookie Year: 2006
Location: Colorado
Posts: 1
mopa42 is an unknown quantity at this point
Rack Scoring Program from team 662

I am a programmer on team 662, and I wrote a simple scoring program. It is a quick and functional program that scores the rack for the red and blue alliances. It is in the perl language, because I can write faster in perl than in C. You need the free Perl interpreter to run it. If you do not have perl, get it from activestate or www.perl.com.

The program is pretty much a beta, because I have only tested it in a few situations on a few computers. It probably has bugs.

Some Features:
Graphical interface using Tk
Fast Scoring
Accurate Scoring (it scores singletons correctly and eliminates wraparound error).

Some things I didn't include:
Difference between ringers and keepers
Limit to red and blue tubes, just spoilers
Putting two tubes on one leg

I will be coming out with a C port soon, so if you don't want to get perl just for this one thing, wait for the Windows-based executable.

By the way, it is in a .zip file because CD wouldn't let me attach a .pl file.
Attached Files
File Type: zip score_rack.zip (4.8 KB, 66 views)
Reply With Quote