Robotsystem from Robot Group Leipzig: guilogger/ Directory Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

# guilogger Directory Reference

## Detailed Description

A tool to customize online gnuplot windows online.

Features

The sentence above means that you sent your different data "channels" (a channel is more or less a variable observed over time equipped with a label) per pipe to the guilogger. Guilogger provides a seperate window where you can choose which of the channels should be displayed in which window. According to your selection your data will be plotted online.
Furthermore guilogger gives the opportunity to save your data "channels" in a file together with the labels you selected for the channels.
To do something useful with these logfiles guilogger allows you to watch them again and navigate trough the logfile. Once you found a valuable figure you can use the gnuplot commands generated by guilogger. Copy this command in a console where gnuplot is running and you receive your figure and can save it to disk.

Here you can see a screenshot of the guilogger window with 9 channels. The used labels range from "x[0]" to "y[2]". The top three boxes after the word "Channels" are useless at the moment.

Usage
You start guilogger by typing `guilogger` and the right parameters. For working in pipe mode you type `-m pipe`. An additional `-l` enables the logging to a file. With `-d value` you setup a delay of length `value`.
One can also you can view a logfile with `guilogger -m file -f filename.log` where filename.log is the name of the logfile. Guilogger can also read from serial port with `guilogger -m serial -p portnumber`. This information is summarized in the parameter listing, which you can get by typing `guilogger --help`

guilogger parameter listing
`-m [mode]` mode = serial | pipe | file
`-p [port]` port = serial port to read from
`-f [file]` input file; only viwewing, no streaming
`-l` turns logging on
`-d [delay]` delay for piped input, should be a natural number
`--help` displays this message.

## Files
file | guilogger/README [code]
| This file is used for the doxygen documentation.