Difference between revisions of "Plotter"

From PaparazziUAV
Jump to navigation Jump to search
Line 7: Line 7:
* Value scaling
* Value scaling
* PNG snapshot
* PNG snapshot
* Export of the flight track as a [http://code.google.com/apis/kml/documentation/ KML] file for [http://earth.google.com Google Earth]


===Try it===
===Try it===
Launch the plotter with (or configure it in your [[ControlPanel|session]])
Launch the plotter with (or from the Paparazzi Center)
  <tt>sw/logalizer/plot</tt>
  <tt>sw/logalizer/plot</tt>
from a shell.
from a shell.
Line 25: Line 26:


Save a screenshot of the window as a PNG image from the File menu (CTRL-S).
Save a screenshot of the window as a PNG image from the File menu (CTRL-S).
Export a KML file from the log menu.

Revision as of 07:52, 23 July 2007

Basic Log Plotter

The plot program (in sw/logalizer/) is a facility to plot data recorded in a log. Main features:

  • Multi-logs, multi-windows
  • Multi-curves, constant curves
  • Auto and manual display scaling
  • Value scaling
  • PNG snapshot
  • Export of the flight track as a KML file for Google Earth

Try it

Launch the plotter with (or from the Paparazzi Center)

sw/logalizer/plot

from a shell. Open (CTRL-O) a log (from the var/logs directory). A menu for each aircraft is inserted in the menubar. Select a field from this menu to plot it.

Plotter desired and measured pitch

The curve can be scaled by a factor by entering a value in the "Scale next by" entry. For example, to compare the desired and the measured pitch attitude, select "theta" from the "ATTITUDE" message with a (default) scale of 1., then set 57.3 (to convert radians into degrees) in the scale box and select "pitch" field from the "DESIRED" message.

To zoom on the curve, unselect the "Auto Scale" checkbox and choose the appropriate time/Y min and max.

A curve can be deleted from the "Curves" menu.

Open another window from the File menu (CTRL-N): the log menu will be inserted into any new window.

Save a screenshot of the window as a PNG image from the File menu (CTRL-S).

Export a KML file from the log menu.