19 #ifndef _mtsRobotIO1394QtWidget_h
20 #define _mtsRobotIO1394QtWidget_h
30 #include <QPushButton>
31 #include <QDoubleSpinBox>
44 unsigned int numberOfActuators,
45 unsigned int numberOfBrakes,
46 double periodInSeconds = 50.0 *
cmn_ms);
50 void Configure(
const std::string & filename =
"");
59 void SlotEnableAmps(
bool toggle);
60 void SlotEnableAll(
bool toggle);
61 void SlotEnableDirectControl(
bool toggle);
62 void SlotActuatorAmpEnable(
void);
63 void SlotResetCurrentAll(
void);
64 void SlotActuatorCurrentValueChanged();
65 void SlotSliderActuatorCurrentValueChanged(
void);
66 void SlotBrakeAmpEnable(
void);
67 void SlotResetEncodersAll(
void);
68 void SlotBiasEncodersAll(
void);
69 void SlotWatchdogPeriod(
double period_ms);
70 void SlotBrakeEngage(
void);
71 void SlotBrakeRelease(
void);
73 void timerEvent(QTimerEvent * event);
76 void SetupCisstInterface(
void);
80 void UpdateCurrentDisplay(
void);
81 void UpdateRobotInfo(
void);
136 size_t NumberOfActuators;
137 size_t NumberOfBrakes;
158 unsigned short SafetyRelay;
161 double DummyValueWhenNotConnected;
166 QCheckBox * QCBEnableAmps;
167 QCheckBox * QCBEnableAll;
168 QPushButton * QPBResetCurrentAll;
171 QPushButton * QPBResetEncAll;
172 QPushButton * QPBBiasEncAll;
173 QDoubleSpinBox * QSBWatchdogPeriod;
174 QCheckBox * QCBEnableDirectControl;
191 QPushButton * QPBBrakeRelease;
192 QPushButton * QPBBrakeEngage;
198 QLabel * QLAmpStatus;
199 QLabel * QLPowerStatus;
200 QLabel * QLSafetyRelay;
202 QLabel * QLWatchdogLastTimeout;
204 void PowerStatusEventHandler(
const bool & status);
205 void WatchdogStatusEventHandler(
const bool & status);
221 #endif // _mtsRobotIO1394QtWidget_h
Definition: prmPositionJointGet.h:35
Definition: mtsFunctionRead.h:37
Declaration of osaTimeServer class.
Definition: mtsFunctionVoid.h:36
const int CMN_DYNAMIC_CREATION_ONEARG
Definition: cmnClassRegisterMacros.h:333
Definition: mtsComponent.h:60
Declaration of mtsComponent.
Definition: mtsIntervalStatistics.h:45
Definition: mtsComponent.h:150
const double cmn_ms
Definition: cmnUnits.h:190
Definition: mtsFunctionWrite.h:37
#define CMN_LOG_ALLOW_DEFAULT
Definition: cmnLogLoD.h:76