Go to the documentation of this file.
27 #include <RobotAPI/gui-plugins/SensorActorWidgetsPlugin/ui_TCPMover.h>
30 #include <RobotAPI/interface/units/TCPMoverUnitInterface.h>
31 #include <RobotAPI/interface/units/TCPControlUnit.h>
33 #include <VirtualRobot/Robot.h>
34 #include <VirtualRobot/Nodes/RobotNode.h>
35 #include <VirtualRobot/RobotNodeSet.h>
36 #include <VirtualRobot/IK/DifferentialIK.h>
44 #define KINEMATIC_UNIT_FILE_DEFAULT armarx::ArmarXDataPath::getHomePath()+std::string("Armar4/ARMAR_IV_simox.xml")
45 #define KINEMATIC_UNIT_NAME_DEFAULT "RobotKinematicUnit"
48 class QDialogButtonBox;
91 return "RobotControl.TCPMover";
95 return QIcon(
"://icons/games.ico");
99 return QIcon(
"://icons/games.ico");
133 std::map<std::string, std::vector<float> >
tcpData;
142 VirtualRobot::DifferentialIKPtr
ik;
static QIcon GetWidgetIcon()
SharedRobotInterfacePrx robotPrx
void robotControl(bool request)
void configured() override
This function must be implemented by the user, if he supplies a config dialog.
static QString GetWidgetName()
VirtualRobot::DifferentialIKPtr ik
void onConnectComponent() override
Pure virtual hook for the subclass.
std::string tcpMoverUnitName
QPointer< QDialog > getConfigDialog(QWidget *parent=0) override
getConfigDialog returns a pointer to the a configuration widget of this controller.
void moveRelative(float x, float y, float z)
void selectHand(int index)
VirtualRobot::RobotNodeSetPtr tcpNodeSet
TCPControlUnitInterfacePrx tcpMoverUnitPrx
void onInitComponent() override
Pure virtual hook for the subclass.
RobotStateComponentInterfacePrx robotStateComponentPrx
std::string kinematicUnitName
VirtualRobot::RobotPtr robot
std::string tcpNodeSetName
void onExitComponent() override
Hook for subclass.
std::map< std::string, std::vector< float > > tcpData
std::string kinematicUnitFile
void loadSettings(QSettings *settings) override
Implement to load the settings that are part of the GUI configuration.
void saveSettings(QSettings *settings) override
Implement to save the settings as part of the GUI configuration.
QPointer< TCPMoverConfigDialog > configDialog
This file offers overloads of toIce() and fromIce() functions for STL container types.
static QIcon GetWidgetCategoryIcon()
std::shared_ptr< class Robot > RobotPtr