30 #ifndef MAPVIZ_PLUGINS_POSE_PUBLISHER_PLUGIN_H_ 31 #define MAPVIZ_PLUGINS_POSE_PUBLISHER_PLUGIN_H_ 42 #include <geometry_msgs/PoseWithCovarianceStamped.h> 48 #include "ui_pose_publisher_config.h" 49 #include "ui_topic_select.h" 70 void Draw(
double x,
double y,
double scale);
72 void Paint(QPainter* painter,
double x,
double y,
double scale) {}
75 void LoadConfig(
const YAML::Node& node,
const std::string& path);
76 void SaveConfig(YAML::Emitter& emitter,
const std::string& path);
81 virtual void PrintError(
const std::string& message)
override;
82 virtual void PrintInfo(
const std::string& message)
override;
83 virtual void PrintWarning(
const std::string& message)
override;
84 virtual bool eventFilter(QObject *
object, QEvent* event)
override;
98 Ui::pose_publisher_config
ui_;
115 #endif // MAPVIZ_PLUGINS_POSE_PUBLISHER_PLUGIN_H_ void Paint(QPainter *painter, double x, double y, double scale)
bool monitoring_action_state_
Ui::pose_publisher_config ui_
virtual void PrintError(const std::string &message) override
void timerCallback(const ros::TimerEvent &ev=ros::TimerEvent())
void on_pushButtonPose_toggled(bool checked)
bool Initialize(QGLWidget *canvas)
mapviz::MapCanvas * map_canvas_
void LoadConfig(const YAML::Node &node, const std::string &path)
bool handleMouseRelease(QMouseEvent *)
QWidget * GetConfigWidget(QWidget *parent)
virtual void PrintInfo(const std::string &message) override
bool handleMousePress(QMouseEvent *)
virtual void PrintWarning(const std::string &message) override
void SaveConfig(YAML::Emitter &emitter, const std::string &path)
bool handleMouseMove(QMouseEvent *)
QPointF arrow_tail_position_
virtual bool eventFilter(QObject *object, QEvent *event) override
virtual ~PosePublisherPlugin()
void topicChanged(const QString &topic)
void Draw(double x, double y, double scale)