19 QHBoxLayout* motion_record_layout =
new QHBoxLayout;
27 layout->addLayout( motion_record_layout );
37 pub_ =
nh_.
advertise<jsk_rviz_plugins::RecordCommand>(
"/record_command", 1 );
45 jsk_rviz_plugins::RecordCommand
msg;
46 msg.target = (it->target_name_)->
text().toStdString();
47 msg.command = jsk_rviz_plugins::RecordCommand::PLAY;
59 it->target_name_->hide();
60 delete it->target_name_;
62 it->play_button_->hide();
63 delete it->play_button_;
65 it->remove_button_->hide();
66 delete it->remove_button_;
88 jsk_rviz_plugins::RecordCommand
msg;
89 msg.target = topic_name;
90 msg.command = jsk_rviz_plugins::RecordCommand::RECORD;
99 jsk_rviz_plugins::RecordCommand
msg;
100 msg.target = topic_name;
101 msg.command = jsk_rviz_plugins::RecordCommand::RECORD_STOP;
108 tll.
id = lastTll.
id + 1;
QSignalMapper * m_play_sigmap_
PLUGINLIB_EXPORT_CLASS(jsk_rviz_plugins::PictogramArrayDisplay, rviz::Display)
void OnClickDeleteButton(int id)
void addTopicList(std::string topic_name)
RecordAction(QWidget *parent=0)
virtual void save(Config config) const
QPushButton * record_interface_button_
QPushButton * remove_button_
std::vector< motionListLayout > motion_list_layouts_
void publish(const boost::shared_ptr< M > &message) const
virtual void load(const rviz::Config &config)
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
QLineEdit * record_motion_name_editor_
QPushButton * play_button_
void OnClickPlayButton(int id)
virtual void save(rviz::Config config) const
virtual void load(const Config &config)
QSignalMapper * m_delete_sigmap_