Go to Post The amount of sense this rule makes is irrelevant. It is still the rule, and breaking this rule violates something that i'm sure all of you have heard of. Does gracious professionalism ring a bell? - Kate00 [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 10-03-2009, 20:48
Jeff Rodriguez Jeff Rodriguez is offline
Too young to be an 'old guy'
FRC #0155 (Technonuts)
Team Role: Teacher
 
Join Date: Jun 2001
Rookie Year: 1999
Location: Newington, CT
Posts: 1,943
Jeff Rodriguez has a reputation beyond reputeJeff Rodriguez has a reputation beyond reputeJeff Rodriguez has a reputation beyond reputeJeff Rodriguez has a reputation beyond reputeJeff Rodriguez has a reputation beyond reputeJeff Rodriguez has a reputation beyond reputeJeff Rodriguez has a reputation beyond reputeJeff Rodriguez has a reputation beyond reputeJeff Rodriguez has a reputation beyond reputeJeff Rodriguez has a reputation beyond reputeJeff Rodriguez has a reputation beyond repute
Send a message via AIM to Jeff Rodriguez Send a message via Yahoo to Jeff Rodriguez
Re: paper: TI calc scouting program

Quote:
Originally Posted by Elgin Clock View Post
Hey Jeff, what kind of problems were you running into? I obviously can't commit to anything yet, but just wondering if we would be able to help out any. Let me know sometime before Hartford, & we'll see what can be done with it. I'll actually be in the neighborhood this weekend up at CCSU for a play on Saturday night. (Btw, I haven't used a TI heavily in about 5 years or so, but I did have limited programming experience on it at one time back in the day! lol)
The problem is with converting the matrix file that TI outputs to something useful. It's basically an XML file, but I, nor anyone on the team, has any experience with xml.
The data is stored in a matrix. Each team per match has their own row. The format is, in column order from left to right: Team #, Robot balls made, robot balls missed, empty cells grabbed, empty cells converted, payloader made, payloader missed, match #. Here's what the file looks like when opened in a text editor:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>cells</key>
    <array>
        <dict>
            <key>column</key>
            <integer>5</integer>
            <key>numberValue</key>
            <integer>11</integer>
            <key>row</key>
            <integer>2</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>6</integer>
            <key>numberValue</key>
            <integer>5</integer>
            <key>row</key>
            <integer>1</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>5</integer>
            <key>numberValue</key>
            <integer>11</integer>
            <key>row</key>
            <integer>3</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>0</integer>
            <key>numberValue</key>
            <integer>25</integer>
            <key>row</key>
            <integer>3</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>0</integer>
            <key>numberValue</key>
            <integer>839</integer>
            <key>row</key>
            <integer>1</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>7</integer>
            <key>numberValue</key>
            <integer>2</integer>
            <key>row</key>
            <integer>2</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>7</integer>
            <key>numberValue</key>
            <integer>1</integer>
            <key>row</key>
            <integer>0</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>6</integer>
            <key>numberValue</key>
            <integer>4</integer>
            <key>row</key>
            <integer>0</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>6</integer>
            <key>numberValue</key>
            <integer>5</integer>
            <key>row</key>
            <integer>2</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>0</integer>
            <key>numberValue</key>
            <integer>571</integer>
            <key>row</key>
            <integer>2</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>0</integer>
            <key>numberValue</key>
            <integer>173</integer>
            <key>row</key>
            <integer>0</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>5</integer>
            <key>numberValue</key>
            <integer>12</integer>
            <key>row</key>
            <integer>1</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>6</integer>
            <key>numberValue</key>
            <integer>6</integer>
            <key>row</key>
            <integer>3</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>7</integer>
            <key>numberValue</key>
            <integer>1</integer>
            <key>row</key>
            <integer>1</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>5</integer>
            <key>numberValue</key>
            <integer>10</integer>
            <key>row</key>
            <integer>0</integer>
        </dict>
        <dict>
            <key>column</key>
            <integer>7</integer>
            <key>numberValue</key>
            <integer>2</integer>
            <key>row</key>
            <integer>3</integer>
        </dict>
    </array>
    <key>columnCount</key>
    <integer>8</integer>
    <key>containsComplex</key>
    <false/>
    <key>device name</key>
    <string>[F]</string>
    <key>device type</key>
    <string>TI-83 Plus</string>
    <key>object type</key>
    <string>Matrix</string>
    <key>rowCount</key>
    <integer>15</integer>
</dict>
</plist>
Converting that text (matrix file) is what we're having trouble with. If anyone can get it, it would be great.
I was also thinking of adding a 9th column to the table for # of balls in their trailer. It's easy enough to add in the calculator program and it will allow you to get the +/- rating that many teams are using.
__________________
173, student: 1999-2002
173, mentor: 2005-2010
155, teacher: 2011-
Reply With Quote
 


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
paper: Scouting sheet v 3 Tri_Lam Extra Discussion 1 20-03-2007 14:54
paper: Martian Scouting Sheets JackN Extra Discussion 6 18-02-2007 23:54
paper: Scouting Process rick.oliver Scouting 1 24-04-2006 10:00
scouting program Marjory Frosty Scouting 12 21-02-2006 16:30
Scouting Program? Jeffel Programming 3 16-02-2005 08:41


All times are GMT -5. The time now is 03:27.

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