Plotter

From PaparazziUAV
Revision as of 10:42, 16 June 2007 by HectoPascal (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Try it

Launch the plotter with (or configure it in your session)

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.