Skip to content
Snippets Groups Projects
Commit 70a1f2c6 authored by Kai Welke's avatar Kai Welke
Browse files

Removed absolute path in motioncontrol

git-svn-id: https://svn.sfb588.uni-karlsruhe.de/svn/HumanoidRobotAPI@17 e7ad446d-f7d8-486a-9efb-df2f5bbea5c6
parent 8a381c4a
No related branches found
No related tags found
No related merge requests found
......@@ -433,7 +433,9 @@ void CalculateJointAngleConfiguration::run()
{
RobotStatechartContext* context = getContext<RobotStatechartContext>();
VirtualRobot::RobotPtr robotPtr(new RemoteRobot(context->robotStateComponent->getRobotSnapshot("CalculateTCPPoseTime")));
VirtualRobot::RobotPtr robot = VirtualRobot::RobotIO::loadRobot("/org/share/home/staff/schieben/armarx/data/ArmarIV/RobotModel/ArmarIV.xml");
std::string robotModelFile;
ArmarXDataPath::getAbsolutePath("ArmarIV/RobotModel/ArmarIV.xml", robotModelFile);
VirtualRobot::RobotPtr robot = VirtualRobot::RobotIO::loadRobot(robotModelFile.c_str());
//VirtualRobot::RobotConfigPtr configPtr(new VirtualRobot::RobotConfig(robotPtr, "blub"));
//robotPtr->getRobotNodeSet("Root")->getJointValues(configPtr);
//robot->setJointValues(robotPtr->getRobotNodeSet("Root"), robotPtr->getRobotNodeSet("Root")->getJointValues());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment