Difference between revisions of "Logs"

From PaparazziUAV
Jump to navigation Jump to search
 
Line 12: Line 12:


==Data Plotting==
==Data Plotting==
Data stored in log files can be plotted with the [[Plotter]] (<tt>sw/logalizer/plot</tt> or launchable from the [[Paparazzi Center]]). This tool can plot data from different logs in the same window and data from the same log in different windows. It also offers to export the track as a KML file for [http://earth.google.com Google Earth].


==Replay==
==Replay==

Revision as of 23:59, 28 August 2007

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

Data stored in log files can be plotted with the Plotter (sw/logalizer/plot or launchable from the Paparazzi Center). This tool can plot data from different logs in the same window and data from the same log in different windows. It also offers to export the track as a KML file for Google Earth.

Replay