YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
piddlg.cpp File Reference
#include "piddlg.h"
#include "ui_piddlg.h"
#include <QDebug>
#include <QPushButton>
#include <yarp/os/Bottle.h>
#include <yarp/os/Value.h>
+ Include dependency graph for piddlg.cpp:

Go to the source code of this file.

Macros

#define TAB_POSITION   0
 
#define TAB_VELOCITY   1
 
#define TAB_TORQUE   2
 
#define TAB_STIFF   3
 
#define TAB_PWM   4
 
#define TAB_CURRENT   5
 
#define TAB_VARIABLES   6
 
#define POSITION_KP   0
 
#define POSITION_KD   1
 
#define POSITION_KI   2
 
#define POSITION_SCALE   3
 
#define POSITION_MAXOUTPUT   4
 
#define POSITION_MAXINT   5
 
#define POSITION_OFFSET   6
 
#define POSITION_STICTIONUP   7
 
#define POSITION_STICTIONDW   8
 
#define VELOCITY_KP   0
 
#define VELOCITY_KD   1
 
#define VELOCITY_KI   2
 
#define VELOCITY_SCALE   3
 
#define VELOCITY_MAXOUTPUT   4
 
#define VELOCITY_MAXINT   5
 
#define VELOCITY_OFFSET   6
 
#define VELOCITY_STICTIONUP   7
 
#define VELOCITY_STICTIONDW   8
 
#define TORQUE_KP   0
 
#define TORQUE_KD   1
 
#define TORQUE_KI   2
 
#define TORQUE_SCALE   3
 
#define TORQUE_MAXOUTPUT   4
 
#define TORQUE_MAXINT   5
 
#define TORQUE_OFFSET   6
 
#define TORQUE_STITCTIONUP   7
 
#define TORQUE_STICTIONDW   8
 
#define TORQUE_KFF   9
 
#define TORQUE_BEMFGAIN   10
 
#define TORQUE_BEMFSCALE   11
 
#define TORQUE_KTAUGAIN   12
 
#define TORQUE_KTAUSCALE   13
 
#define TORQUE_VISCOUSPOS   14
 
#define TORQUE_VISCOUSNEG   15
 
#define TORQUE_COULOMBPOS   16
 
#define TORQUE_COULOMBNEG   17
 
#define VELOCITY_THRESHOLD   18
 
#define CURRENT_KP   0
 
#define CURRENT_KD   1
 
#define CURRENT_KI   2
 
#define CURRENT_SCALE   3
 
#define CURRENT_MAXOUTPUT   4
 
#define CURRENT_MAXINT   5
 
#define CURRENT_OFFSET   6
 

Macro Definition Documentation

◆ CURRENT_KD

#define CURRENT_KD   1

Definition at line 63 of file piddlg.cpp.

◆ CURRENT_KI

#define CURRENT_KI   2

Definition at line 64 of file piddlg.cpp.

◆ CURRENT_KP

#define CURRENT_KP   0

Definition at line 62 of file piddlg.cpp.

◆ CURRENT_MAXINT

#define CURRENT_MAXINT   5

Definition at line 67 of file piddlg.cpp.

◆ CURRENT_MAXOUTPUT

#define CURRENT_MAXOUTPUT   4

Definition at line 66 of file piddlg.cpp.

◆ CURRENT_OFFSET

#define CURRENT_OFFSET   6

Definition at line 68 of file piddlg.cpp.

◆ CURRENT_SCALE

#define CURRENT_SCALE   3

Definition at line 65 of file piddlg.cpp.

◆ POSITION_KD

#define POSITION_KD   1

Definition at line 23 of file piddlg.cpp.

◆ POSITION_KI

#define POSITION_KI   2

Definition at line 24 of file piddlg.cpp.

◆ POSITION_KP

#define POSITION_KP   0

Definition at line 22 of file piddlg.cpp.

◆ POSITION_MAXINT

#define POSITION_MAXINT   5

Definition at line 27 of file piddlg.cpp.

◆ POSITION_MAXOUTPUT

#define POSITION_MAXOUTPUT   4

Definition at line 26 of file piddlg.cpp.

◆ POSITION_OFFSET

#define POSITION_OFFSET   6

Definition at line 28 of file piddlg.cpp.

◆ POSITION_SCALE

#define POSITION_SCALE   3

Definition at line 25 of file piddlg.cpp.

◆ POSITION_STICTIONDW

#define POSITION_STICTIONDW   8

Definition at line 30 of file piddlg.cpp.

◆ POSITION_STICTIONUP

#define POSITION_STICTIONUP   7

Definition at line 29 of file piddlg.cpp.

◆ TAB_CURRENT

#define TAB_CURRENT   5

Definition at line 19 of file piddlg.cpp.

◆ TAB_POSITION

#define TAB_POSITION   0

Definition at line 14 of file piddlg.cpp.

◆ TAB_PWM

#define TAB_PWM   4

Definition at line 18 of file piddlg.cpp.

◆ TAB_STIFF

#define TAB_STIFF   3

Definition at line 17 of file piddlg.cpp.

◆ TAB_TORQUE

#define TAB_TORQUE   2

Definition at line 16 of file piddlg.cpp.

◆ TAB_VARIABLES

#define TAB_VARIABLES   6

Definition at line 20 of file piddlg.cpp.

◆ TAB_VELOCITY

#define TAB_VELOCITY   1

Definition at line 15 of file piddlg.cpp.

◆ TORQUE_BEMFGAIN

#define TORQUE_BEMFGAIN   10

Definition at line 52 of file piddlg.cpp.

◆ TORQUE_BEMFSCALE

#define TORQUE_BEMFSCALE   11

Definition at line 53 of file piddlg.cpp.

◆ TORQUE_COULOMBNEG

#define TORQUE_COULOMBNEG   17

Definition at line 59 of file piddlg.cpp.

◆ TORQUE_COULOMBPOS

#define TORQUE_COULOMBPOS   16

Definition at line 58 of file piddlg.cpp.

◆ TORQUE_KD

#define TORQUE_KD   1

Definition at line 43 of file piddlg.cpp.

◆ TORQUE_KFF

#define TORQUE_KFF   9

Definition at line 51 of file piddlg.cpp.

◆ TORQUE_KI

#define TORQUE_KI   2

Definition at line 44 of file piddlg.cpp.

◆ TORQUE_KP

#define TORQUE_KP   0

Definition at line 42 of file piddlg.cpp.

◆ TORQUE_KTAUGAIN

#define TORQUE_KTAUGAIN   12

Definition at line 54 of file piddlg.cpp.

◆ TORQUE_KTAUSCALE

#define TORQUE_KTAUSCALE   13

Definition at line 55 of file piddlg.cpp.

◆ TORQUE_MAXINT

#define TORQUE_MAXINT   5

Definition at line 47 of file piddlg.cpp.

◆ TORQUE_MAXOUTPUT

#define TORQUE_MAXOUTPUT   4

Definition at line 46 of file piddlg.cpp.

◆ TORQUE_OFFSET

#define TORQUE_OFFSET   6

Definition at line 48 of file piddlg.cpp.

◆ TORQUE_SCALE

#define TORQUE_SCALE   3

Definition at line 45 of file piddlg.cpp.

◆ TORQUE_STICTIONDW

#define TORQUE_STICTIONDW   8

Definition at line 50 of file piddlg.cpp.

◆ TORQUE_STITCTIONUP

#define TORQUE_STITCTIONUP   7

Definition at line 49 of file piddlg.cpp.

◆ TORQUE_VISCOUSNEG

#define TORQUE_VISCOUSNEG   15

Definition at line 57 of file piddlg.cpp.

◆ TORQUE_VISCOUSPOS

#define TORQUE_VISCOUSPOS   14

Definition at line 56 of file piddlg.cpp.

◆ VELOCITY_KD

#define VELOCITY_KD   1

Definition at line 33 of file piddlg.cpp.

◆ VELOCITY_KI

#define VELOCITY_KI   2

Definition at line 34 of file piddlg.cpp.

◆ VELOCITY_KP

#define VELOCITY_KP   0

Definition at line 32 of file piddlg.cpp.

◆ VELOCITY_MAXINT

#define VELOCITY_MAXINT   5

Definition at line 37 of file piddlg.cpp.

◆ VELOCITY_MAXOUTPUT

#define VELOCITY_MAXOUTPUT   4

Definition at line 36 of file piddlg.cpp.

◆ VELOCITY_OFFSET

#define VELOCITY_OFFSET   6

Definition at line 38 of file piddlg.cpp.

◆ VELOCITY_SCALE

#define VELOCITY_SCALE   3

Definition at line 35 of file piddlg.cpp.

◆ VELOCITY_STICTIONDW

#define VELOCITY_STICTIONDW   8

Definition at line 40 of file piddlg.cpp.

◆ VELOCITY_STICTIONUP

#define VELOCITY_STICTIONUP   7

Definition at line 39 of file piddlg.cpp.

◆ VELOCITY_THRESHOLD

#define VELOCITY_THRESHOLD   18

Definition at line 60 of file piddlg.cpp.