Data logging
[Tutorials]


Detailed Description

Logging sensor data to files and playing it back.

Two player drivers support data logging and playback: readlog and writelog. See the docs for those drivers for details on usage.

Player log files have a simple text format. Messages are new-line separated, and any line beginning with a '#' is ignored. Every message line starts with common meta-data:

time host robot interface index type subtype

The fields are:

Following this common meta-data is the message payload, the format of which will depend on the interface, type, and subtype. See the "Modules" section below for links to interface-specific message formats.

By convention, configuration response messages such as geometry information are put at the beginning of the logfile. The writelog driver will try to get geometry and log it at the beginning of the file, and the readlog driver will read in configuration response messages from the file until a data message is encountered.


Modules

 aio format
 position2d log format
 laser format
 laser log format
 ptz format
 PTZ log format The format for each wsn message is:
  • pan (float): The pan angle/value
  • tilt (float): The tilt angle/value
  • zoom (float): The zoom factor
  • panspeed (float): The current panning speed
  • tiltspeed (float): The current tilting speed.

 opaque format
 sonar format
 sonar log format
 WiFi format
 wifi log format
 WSN format
 WSN log format.

Last updated 12 September 2005 21:38:45