34#include <RobotAPI/interface/units/KinematicUnitInterface.h>
40#include <boost/circular_buffer.hpp>
43#include <QStyledItemDelegate>
46#include <VirtualRobot/VirtualRobot.h>
51#include <Inventor/Qt/SoQt.h>
52#include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
53#include <Inventor/nodes/SoEventCallback.h>
54#include <Inventor/nodes/SoNode.h>
55#include <Inventor/nodes/SoSeparator.h>
56#include <Inventor/sensors/SoTimerSensor.h>
66 class KinematicUnitGuiPlugin;
82 Q_PLUGIN_METADATA(IID
"ArmarXGuiInterface/1.00")
89 return "KinematicUnitGuiPlugin";
95 void paint(QPainter* painter,
96 const QStyleOptionViewItem&
option,
97 const QModelIndex&
index)
const override;
167 return "RobotControl.KinematicUnitGUI";
173 return QIcon(
"://icons/kinematic_icon.svg");
230 const NameStatusMap& reportedJointStatuses);
247 std::unique_ptr<Ui::KinematicUnitGuiPlugin>
ui;
288 std::recursive_mutex mutexNodeSet;
293 std::string nodeSetName);
294 bool initGUIComboBox(VirtualRobot::RobotNodeSetPtr
robotNodeSet);
295 bool initGUIJointListTable(VirtualRobot::RobotNodeSetPtr
robotNodeSet);
297 bool enableValueValidator;
298 bool viewerEnabled =
true;
299 Ice::Long historyTime;
302 float currentValueMax;
304 boost::circular_buffer<NameValueMap> jointCurrentHistory;
306 QPointer<QWidget> __widget;
307 QPointer<KinematicUnitConfigDialog> dialog;
313 static const int SLIDER_ZERO_POSITION = 0;
322 float cutJitter(
float value);
324 QPointer<QToolBar> customToolbar;
QString getPluginName() override
IceUtil::Handle< RunningTask< T > > pointer_type
Shared pointer type for convenience.
Represents a point in time.
std::shared_ptr< class Robot > RobotPtr
This file offers overloads of toIce() and fromIce() functions for STL container types.
::std::vector<::Ice::Float > FloatVector
IceInternal::Handle< DebugDrawerComponent > DebugDrawerComponentPtr
std::shared_ptr< KinematicUnitWidgetController > KinematicUnitGuiPluginPtr