mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
GUI: Updated data recorder action and message info on close
This commit is contained in:
@@ -47,14 +47,17 @@ public:
|
||||
DataRecorder(QWidget * parent = 0);
|
||||
bool init(const QString & path, bool recordInRAM = true);
|
||||
|
||||
void close();
|
||||
void closeRecorder();
|
||||
|
||||
virtual ~DataRecorder();
|
||||
|
||||
const QString & path() const {return path_;}
|
||||
|
||||
public slots:
|
||||
void addData(const rtabmap::SensorData & data);
|
||||
void showImage(const rtabmap::SensorData & data);
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent* event);
|
||||
void handleEvent(UEvent * event);
|
||||
|
||||
private:
|
||||
@@ -62,6 +65,7 @@ private:
|
||||
ImageView* imageView_;
|
||||
UTimer timer_;
|
||||
int dataQueue_;
|
||||
QString path_;
|
||||
};
|
||||
|
||||
} /* namespace rtabmap */
|
||||
|
||||
Reference in New Issue
Block a user