Robotics-lab6-data

From Earlham CS Department
Revision as of 13:52, 3 April 2010 by Brad (talk | contribs) (First Entry)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

We are looking to store the following information for each data point in our data file

  • identifiers for each of our compass sensors [S1, S2, ... Sn]
  • which room we are in [{D124, D128, D129}]
  • from which tile we are measuring [x,y]
  • when we took the measurement [timestamp: seconds since epoch]
  • what values we expected to get [E1, E2, ... En]
  • what values we actually read [R1, R2, ... Rn]

The following example shows a single line in the data file. It represents the readings from a tile at position (7, -10) in Dennis 128. In the Comma Separated Value (CSV) format, strings are enclosed in quotation marks only if they contain special characters (commas, newlines etc.). Spaces are omitted unless part of the data and a blank entry is represented as "".

sensor 1,sensor 4,sensor 7,sensor 12,D128,7,-10,1270320318,0,90,180,270,355,97,186,265

or generally

S1,S2,S3,S4,{D124,D128,D129},x,y,timestamp,E1,E2,E3,E4,R1,R2,R3,R4