Go to the documentation of this file.
27 #include <RobotAPI/gui-plugins/HandUnitPlugin/ui_HandUnitGuiPlugin.h>
32 #include <RobotAPI/interface/units/HandUnitInterface.h>
35 #include <QMainWindow>
44 class HandUnitConfigDialog;
56 Q_PLUGIN_METADATA(IID
"ArmarXGuiInterface/1.00")
61 return "HandUnitGuiPlugin";
79 public HandUnitListener
94 void reportHandShaped(
const std::string&,
const std::string&,
const Ice::Current&)
override;
101 return "RobotControl.HandUnitGUI";
105 return QIcon(
"://icons/hand.svg");
133 void setLeftHandPreshape(std::string preshape);
134 void setRightHandPreshape(std::string preshape);
139 Ui::HandUnitGuiPlugin
ui;
142 std::string leftHandName;
143 std::string rightHandName;
146 std::string leftHandUnitProxyName;
147 std::string rightHandUnitProxyName;
148 HandUnitInterfacePrx leftHandUnitProxy;
149 HandUnitInterfacePrx rightHandUnitProxy;
152 QPointer<HandUnitConfigDialog> dialog;
157 QTimer* updateInfoTimer;
158 bool setLeftHandJointAnglesFlag;
159 bool setRightHandJointAnglesFlag;
160 std::basic_string<char> currentLeftHandJoint;
161 std::basic_string<char> currentRightHandJoint;
162 double leftHandConversionFactor= 1.0 / 100.0;
163 double rightHandConversionFactor = 1.0 / 100.0;
std::shared_ptr< HandUnitWidget > HandUnitGuiPluginPtr
This plugin offers a widget witch which the HandUnit can be controlled.
QString getPluginName() override
This file offers overloads of toIce() and fromIce() functions for STL container types.