Logs

From PaparazziUAV
Revision as of 00:52, 29 August 2007 by HectoPascal (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

On each launch, the server creates a log of all the messages sent by the aircraft. This log can be used to analyse flight data and to replay the flight.

Format

The log files are stored in the var/logs/ folder (under PAPARAZZI_HOME). A log is splitted in two files:

  • A .log file, an XML file, which contains a copy of the whole configuration (airframes, flight plans, ...).
  • A .data file, an ascii file, which contains the list of the received messages. Each message is time-stamped in seconds since the creation of the file.

The basename of these two files is the same and is build from the date and time at the creation.

Note: The .data files may be huge (about 4M per hour with a standard telemetry configuration). They can be efficiently compressed. The tools described in the next sections handle most of the compressed format (.zip, .gz, .bz2, ...). The bzip2 compression seems to perform better than others on these files.

Data Plotting

Replay