Logger
----------------------------------------------------

Summary
================

     This service logs all broadcasted Sick laser and SimplePosition messages to a 
file.  This file can then be played back with the Player service to recreate the exact run.


Installing
================

     Extract the service to: C:\Microsoft Robotics Studio (1.5)\samples\Logger.  
You should also extract the Player service to: C:\Microsoft Robotics Studio (1.5)\samples\Player. 


Usage
================

     Run this service along with services that broadcast Sick LRF messages and/or SimplePosition 
messages.  The messages will be saved to a text file located at C:\Microsoft Robotics Studio (1.5). 
Its name will start with DataLog, and it will be tagged with the month, day, and time of creation.  
This prevents you from overwriting log files.  But I suggest renaming it to something memorable once 
you do a good run.

     Typically, you will then use the Player service to read the log file and act as a substitute for 
the services previously run.  For example, you might run SimRobot, Mapper, and Logger to record a run.  
Then at a later date, run Mapper and Player to recreate that run.  You must manually edit Player.cs 
to enter the file name.


How it Works
================

     Every SimplePosition and Sick LRF message received gets written to file with the time received.  
Then, at a later date, Player broadcasts these messages at the right time.  Player also keeps an up 
to date state for the services and responds to Get messages.


Known Issues
================

 * Messages may be recorded out of order
 * There may be some discontinuity between real operation and Player operation


-----------------------------------------------------------------------
Ben Axelrod 2007 http://benaxelrod.com


