SignalLogger
A library for signal logging.
Rqt GUI

Variable configuration tab

The log variable configuration GUI has several functionalities:

  • The 'Filter'-Textfield; can be used to search the log elements for matching names.
  • 'For All Action'-Dropdown (Enable all elements in figure); selects action for all elements.
  • 'For All Value'-Spinbox (0 in figure); determines the value of the for-all action.
  • 'Apply'-Button; applies the for-all action to the GUI (NOTE: does not execute change all)
  • 'Freq'-Label ("500 Hz" in figure); the collect frequency of the logger
  • 'Ns'-Label "/log" in figure); the namespace of the logger
  • 'Logger Element List'; a list of all elements added to the logger
  • 'Change All'-Button; Changes all elements in the logger.
  • 'Refresh All'-Button; Gets element information for all elements from the logger.

An element of the Logger Element List has the following entries:

  • 'Nr'-Label; The elements are enumerated in alphabetical order
  • 'log?'-Checkbox; If this box is enabled the element is logged with the given settings.
  • 'Name'-Label; The log variable name, including namespace and group.
  • 'Action'-Dropdown; Allows selecting the desired logging action.
  • 'Divider'-Spinbox; Divider is specified as an integer number.
  • 'Buffer Size'-Spinbox; Sets the buffer size of the log element.
  • 'Buffer Type'-Dropdown; Sets the buffer type of the log element.
  • 'Buffer Indicator'; Indicates the current buffer state (Light Blue: Total elements / Dark Blue: Unread elements / Purple: Unread = Total)
  • 'Change'-Button; Changes the element in the logger.
  • 'Refresh'-Button; Refreshes the element from the logger.
varsGUI.png
Rqt GUI Log Variable Settings

Logger configuration tab

The 'Status'-field at the top informs the user of errors/success.

The logger can be interfaced with three buttons:

  • 'Start Logger'-Button; Starts the logger.
  • 'Stop Logger'-Button; Stops the logger.
  • 'Restart Logger'-Button; Restarts the logger.
  • 'Save'-Button; Saves the logger data to a all selected log file types.
  • 'Binary'-RadioButton; Enables saving of a binary file.
  • 'CSV'-RadioButton; Enables saving of a csv file.
  • 'Bag'-RadioButton; Enables saving of a bag file.
  • 'Namespace'-LineEdit; Namespace of the logger you want to edit.

The second part of this GUI can be used to load/save data to a logger script.

  • 'Path'-Textfield; Path of logging script can be entered.
  • '...'-Button; Opens the file browser.
  • 'Load Script'-Button; Loads the script in 'Path'.
  • 'Save Script'-Button; Saves the script to 'Path'.
configureGUI.png
Rqt GUI Logger Configuration