CSCI 6280: Mobile Robotics, Spring 2005

Final project information

About the data file format

As you probably know by now, the formats for the three data files are quite different, and I want your programs to read a single file format. The main differences (aside from the format of the data) between the three data sets i've selected from RADISH are:

I've settled on a data format which will:

Conversion script and standard data files

I've written a litte script in Ruby, convert.rb that will convert the three files to the standard format. Since I'm providing the standard files, you don't actually need to run this, but it's here for your information or in case you'd like to play around with it. By the way, this script looks at the filename that you give it (on the command line), so it won't work for other data files, though it should be easy to set it up for other (similarly formatted) data files.

This script by default will produce the standard data file, but it can also produce an "odometry" file and a "laser" file which are suitable for plotting to see what the raw data look like. I plotted these files in gnuplot with the line:

plot "aces-laser.dat" using 1:2 with dots, "aces-odometry.dat" using 1:2 with lines
I've included the resulting pictures below. As you can see, the "aces" and "stanford" files produce something that resembles the environment. The "intel" file produces a big blob, so I'm not sure that I've interpreted the data in the file properly. (Relative versus absolute position datum, for example.)

Here are the data files in our standard format:

FYI, here's the output my script produced when creating these files:

$ ./convert.rb aces3_publicb.rtl all
Processed 21957 lines which contained:
7375 odometry measurements
7375 laser scans (only 7374 used).

$ ./convert.rb intel.script all
Processed 40546 lines which contained:
26915 odometry measurements
13631 laser scans (only 13631 used).

$ ./convert.rb stanford-gates1.log all
Processed 179428 lines which contained:
20724 odometry measurements
118312 laser scans (only 20724 used).

If you run this script on your machine, you may need to change the first line so it has the path to ruby on your system. (For example, in the CS SUNOS environment, it is at /usr/local/bin/ruby.) You can also call it by running ruby directly, for example:

$ ruby convert.rb stanford-gates1.log all

Pictures

Here are pictures of the raw data. (Actually, I have thrown out all laser measurements greater than 5 meters for these plots.) As you can see, the odometry drifts over the course of the run.