RoboDK Plug-In Interface
FormRobotPilot Class Reference

#include <formrobotpilot.h>

Inheritance diagram for FormRobotPilot:

Public Member Functions

 FormRobotPilot (RoboDK *rdk, QWidget *parent=nullptr)
 
bool SelectRobot ()
 Select a robot in the Robot variable. More...
 
void IncrementalMove (int id, double sense)
 IncrementalMove. More...
 

Private Slots

void on_btnSelectRobot_clicked ()
 Select a robot (useful if you have more than one robot in your station) More...
 
void on_radCartesianTool_clicked ()
 
void on_radJoints_clicked ()
 
void on_radCartesianReference_clicked ()
 
void on_btnTXn_clicked ()
 
void on_btnTYn_clicked ()
 
void on_btnTZn_clicked ()
 
void on_btnRXn_clicked ()
 
void on_btnRYn_clicked ()
 
void on_btnRZn_clicked ()
 
void on_btnTXp_clicked ()
 
void on_btnTYp_clicked ()
 
void on_btnTZp_clicked ()
 
void on_btnRXp_clicked ()
 
void on_btnRYp_clicked ()
 
void on_btnRZp_clicked ()
 
void on_chkRunOnRobot_clicked (bool checked)
 

Private Member Functions

void setup_btn_joints ()
 Set the jog button text as joint movements. More...
 
void setup_btn_cartesian ()
 Set the jog button text as Cartesian movement. More...
 

Private Attributes

Ui::FormRobotPilot * ui
 
RoboDKRDK
 Pointer to the RoboDK interface. More...
 
Item Robot
 Pointer to the robot that we are piloting. More...
 

Detailed Description

The form FormRobotPilot allows you to move a robot by increments of a desired size. This forms shows and example that integrates the RoboDK API with a Plug-In to customize a window docked inside RoboDK's main window.

Definition at line 15 of file formrobotpilot.h.

Constructor & Destructor Documentation

◆ FormRobotPilot()

FormRobotPilot ( RoboDK rdk,
QWidget *  parent = nullptr 
)
explicit

Definition at line 4 of file formrobotpilot.cpp.

◆ ~FormRobotPilot()

Definition at line 27 of file formrobotpilot.cpp.

Member Function Documentation

◆ IncrementalMove()

void IncrementalMove ( int  id,
double  sense 
)

IncrementalMove.

Parameters
idJoint id or cartesian move id [x,y,z,r,p,w]
sense+1 (positive motion) or -1 (negative motion)

Definition at line 114 of file formrobotpilot.cpp.

◆ on_btnRXn_clicked

void on_btnRXn_clicked ( )
privateslot

Definition at line 102 of file formrobotpilot.cpp.

◆ on_btnRXp_clicked

void on_btnRXp_clicked ( )
privateslot

Definition at line 109 of file formrobotpilot.cpp.

◆ on_btnRYn_clicked

void on_btnRYn_clicked ( )
privateslot

Definition at line 103 of file formrobotpilot.cpp.

◆ on_btnRYp_clicked

void on_btnRYp_clicked ( )
privateslot

Definition at line 110 of file formrobotpilot.cpp.

◆ on_btnRZn_clicked

void on_btnRZn_clicked ( )
privateslot

Definition at line 104 of file formrobotpilot.cpp.

◆ on_btnRZp_clicked

void on_btnRZp_clicked ( )
privateslot

Definition at line 111 of file formrobotpilot.cpp.

◆ on_btnSelectRobot_clicked

void on_btnSelectRobot_clicked ( )
privateslot

Select a robot (useful if you have more than one robot in your station)

Definition at line 31 of file formrobotpilot.cpp.

◆ on_btnTXn_clicked

void on_btnTXn_clicked ( )
privateslot

Definition at line 99 of file formrobotpilot.cpp.

◆ on_btnTXp_clicked

void on_btnTXp_clicked ( )
privateslot

Definition at line 106 of file formrobotpilot.cpp.

◆ on_btnTYn_clicked

void on_btnTYn_clicked ( )
privateslot

Definition at line 100 of file formrobotpilot.cpp.

◆ on_btnTYp_clicked

void on_btnTYp_clicked ( )
privateslot

Definition at line 107 of file formrobotpilot.cpp.

◆ on_btnTZn_clicked

void on_btnTZn_clicked ( )
privateslot

Definition at line 101 of file formrobotpilot.cpp.

◆ on_btnTZp_clicked

void on_btnTZp_clicked ( )
privateslot

Definition at line 108 of file formrobotpilot.cpp.

◆ on_chkRunOnRobot_clicked

void on_chkRunOnRobot_clicked ( bool  checked)
privateslot

Definition at line 188 of file formrobotpilot.cpp.

◆ on_radCartesianReference_clicked

void on_radCartesianReference_clicked ( )
privateslot

Definition at line 85 of file formrobotpilot.cpp.

◆ on_radCartesianTool_clicked

void on_radCartesianTool_clicked ( )
privateslot

Definition at line 89 of file formrobotpilot.cpp.

◆ on_radJoints_clicked

void on_radJoints_clicked ( )
privateslot

Definition at line 94 of file formrobotpilot.cpp.

◆ SelectRobot()

bool SelectRobot ( )

Select a robot in the Robot variable.

Returns
True if a robot was properly retrieved

Definition at line 35 of file formrobotpilot.cpp.

◆ setup_btn_cartesian()

void setup_btn_cartesian ( )
private

Set the jog button text as Cartesian movement.

Definition at line 71 of file formrobotpilot.cpp.

◆ setup_btn_joints()

void setup_btn_joints ( )
private

Set the jog button text as joint movements.

Definition at line 57 of file formrobotpilot.cpp.

Member Data Documentation

◆ RDK

RoboDK* RDK
private

Pointer to the RoboDK interface.

Definition at line 71 of file formrobotpilot.h.

◆ Robot

Item Robot
private

Pointer to the robot that we are piloting.

Definition at line 74 of file formrobotpilot.h.

◆ ui

Ui::FormRobotPilot* ui
private

Definition at line 68 of file formrobotpilot.h.


The documentation for this class was generated from the following files: