37 #ifndef JSK_RVIZ_PLUGINS_TABLET_CONTROLLER_PANEL_H_ 38 #define JSK_RVIZ_PLUGINS_TABLET_CONTROLLER_PANEL_H_ 43 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) 50 #include <QPushButton> 51 #include <QVBoxLayout> 52 #include <QHBoxLayout> 54 #include <QListWidget> 55 #include <QListWidgetItem> 58 #include <QRadioButton> 59 #include <QPaintEvent> 60 #include <QMouseEvent> 61 #include <geometry_msgs/Twist.h> 62 #include <jsk_rviz_plugins/StringStamped.h> 63 #include <visualization_msgs/MarkerArray.h> 64 #include <boost/thread.hpp> 101 virtual void spotCallback(
102 const visualization_msgs::MarkerArray::ConstPtr&
marker);
103 virtual QString defaultButtonStyleSheet();
104 virtual QString executeButtonStyleSheet();
105 virtual QString radioButtonStyleSheet();
106 virtual QString listStyleSheet();
144 void taskButtonClicked();
145 void taskCancelClicked();
146 void taskExecuteClicked();
147 void spotButtonClicked();
148 void spotGoClicked();
149 void spotCancelClicked();
QVBoxLayout * spot_dialog_layout_
QPushButton * task_execute_button_
QPushButton * task_cancel_button_
QHBoxLayout * task_dialog_button_layout_
ros::Subscriber sub_spots_
std::vector< QRadioButton * > task_radio_buttons_
QPushButton * spot_go_button_
TabletCmdVelArea * cmd_vel_area_
virtual void publishCmdVel(double x, double y, double theta)
virtual QSize sizeHint() const
QPushButton * spot_button_
virtual QSize minimumSizeHint() const
ros::Publisher pub_cmd_vel_
ros::Publisher pub_start_demo_
QPushButton * task_button_
std::vector< std::string > spots_
virtual void mousePressEvent(QMouseEvent *event)
QVBoxLayout * task_dialog_layout_
virtual void mouseMoveEvent(QMouseEvent *event)
virtual void paintEvent(QPaintEvent *event)
TabletCmdVelArea(QWidget *parent, ros::Publisher &pub_cmd_vel)
QPushButton * spot_cancel_button_
ros::Publisher pub_cmd_vel_
virtual void publishVelocity(int mouse_x, int mouse_y, int cx, int cy)
QHBoxLayout * spot_dialog_button_layout_
virtual void mouseReleaseEvent(QMouseEvent *event)