![]() |
Scouting Data Interchange Format
I think specifying a file format for scouting data would help when people start trying to share data. Since the main goal is to help with sharing, I thought I should try to include as many people as is feasable.
The goals I had in mind:
|
Re: Scouting Data Interchange Format
A 'file format' will require applications to be specifically tailored to read these files. What you really want is a unified CSV structure, which specifies either common variables that are acceptable as column and row headers, or a common structure which makes Row A a team list, row B their record, and etc. Obviously specifics for anything need to be worked out, but by using a CSV you allow anyone to easily access this data, either with their own scouting application, or simply Excel, Openoffice, and Google Spreadsheets if they prefer. (I personally know in 2006 team 291 had a purely ridiculous/amazing spreadsheet set up in excel with tons of data that was easily manipulated by someone familiar with the structure).
|
Re: Scouting Data Interchange Format
I like the idea, but I don't believe it is likely, that a large majority of teams would ever use it. If it is just a format.
I believe the only way you could ever have this be a success you would need to develop a complete, easily customizable, but still universal, tool chain. I think a CSV file(s) would be one of the best ways to do that. If you are serious about this you should start a SourceForge project. |
Re: Scouting Data Interchange Format
Quote:
|
Re: Scouting Data Interchange Format
what about xml? xml files are easy to use all you need is to know how to interpret the structure and be able to parse it. and you can invent new tags just for robotics as long as the interpreters can handle them.
just my .02 ...forest |
Re: Scouting Data Interchange Format
CSV does already have applications that work with it, and XML does require an application to be modified to work with the data. How much work, then, do you have to do to interpret the same data in CSV vs. XML?
As for the toolchain: Yes, a toolchain would help significantly. No, I don't think it will the ultimate definition of success or failure. Data can, and should, be shared without everyone using the same application. Don't forget that teams 537 (?) and team 768 both have their own applications already. On top of that, there's STAMP. I cannot commit myself to my definition of a full-on scouting application just yet, but that's not necessarily a 'no'. For those teams that really want blow-by-blow autonomous, that could potentially be stored in the match results, particularly if they are per-team. Now that I've given a reaction, let's introduce some new material to digest/make-the-thread-more-confusing-with: I was thinking the file data should be stored in XML. We could make CSV work, but I strongly suspect that it would be more work to interpret the data, especially considering the XML parsers for just about every language. From there, data could either be in one file, or split across files. I prefer split for things such as a team list, match list, and competition list, and pit data, but all-in-one for each competition's match data. To allow all-in-one, we would have to have tags for each data type, with the year as a property: Code:
<ScoutingData><MatchData year="2004"></MatchData>A team list would be very straightforward: Code:
<TeamList year="1970">Pit data is slightly more complex. First, a certain number of teams have to agree as to what is useful pit data. Which team is specified using <teamData number=1234>. For each bit of data stored, either the property is the tag name (<acceleration value="2 m/s^2" />) or a property of a pre-defined tag (<PitDatum name="acceleration" value="2m/s^2" />). If the value property isn't specified, then it is assumed that the data between the opening tag and the closing tag is the content. The next sample would be valid for max speeds on various gears: Code:
<PitData year=1970>Code:
<MatchData year=1970 competition="That One Regional">Code:
<fieldState>Code:
<totalPoints alliance="red" value=125 />Just so everything is clear: certain groups of teams will have to agree what data should be included in their files and applications. Not everyone will be able to share their data with everyone else. I'm not about to try and do anything about it. Sorry for the length, thanks for reading the whole post through. What do the readers think? |
Re: Scouting Data Interchange Format
Personally, I'm inclined to agree that XML may well be a better format for many of the reasons enumerated above. (Admittedly, it's also just as easy to have both as export/import methods - I did write such - but I have to say that I think XML is more easily readable when there's a problem, as opposed to having to either whip out Excel or count commas. :) )
I think that agreeing on the majority of the structure of such a file, though, is something better left for when we get into the new season. Some basic bits and pieces could be agreed upon now, such as which information is needed for a team, or for regional competitions, but admittedly the lion's share is probably something that needs to wait until January. |
Re: Scouting Data Interchange Format
another cool thing about xml is that it is easily viewed online all you need is some php a simple server (wamp, lamp, xampp, etc can even be run off a thumb drive) and a browser then you can have all the stuff on a server and dynamically updated throughout the season. and at regionals 1 person could run a server and then upload that data online that night to make it available to scouts at home.
...forest |
| All times are GMT -5. The time now is 17:12. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi