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
RoboDK* RDK
Pointer to the RoboDK interface.More...
Item Robot
Pointer to the robot that we are piloting.More...

Detailed Description

The formFormRobotPilot允许您移动机器人德西的增量red 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 line15of fileformrobotpilot.h.

Constructor & Destructor Documentation

FormRobotPilot()

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

Definition at line4of fileformrobotpilot.cpp.

~FormRobotPilot()

Definition at line27of fileformrobotpilot.cpp.

Member Function Documentation

IncrementalMove()

void IncrementalMove ( int id,
double sense
)

IncrementalMove.

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

Definition at line114of fileformrobotpilot.cpp.

on_btnRXn_clicked

void on_btnRXn_clicked ( )
privateslot

Definition at line102of fileformrobotpilot.cpp.

on_btnRXp_clicked

void on_btnRXp_clicked ( )
privateslot

Definition at line109of fileformrobotpilot.cpp.

on_btnRYn_clicked

void on_btnRYn_clicked ( )
privateslot

Definition at line103of fileformrobotpilot.cpp.

on_btnRYp_clicked

void on_btnRYp_clicked ( )
privateslot

Definition at line110of fileformrobotpilot.cpp.

on_btnRZn_clicked

void on_btnRZn_clicked ( )
privateslot

Definition at line104of fileformrobotpilot.cpp.

on_btnRZp_clicked

void on_btnRZp_clicked ( )
privateslot

Definition at line111of fileformrobotpilot.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 line31of fileformrobotpilot.cpp.

on_btnTXn_clicked

void on_btnTXn_clicked ( )
privateslot

Definition at line99of fileformrobotpilot.cpp.

on_btnTXp_clicked

void on_btnTXp_clicked ( )
privateslot

Definition at line106of fileformrobotpilot.cpp.

on_btnTYn_clicked

void on_btnTYn_clicked ( )
privateslot

Definition at line100of fileformrobotpilot.cpp.

on_btnTYp_clicked

void on_btnTYp_clicked ( )
privateslot

Definition at line107of fileformrobotpilot.cpp.

on_btnTZn_clicked

void on_btnTZn_clicked ( )
privateslot

Definition at line101of fileformrobotpilot.cpp.

on_btnTZp_clicked

void on_btnTZp_clicked ( )
privateslot

Definition at line108of fileformrobotpilot.cpp.

on_chkRunOnRobot_clicked

void on_chkRunOnRobot_clicked ( bool checked )
privateslot

Definition at line188of fileformrobotpilot.cpp.

on_radCartesianReference_clicked

void on_radCartesianReference_clicked ( )
privateslot

Definition at line85of fileformrobotpilot.cpp.

on_radCartesianTool_clicked

void on_radCartesianTool_clicked ( )
privateslot

Definition at line89of fileformrobotpilot.cpp.

on_radJoints_clicked

void on_radJoints_clicked ( )
privateslot

Definition at line94of fileformrobotpilot.cpp.

SelectRobot()

bool SelectRobot ( )

Select a robot in the Robot variable.

Returns
True if a robot was properly retrieved

Definition at line35of fileformrobotpilot.cpp.

setup_btn_cartesian()

void setup_btn_cartesian ( )
private

Set the jog button text as Cartesian movement.

Definition at line71of fileformrobotpilot.cpp.

setup_btn_joints()

void setup_btn_joints ( )
private

Set the jog button text as joint movements.

Definition at line57of fileformrobotpilot.cpp.

Member Data Documentation

RDK

RoboDK* RDK
private

Pointer to the RoboDK interface.

Definition at line71of fileformrobotpilot.h.

Robot

ItemRobot
private

Pointer to the robot that we are piloting.

Definition at line74of fileformrobotpilot.h.

ui

Ui::FormRobotPilot* ui
private

Definition at line68of fileformrobotpilot.h.


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