RoboDK Plug-In Interface
Loading...
Searching...
No Matches
formrobotpilot.h
1#ifndef FORMROBOTPILOT_H
2#define FORMROBOTPILOT_H
3
4#include <QWidget>
5#include "irobodk.h"
6#include "iitem.h"
7
8namespace Ui {
10}
11
15class FormRobotPilot : public QWidget
16{
17 Q_OBJECT
18
19public:
20
21 explicit FormRobotPilot(RoboDK *rdk, QWidget *parent = nullptr);
23
26 bool SelectRobot();
27
31 void IncrementalMove(int id, double sense);
32
33private:
34
36 void setup_btn_joints();
37
40
41private slots:
42
45
46 // Radio buttons
47 void on_radCartesianTool_clicked();
48 void on_radJoints_clicked();
49 void on_radCartesianReference_clicked();
50
51 // 6x2 buttons:
52 void on_btnTXn_clicked();
53 void on_btnTYn_clicked();
54 void on_btnTZn_clicked();
55 void on_btnRXn_clicked();
56 void on_btnRYn_clicked();
57 void on_btnRZn_clicked();
58 void on_btnTXp_clicked();
59 void on_btnTYp_clicked();
60 void on_btnTZp_clicked();
61 void on_btnRXp_clicked();
62 void on_btnRYp_clicked();
63 void on_btnRZp_clicked();
64
65 void on_chkRunOnRobot_clicked(bool checked);
66
67private:
68 Ui::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.
Item Robot
Pointer to the robot that we are piloting.
RoboDK * RDK
Pointer to the RoboDK interface.
void setup_btn_cartesian()
Set the jog button text as Cartesian movement.
bool SelectRobot()
Select a robot in the Robot variable.
void on_btnSelectRobot_clicked()
Select a robot (useful if you have more than one robot in your station)
The Item class represents an item in RoboDK station. 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