Go to Post Is it weird we think speed controllers are sexy? - vivek16 [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy > Scouting
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
  #16   Spotlight this post!  
Unread 31-12-2002, 10:45
Jack's Avatar
Jack Jack is offline
FIRST Scouting Network
AKA: Andrew Schenk
FRC #0201 (The FEDS)
Team Role: Alumni
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Rochester Hills
Posts: 643
Jack is a jewel in the roughJack is a jewel in the roughJack is a jewel in the rough
Send a message via AIM to Jack
Quote:
Originally posted by jonathan lall
Here's what I mean. This is an example of how a simple XML-based scouting sheet could look:

Code:
<?xml version="1.0" encoding="utf-8"?>
<scoutinfo>
	<team number="188" name="Woburn Robotics"></team>
	<robot name="Blizzard 3" type="goalbot"></robot>
	<goals number="2">excellent</goals>
	<balls number="0">N/A</balls>
	<traction>excellent</traction>
	<speed>good</speed>
	<motorpower number="6">excellent</motorpower>
	<gearbox type="one-speed"></gearbox>
	<gohome boolean="true">poor</gohome>
	<comments rating="8">
That's one nice robot. Fairly fast, really powerful, won't let go of goals involuntarily.
	</comments>
</scoutinfo>
All elements here are concrete values, whereas the attributes are more subjective. Since it's extensible, missing info shouldn't be a problem. There are a few ways we could do its DTD. All the attribute names are type, name, boolean, and number.
Yep. That's what i'll do. And thanks guys; I thought xml was much more involved that what it is. Very easy to do stuff in php.

PS: When outputting the data, should i just do some while( ) {} loops with echos, or are there any special xml output functions in php?

PPS: When people want to dump data from their palm and upload it to the site, should that be in CSV? or can palms (or whoever writes the program) do the dump in xml?
__________________
Team 201 - 2003 Great Lakes Semifinalists & 2003 Archimedes Division Finalists :|: Webmaster of www.feds201.com -> FBI Scouting
Winner of The 2003 ChiefDelphi Web Award for: User That Started The Most Non Chit Chat Threads
Winner of: 2003 FIRST Ventures with 5451.68 End Points

All about me: http://knehcsa.vze.com
**Check out the New FIRST Scouting Network**
  #17   Spotlight this post!  
Unread 02-01-2003, 23:08
Neal Turett Neal Turett is offline
Registered User
#0201
 
Join Date: Nov 2002
Location: Rochester Hills
Posts: 34
Neal Turett is on a distinguished road
I'm the person on Jack's team (201) writing our Scouting app, so here's my input.

a) I'm writing my program right now for WinCE, not Palm. This is because our team is getting WinCE devices, not Palm devices. I could write a Palm version too, as long as I get a heads up.

b) XML is as easy to output as CSV, from a programming perspective, they're both text. The main advantage to CSV is that it can be learnt by anyone, and is smaller. On the other hand, the XML standard can be changed mid-season with fewer issues.

I haven't looked at XML a lot, but I'm putting it to the top of my project list, and it doesn't sound hard.

Just thinking about it now, I would output the match scores as a CSV file, and the robot data files as a XML file.
  #18   Spotlight this post!  
Unread 03-01-2003, 12:39
Stephen Kowski's Avatar
Stephen Kowski Stephen Kowski is offline
BSEE, MSEE, JD
AKA: employed
no team
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Saint Petersburg, FL
Posts: 1,144
Stephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond repute
Send a message via AIM to Stephen Kowski
well I believe that XML is the way to go. I don't think there should be so many hard coded things in the XML file simply because it will be easier to generate with an ASP(or PHP if you prefer....yuck) script. Less hardcoded items the less I probably need to do. Just my opinion.

Just thinking about it now, I would output the match scores as a CSV file, and the robot data files as a XML file.

P.S. i think that this should be mainly a team info database if you want to put up match scores fine, but I don't think it should be part of the standard. It will just cause a hassle as my experience with this dictates.

Last edited by Stephen Kowski : 03-01-2003 at 12:42.
  #19   Spotlight this post!  
Unread 03-01-2003, 19:50
Stephen Kowski's Avatar
Stephen Kowski Stephen Kowski is offline
BSEE, MSEE, JD
AKA: employed
no team
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Saint Petersburg, FL
Posts: 1,144
Stephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond repute
Send a message via AIM to Stephen Kowski
Great! Now....

Ok once that is done we will have all the info in XML, but what about the ppl who have to bring that info back into an Access database (ME!!!) for their handheld application? Any Ideas?
  #20   Spotlight this post!  
Unread 03-01-2003, 20:04
Neal Turett Neal Turett is offline
Registered User
#0201
 
Join Date: Nov 2002
Location: Rochester Hills
Posts: 34
Neal Turett is on a distinguished road
Access + XML

If you're using Access, can't you write VBA code? I don't know VB, but I'm sure that there are either built-in libraries available to handle XML or you download one.

Or write your own, to taste.
  #21   Spotlight this post!  
Unread 03-01-2003, 20:09
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
The problem is this:

team 47 has data in the database.

import xml file

it has more (and different) data about team 47.


which data do you keep.
how do you merge.

etc etc.
__________________
Brandon Martus
e-mail
  #22   Spotlight this post!  
Unread 03-01-2003, 20:52
Neal Turett Neal Turett is offline
Registered User
#0201
 
Join Date: Nov 2002
Location: Rochester Hills
Posts: 34
Neal Turett is on a distinguished road
Existing Programs

We can't make an XML standard to conform with everybody's existing DB + Interface. Won't happen.

On the other hand, once the standard is set, I'm writing a PocketPC app that should be able to handle all of this stuff, and I know that others are seriously considering writing a program for Palm. I'm willing to polish my program to a distributable form and post it under whitepapers. I'd also post a computer side front-end for it, though it would most likely require a web server + PHP + MySQL to run. I'm sure that someone could be found to write a Access frontend, and possibly even a standalone app. If the data was in XML format to begin with, that wouldn't be so hard. If I find the time, I might even do it myself.

Other issues that arise once we have this standard is once we have a central repository for all this info, what happens if conflicting reports are entered. Not necessarily on the subjective stuff, but if one person says that a robot has 4WD and another says it only has 2WD? These are all issues that have to be worked out.

The credibility of the source is something that has to be considered when viewing the data. Even it comes from a third party, it still must be taken with a grain of salt. If it comes from the team you want information on, it has to be taken with a big grain of salt. Anything not purely objective can be questioned, and, as we all know, human beings lie. If we do have a central repository, the only way to prevent this would be to control who was able to enter data into the central repository. Every team would be able to enter their own data, as well as downloading data from, for example, www.feds201.com, as well.

Last edited by Neal Turett : 03-01-2003 at 20:55.
  #23   Spotlight this post!  
Unread 03-01-2003, 21:56
Jack's Avatar
Jack Jack is offline
FIRST Scouting Network
AKA: Andrew Schenk
FRC #0201 (The FEDS)
Team Role: Alumni
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Rochester Hills
Posts: 643
Jack is a jewel in the roughJack is a jewel in the roughJack is a jewel in the rough
Send a message via AIM to Jack
neal, i talked to Stephen who said he also would talk to the wash guy. I'll tell you all about what we decided tommorrow.

For any other teams trying to make a database to be shared with other teams / on the web. Here is a breif summery of what most likely will happen.

Team 312 will be making something like what they did last year. It will be a palm app to collect Basic Team Info, along with Match data. I beleave that they will also be making an Access interface to go with that. On their website, you will be able to dump the data from access and upload it. (http://heatwave.cat.pinellas.k12.fl.us/) (in XML format)

Team 201 will be doing the same thing (sort of). We will be making an app for Win CE. The app will collect the same data that the 312 app will collect. You may be using the same access frontend that 312 has, or I (201) may make their own. (but very similar) Then you will be able to upload data to our site. (www.feds201.com)

Now... A little magic will happen between the two sites every so often (15-30 min). The data between the two will merge and become one!

The exact data that will be collected will be decided on once the game is known. If you would like input on this, be sure to check CD over the next few days.

I am unsure what WASH is doing this year, but hopefully, it will go with the other two sites.

This way, you can use whichever site you prefer. www.feds201.com will be having some special things for Mid-West teams, and if your allready there, you can use this site. On the other hand, if your using the 'simulator' on 312, then you can use their site.

A little more info on the 201 site:

We also have a few other special features regarding scouting. Our system will be called the FBI. (no it's not with the team the FBI) it stands for FEDS Bureau of Intelligence. The other things we'll have are:

Team Profiles - I think that the ENTIRE first community will like this. It allows teams to have one person that can update data about their bot/team. It will have a 'free responce' section where you will be able to have ~1000 words. Then there will be another section where you will be able to place links to pictures either on your webserver or CD pic gallery. (The images can also be displayed in the page vi. a BB [img] tag) There will also be a section where teams will be able to fill in basic data about their bot. Ex: 2-4 wheel drive,...

Easy Voting (for lack of better name now ) - Next to each team's profile will be a seciton where people are allowed to vote on what they think that bot is like. Ex: Traction, Pulling power. Yes, this is all subjective data. BUT... if you have 500 people voting, it can become accurate. This is not like the other scouting data that will be uploaded. It will just be local to the 201 site.

Team Forums - This is a place where any user (even people that are not registered to www.feds201.com) can post data in a format just like CD. They will be able to ask a team a question, give it a comment, or give feedback that isn't included in scouting data. There is a seperate 'Team Forum' for every team.

wow... That's a lot. 312 and WASH, and any other teams that want to describe their system, please post it here now. Or contact myself at: webmaster@feds201.com or Stephen Kowski for more info/joing the 201&312 partership.

I hope that this will assist a lot of scouting teams for the entire 2003 FIRST season by providing a huge amount of data from each team. Remember, you won't ever be sharing your 'stragity' with everyone. We're just pooling every teams resources so that when the time comes to decide on teams everyone has a lot of data. Bottem Line: It is much better for the ENTIRE first community if you are in this system & upload data, rather than just keep to yourself.
__________________
Team 201 - 2003 Great Lakes Semifinalists & 2003 Archimedes Division Finalists :|: Webmaster of www.feds201.com -> FBI Scouting
Winner of The 2003 ChiefDelphi Web Award for: User That Started The Most Non Chit Chat Threads
Winner of: 2003 FIRST Ventures with 5451.68 End Points

All about me: http://knehcsa.vze.com
**Check out the New FIRST Scouting Network**
  #24   Spotlight this post!  
Unread 03-01-2003, 23:04
Jeff Waegelin's Avatar
Jeff Waegelin Jeff Waegelin is offline
El Jefe de 148
AKA: Midwest Refugee
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 2001
Location: Greenville, TX
Posts: 3,132
Jeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond repute
I'd just like to say the "FBI" name was my idea.... anyways, it sounds like a great plan, and I hope you'll all join in. Here's a picture of our FBI logo:

http://www.feds201.com/download.php?id=40
__________________
Jeff Waegelin
Mechanical Engineer, Innovation First Labs
Lead Engineer, Team 148 - The Robowranglers
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
White Paper Discuss: Standard Drive Photos CD47-Bot Extra Discussion 5 20-11-2003 20:00
Standard Operating Procedure K. Skontrianos General Forum 7 01-03-2003 14:02
We have to organize to win archiver 2001 18 24-06-2002 00:00
Seeding Calculations archiver 2000 50 23-06-2002 21:57
Need pinout for tether adaptor archiver 1999 4 23-06-2002 21:55


All times are GMT -5. The time now is 19:28.

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