30 #ifndef MAPVIZ_PLUGINS_PLAN_ROUTE_PLUGIN_H_ 31 #define MAPVIZ_PLUGINS_PLAN_ROUTE_PLUGIN_H_ 50 #include <geometry_msgs/PoseWithCovarianceStamped.h> 51 #include <move_base_msgs/MoveBaseAction.h> 55 #include "ui_move_base_config.h" 72 void Draw(
double x,
double y,
double scale);
74 void Paint(QPainter* painter,
double x,
double y,
double scale) {}
77 void LoadConfig(
const YAML::Node& node,
const std::string& path);
78 void SaveConfig(YAML::Emitter& emitter,
const std::string& path);
83 virtual void PrintError(
const std::string& message)
override;
84 virtual void PrintInfo(
const std::string& message)
override;
85 virtual void PrintWarning(
const std::string& message)
override;
86 virtual bool eventFilter(QObject *
object, QEvent* event)
override;
118 #endif // MAPVIZ_PLUGINS_PLAN_ROUTE_PLUGIN_H_ move_base_msgs::MoveBaseAction move_base_msg_
void on_pushButtonAbort_clicked()
bool handleMouseMove(QMouseEvent *)
void Paint(QPainter *painter, double x, double y, double scale)
mapviz::MapCanvas * map_canvas_
QWidget * GetConfigWidget(QWidget *parent)
virtual bool eventFilter(QObject *object, QEvent *event) override
void SaveConfig(YAML::Emitter &emitter, const std::string &path)
virtual void PrintError(const std::string &message) override
void timerCallback(const ros::TimerEvent &ev=ros::TimerEvent())
bool monitoring_action_state_
void Draw(double x, double y, double scale)
actionlib::SimpleActionClient< move_base_msgs::MoveBaseAction > MoveBaseClient
MoveBaseClient move_base_client_
bool handleMousePress(QMouseEvent *)
void on_pushButtonInitialPose_toggled(bool checked)
QPointF arrow_tail_position_
ros::Publisher init_pose_pub_
virtual void PrintInfo(const std::string &message) override
virtual void PrintWarning(const std::string &message) override
bool Initialize(QGLWidget *canvas)
void on_pushButtonGoalPose_toggled(bool checked)
bool handleMouseRelease(QMouseEvent *)
void LoadConfig(const YAML::Node &node, const std::string &path)
virtual ~MoveBasePlugin()