RoboDK Plug-In Interface
formrobotpilot.h
1 #ifndef FORMROBOTPILOT_H
2 #define FORMROBOTPILOT_H
3
4 #include
5 #include "irobodk.h"
6 #include "iitem.h"
7
8 namespaceUi {
9 class FormRobotPilot;
10}
11
15 class FormRobotPilot:publicQWidget
16{
17Q_OBJECT
18
19 public:
20
21 explicit FormRobotPilot(RoboDK*rdk, QWidget *parent =nullptr);
23
26 bool SelectRobot();
27
31 void IncrementalMove(int id,doublesense);
32
33 private:
34
36 void setup_btn_joints();
37
40
41 privateslots:
42
45
46 // Radio buttons
47 voidon_radCartesianTool_clicked();
48 voidon_radJoints_clicked();
49 voidon_radCartesianReference_clicked();
50
51 // 6x2 buttons:
52 voidon_btnTXn_clicked();
53 voidon_btnTYn_clicked();
54 voidon_btnTZn_clicked();
55 voidon_btnRXn_clicked();
56 voidon_btnRYn_clicked();
57 voidon_btnRZn_clicked();
58 voidon_btnTXp_clicked();
59 voidon_btnTYp_clicked();
60 voidon_btnTZp_clicked();
61 voidon_btnRXp_clicked();
62 voidon_btnRYp_clicked();
63 voidon_btnRZp_clicked();
64
65 voidon_chkRunOnRobot_clicked(boolchecked);
66
67 private:
68Ui::FormRobotPilot *ui;
69
72
75
76};
77
78 #endif // FORMROBOTPILOT_H
void IncrementalMove(int id, double sense)
IncrementalMove.
void setup_btn_joints()
Set the jog button text as joint movements.
Definition: formrobotpilot.cpp:57
Item Robot
Pointer to the robot that we are piloting.
Definition: formrobotpilot.h:74
RoboDK * RDK
Pointer to the RoboDK interface.
Definition: formrobotpilot.h:71
void setup_btn_cartesian()
Set the jog button text as Cartesian movement.
Definition: formrobotpilot.cpp:71
bool SelectRobot()
Select a robot in the Robot variable.
Definition: formrobotpilot.cpp:35
void on_btnSelectRobot_clicked()
Select a robot (useful if you have more than one robot in your station)
Definition: formrobotpilot.cpp:31
项目类代表一个项目在RoboDK站转车n. An item can be a robot, a frame,...
Definition: iitem.h:14
This class is the iterface to the RoboDK API. With the RoboDK API you can automate certain tasks and ...
Definition: irobodk.h:14