Files
rtabmap_ros/rtabmap/src/GuiWrapper.h
T

52 lines
963 B
C++
Raw Normal View History

/*
* GuiWrapper.h
*
* Created on: 4 févr. 2010
* Author: labm2414
*/
#ifndef GUIWRAPPER_H_
#define GUIWRAPPER_H_
#include <ros/ros.h>
2012-12-11 18:05:05 +00:00
#include "rtabmap/InfoEx.h"
#include "utilite/UEventsHandler.h"
2012-06-24 17:19:34 +00:00
#include <geometry_msgs/TwistStamped.h>
namespace rtabmap
{
class MainWindow;
}
class QApplication;
class GuiWrapper : public UEventsHandler
{
public:
GuiWrapper(int & argc, char** argv);
virtual ~GuiWrapper();
int exec();
protected:
virtual void handleEvent(UEvent * anEvent);
private:
2012-12-11 18:05:05 +00:00
void infoExReceivedCallback(const rtabmap::InfoExConstPtr & infoMsg);
private:
2012-12-11 18:05:05 +00:00
ros::Subscriber infoExTopic_;
QApplication * app_;
rtabmap::MainWindow * mainWindow_;
ros::ServiceClient resetMemoryClient_;
ros::ServiceClient dumpMemoryClient_;
ros::ServiceClient changeCameraImgRateClient_;
ros::ServiceClient deleteMemoryClient_;
ros::ServiceClient dumpPredictionClient_;
ros::Publisher parametersUpdatedPub_;
};
#endif /* GUIWRAPPER_H_ */