1 #include <VirtualRobot/XML/RobotIO.h>
5 #include <ArmarXCore/core/test/IceTestHelper.h>
7 #include <RobotTrajectoryDesigner/gui-plugins/RobotTrajectoryDesignerGuiPlugin/RobotTrajectoryDesignerGuiPluginGuiPlugin.h>
13 int registryPort = 11220,
14 bool addObjects =
true)
18 const std::string
project =
"RobotAPI";
30 std::string fn =
"RobotAPI/robots/Armar3/ArmarIII.xml";
31 ArmarXDataPath::getAbsolutePath(fn, fn);
32 std::string robotFilename = fn;
34 _spaceSavePath = test::getCmakeValue(
"PROJECT_BINARY_DIR") +
"/Testing/Temporary/spaces/";
38 properties->setProperty(
"ArmarX.RobotIK.ReachabilitySpacesFolder", _spaceSavePath);
39 properties->setProperty(
"ArmarX.RobotIK.InitialReachabilitySpaces",
40 "testReachabilitySpace.bin");
43 _iceTestHelper =
new IceTestHelper(registryPort, registryPort + 1);
52 _manager->createComponentAndRun<YourComponent, YourComponentInterfacePrx>(
53 "ArmarX",
"RobotTrajectoryDesigner");
57 VirtualRobot::RobotIO::loadRobot(robotFilename, VirtualRobot::RobotIO::eStructure);
73 std::shared_ptr<RobotTrajectoryDesignerTestEnvironment>;