Go to the documentation of this file.
27 #include <RobotAPI/gui-plugins/KinematicUnitPlugin/ui_kinematicunitguiplugin.h>
28 #include <RobotAPI/interface/units/KinematicUnitInterface.h>
39 #include <QMainWindow>
43 #include <VirtualRobot/Robot.h>
44 #include <VirtualRobot/Nodes/RobotNode.h>
45 #include <VirtualRobot/RobotNodeSet.h>
46 #include <VirtualRobot/Visualization/VisualizationFactory.h>
47 #include <VirtualRobot/Visualization/CoinVisualization/CoinVisualization.h>
49 #include <Inventor/sensors/SoTimerSensor.h>
50 #include <Inventor/nodes/SoNode.h>
51 #include <Inventor/nodes/SoSeparator.h>
52 #include <Inventor/nodes/SoEventCallback.h>
53 #include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
54 #include <Inventor/Qt/SoQt.h>
55 #include <QStyledItemDelegate>
58 #include <VirtualRobot/VirtualRobot.h>
61 #include <boost/circular_buffer.hpp>
67 class KinematicUnitConfigDialog;
79 Q_PLUGIN_METADATA(IID
"ArmarXGuiInterface/1.00")
85 return "KinematicUnitGuiPlugin";
90 public QStyledItemDelegate
92 void paint(QPainter* painter,
const QStyleOptionViewItem&
option,
const QModelIndex&
index)
const override;
161 return "RobotControl.KinematicUnitGUI";
165 return QIcon(
"://icons/kinematic_icon.svg");
239 Ui::KinematicUnitGuiPlugin
ui;
281 std::recursive_mutex mutexNodeSet;
286 bool initGUIComboBox(VirtualRobot::RobotNodeSetPtr
robotNodeSet);
287 bool initGUIJointListTable(VirtualRobot::RobotNodeSetPtr
robotNodeSet);
289 bool enableValueValidator;
290 bool viewerEnabled =
true;
294 float currentValueMax;
296 boost::circular_buffer<NameValueMap> jointCurrentHistory;
298 QPointer<QWidget> __widget;
299 QPointer<KinematicUnitConfigDialog> dialog;
305 static const int SLIDER_ZERO_POSITION = 0;
314 float cutJitter(
float value);
316 QPointer<QToolBar> customToolbar;
This plugin provides a generic widget showing position and velocity of all joints....
std::shared_ptr< Value > value()
boost::shared_ptr< VirtualRobot::CoinVisualization > CoinVisualizationPtr
::std::vector< ::Ice::Float > FloatVector
std::shared_ptr< KinematicUnitWidgetController > KinematicUnitGuiPluginPtr
Represents a point in time.
const KinematicUnitDatafieldCreator jointAngles("jointAngles")
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< class Robot > RobotPtr
QString getPluginName() override