Go to the documentation of this file.
32 #include <RobotAPI/gui-plugins/HandUnitPlugin/ui_HandUnitGuiPlugin.h>
33 #include <RobotAPI/interface/units/HandUnitInterface.h>
38 #include <QMainWindow>
44 class HandUnitConfigDialog;
55 Q_PLUGIN_METADATA(IID
"ArmarXGuiInterface/1.00")
62 return "HandUnitGuiPlugin";
80 public HandUnitListener
97 void reportHandShaped(
const std::string&,
const std::string&,
const Ice::Current&)
override;
100 const Ice::Current&)
override;
106 return "RobotControl.HandUnitGUI";
112 return QIcon(
"://icons/hand.svg");
151 void setLeftHandPreshape(std::string preshape);
152 void setRightHandPreshape(std::string preshape);
157 Ui::HandUnitGuiPlugin
ui;
160 std::string leftHandName;
161 std::string rightHandName;
164 std::string leftHandUnitProxyName;
165 std::string rightHandUnitProxyName;
166 HandUnitInterfacePrx leftHandUnitProxy;
167 HandUnitInterfacePrx rightHandUnitProxy;
170 QPointer<HandUnitConfigDialog> dialog;
175 QTimer* updateInfoTimer;
176 bool setLeftHandJointAnglesFlag;
177 bool setRightHandJointAnglesFlag;
178 std::basic_string<char> currentLeftHandJoint;
179 std::basic_string<char> currentRightHandJoint;
180 double leftHandConversionFactor = 1.0 / 100.0;
181 double rightHandConversionFactor = 1.0 / 100.0;
187 const Ice::Current&)
override;
189 const Ice::Current&)
override;
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.