properties_dialog.h
Go to the documentation of this file.
1 /*
2  * Copyright 2019 PAL Robotics SL. All Rights Reserved
3  *
4  * Unauthorized copying of this file, via any medium is strictly prohibited,
5  * unless it was supplied under the terms of a license agreement or
6  * nondisclosure agreement with PAL Robotics SL. In this case it may not be
7  * copied or disclosed except in accordance with the terms of that agreement.
8  */
9 #ifndef PROPERTIES_DIALOG_PMB_H
10 #define PROPERTIES_DIALOG_PMB_H
11 
12 #include <ui_properties_dialog.h>
13 
14 #include <QDialog>
15 
16 #include <ros/ros.h>
17 #include <play_motion_builder_msgs/StoreMotion.h>
18 
19 namespace pal
20 {
21 class MotionProperties : public QDialog
22 {
23  Q_OBJECT
24 public:
25  MotionProperties(QWidget *parent = 0);
26 
27  void init(ros::NodeHandle &nh);
28 
29  void reset();
30  void loadYamlName(const std::string &yaml_name);
31  void loadMeta(const std::string &name, const std::string &usage,
32  const std::string &description);
33 
34 private:
35  QLabel *out_label_;
36  Ui::MotionProperties ui_;
38 
39 private slots:
40  void onCancel();
41  void onTextChanged(const QString &text);
42  void onSaveYAML();
43 
44 signals:
45  void motionStored(QString motion_name);
46 };
47 }
48 
49 #endif /*PROPERTIES_DIALOG_PMB_H */
MotionProperties(QWidget *parent=0)
void init(ros::NodeHandle &nh)
description
void motionStored(QString motion_name)
ros::ServiceClient store_client_
def usage(progname)
void loadYamlName(const std::string &yaml_name)
Ui::MotionProperties ui_
void onTextChanged(const QString &text)
void loadMeta(const std::string &name, const std::string &usage, const std::string &description)


rqt_play_motion_builder
Author(s):
autogenerated on Mon Feb 28 2022 23:13:41