comparison_widget.h
Go to the documentation of this file.
1 #ifndef COMPARISON_WIDGET_H
2 #define COMPARISON_WIDGET_H
3 
4 #ifndef Q_MOC_RUN
5 #include <ros/ros.h>
6 #include <ros/service.h>
7 #include <rviz/panel.h>
8 #include <fanuc_grinding_comparison/ComparisonService.h>
9 #endif
10 
11 class QLabel;
12 class QVBoxLayout;
13 class QPushButton;
14 
16 {
17 class ComparisonWidget : public QWidget
18 {
19  Q_OBJECT
20 public:
21  ComparisonWidget(QWidget* parent = NULL);
22  void load(const rviz::Config& config);
23  void save(rviz::Config config);
24  void setComparisonParams(const fanuc_grinding_comparison::ComparisonService::Request &params);
25 
26 Q_SIGNALS:
27  void guiChanged();
28  void sendStatus(const QString status);
29  void sendMsgBox(const QString title, const QString msg, const QString info_msg);
30  void enablePanel(bool);
32  void getCADAndScanParams();
33 
34 protected Q_SLOTS:
35  void connectToServices();
36  void triggerSave();
37  void updateGUI();
38  void updateInternalValues();
40  void comparison();
42  void setCADAndScanParams(const QString cad_filename,
43  const QString scan_filename);
44 
45 protected:
48  fanuc_grinding_comparison::ComparisonService srv_comparison_;
49 
50  QPushButton* comparison_button_;
51 };
52 
53 } // End namespace
54 
55 #endif // COMPARISON_WIDGET_H
#define NULL
fanuc_grinding_comparison::ComparisonService srv_comparison_
void setComparisonParams(const fanuc_grinding_comparison::ComparisonService::Request &params)
void sendMsgBox(const QString title, const QString msg, const QString info_msg)
config
void setCADAndScanParams(const QString cad_filename, const QString scan_filename)


rviz_plugin
Author(s): Kévin Bolloré, Victor Lamoine - Institut Maupertuis
autogenerated on Thu Dec 19 2019 03:38:28