11 #include <std_msgs/Empty.h> 20 QHBoxLayout* topic_layout =
new QHBoxLayout;
21 topic_layout->addWidget(
new QLabel(
"Topic:" ));
27 QVBoxLayout* layout =
new QVBoxLayout;
28 layout->addLayout( topic_layout );
31 layout->addWidget( send_topic_button_ );
35 connect( send_topic_button_, SIGNAL( clicked() ),
this, SLOT(
sendTopic ()));
PublishTopic(QWidget *parent=0)
void publish(const boost::shared_ptr< M > &message) const
PLUGINLIB_EXPORT_CLASS(jsk_rviz_plugins::PictogramArrayDisplay, rviz::Display)
ros::Publisher velocity_publisher_
virtual void save(rviz::Config config) const
QLineEdit * output_topic_editor_
bool mapGetString(const QString &key, QString *value_out) const
void mapSetValue(const QString &key, QVariant value)
void setTopic(const QString &topic)
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
virtual void load(const rviz::Config &config)
virtual void save(Config config) const
virtual void load(const Config &config)
QPushButton * send_topic_button_