Go to the documentation of this file.
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>
69 class TabletCmdVelArea:
public QWidget
102 const visualization_msgs::MarkerArray::ConstPtr&
marker);
123 std::vector<std::string>
spots_;
virtual QString listStyleSheet()
QPushButton * task_execute_button_
virtual QSize minimumSizeHint() const
virtual QSize sizeHint() const
TabletControllerPanel(QWidget *parent=0)
virtual void save(rviz::Config config) const
void taskExecuteClicked()
ros::Subscriber sub_spots_
virtual ~TabletControllerPanel()
QVBoxLayout * task_dialog_layout_
ros::Publisher pub_start_demo_
ros::Publisher pub_cmd_vel_
QPushButton * spot_cancel_button_
QHBoxLayout * task_dialog_button_layout_
TabletCmdVelArea * cmd_vel_area_
QPushButton * spot_go_button_
std::vector< std::string > spots_
ros::Publisher pub_cmd_vel_
virtual QString executeButtonStyleSheet()
QPushButton * task_button_
virtual void publishVelocity(int mouse_x, int mouse_y, int cx, int cy)
virtual void mouseReleaseEvent(QMouseEvent *event)
TabletCmdVelArea(QWidget *parent, ros::Publisher &pub_cmd_vel)
virtual void paintEvent(QPaintEvent *event)
virtual void publishCmdVel(double x, double y, double theta)
virtual void spotCallback(const visualization_msgs::MarkerArray::ConstPtr &marker)
virtual QString radioButtonStyleSheet()
QHBoxLayout * spot_dialog_button_layout_
QPushButton * spot_button_
virtual void load(const rviz::Config &config)
virtual QString defaultButtonStyleSheet()
QVBoxLayout * spot_dialog_layout_
virtual void mousePressEvent(QMouseEvent *event)
virtual void mouseMoveEvent(QMouseEvent *event)
QPushButton * task_cancel_button_
std::vector< QRadioButton * > task_radio_buttons_
jsk_rviz_plugins
Author(s): Kei Okada
, Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Tue Dec 10 2024 03:48:25