20 #ifndef _mtsPIDQtWidget_h
21 #define _mtsPIDQtWidget_h
33 #include <QPushButton>
42 mtsPIDQtWidget(
const std::string & componentName,
unsigned int numberOfAxis,
43 double periodInSeconds = 50.0 *
cmn_ms);
47 void Configure(
const std::string & filename =
"");
53 virtual void closeEvent(QCloseEvent * event);
56 void SignalEnablePID(
bool enable);
60 void SlotEnablePID(
bool toggle);
61 void SlotEnableTorqueMode(
bool toggle);
63 void SlotPositionChanged(
void);
64 void SlotPGainChanged(
void);
65 void SlotDGainChanged(
void);
66 void SlotIGainChanged(
void);
68 void SlotMaintainPosition(
void);
70 void SlotZeroPosition(
void);
72 void SlotResetPIDGain(
void);
74 void SlotPlotIndex(
int newAxis);
76 void SlotEnableEventHandler(
bool enable);
77 void SlotEnableDirectControl(
bool toggle);
80 void timerEvent(QTimerEvent * event);
85 int TimerPeriodInMilliseconds;
87 void JointLimitEventHandler(
const vctBoolVec & flags);
88 void ErrorEventHandler(
const std::string & message);
89 void EnableEventHandler(
const bool & enable);
125 QCheckBox * QCBEnableDirectControl;
126 QCheckBox * QCBEnablePID;
127 QCheckBox * QCBEnableTorqueMode;
128 QPushButton * QPBMaintainPosition;
129 QPushButton * QPBZeroPosition;
130 QPushButton * QPBResetPIDGain;
145 QSpinBox * QSBPlotIndex;
151 #endif // _mtsPIDQtWidget_h
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Definition: mtsFunctionRead.h:37
Definition: mtsFunctionVoid.h:36
Declaration of units and unit conversion methodsThis file include the definition and implementation o...
const int CMN_DYNAMIC_CREATION_ONEARG
Definition: cmnClassRegisterMacros.h:333
virtual void Startup(void)
Definition: mtsComponent.h:262
Definition: prmStateJoint.h:35
Definition: mtsComponent.h:60
Declaration of mtsComponent.
Definition: mtsComponent.h:150
#define CMN_DECLARE_SERVICES(hasDynamicCreation, lod)
Definition: cmnClassRegisterMacros.h:116
const double cmn_ms
Definition: cmnUnits.h:190
Joint position move parameters.
Definition: mtsFunctionWrite.h:37
virtual void Configure(const std::string &filename="")
virtual void Cleanup(void)
Definition: mtsComponent.h:267
Definition: vctPlot2DBase.h:55
#define CMN_LOG_ALLOW_DEFAULT
Definition: cmnLogLoD.h:76
Definition: prmPositionJointSet.h:37