alignment_widget.h
Go to the documentation of this file.
1 #ifndef ALIGNMENT_WIDGET_H
2 #define ALIGNMENT_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_alignment/AlignmentService.h>
9 #endif
10 
11 class QLabel;
12 class QVBoxLayout;
13 class QPushButton;
14 
16 {
17 class AlignmentWidget : public QWidget
18 {
19  Q_OBJECT
20 public:
21  AlignmentWidget(QWidget* parent = NULL);
22  void load(const rviz::Config& config);
23  void save(rviz::Config config);
24  void setAlignmentParams(const fanuc_grinding_alignment::AlignmentService::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(const bool);
31  void enablePanelComparison();
32  void getCADAndScanParams();
33 
34 protected Q_SLOTS:
35  void connectToServices();
36  void triggerSave();
37  void updateGUI();
38  void updateInternalValues();
40  void alignment();
42  void setCADAndScanParams(const QString cad_filename,
43  const QString scan_filename);
44 
45 protected:
48  fanuc_grinding_alignment::AlignmentService srv_alignment_;
49 
50  QPushButton* alignment_button_;
51 };
52 
53 } // End namespace
54 
55 #endif // ALIGNMENT_WIDGET_H
#define NULL
void load(const rviz::Config &config)
fanuc_grinding_alignment::AlignmentService srv_alignment_
void sendMsgBox(const QString title, const QString msg, const QString info_msg)
void setCADAndScanParams(const QString cad_filename, const QString scan_filename)
config
void setAlignmentParams(const fanuc_grinding_alignment::AlignmentService::Request &params)
void sendStatus(const QString status)


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