Skip to content
Snippets Groups Projects
Commit 5ddc51af authored by Mirko Wächter's avatar Mirko Wächter
Browse files

code clean up

parent f7fe2f13
No related branches found
No related tags found
No related merge requests found
......@@ -333,15 +333,7 @@ namespace armarx
{
WriteLockPtr lock = _synchronized->getWriteLock();
std::vector<float> jv;
std::vector< RobotNodePtr > nodes;
BOOST_FOREACH(NameValueMap::value_type namedAngle, jointAngles)
{
RobotNodePtr node = this->_synchronized->getRobotNode(namedAngle.first);
nodes.push_back(node);
jv.push_back(namedAngle.second);
}
_synchronized->setJointValues(nodes, jv);
_synchronized->setJointValues(jointAngles);
}
if (robotStateObs)
......
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