Class BagReader

Inheritance Relationships

Base Type

  • public QObject

Class Documentation

class BagReader : public QObject

Public Functions

void readBagFile(const QString &filename)

Reads a bag file at the specified path. Any log messages that were broadcast on the /rosout topic will be loaded and displayed.

Parameters:

filename[in] The name of the bag file to load.

Public Slots

void promptForBagFile()

Displays a file dialog that prompts the user to pick a bag file. After picking a bag file, log messages in the bag will be read and displayed in the log console.

Signals

void logReceived(const rcl_interfaces::msg::Log::ConstSharedPtr)

Emitted every time a log message is received. This will likely be emitted several times per bag file; finishedReading will be emitted when we’re done.

void finishedReading()

Emitted after we’re completely done reading the bag file.