Skip to content
Snippets Groups Projects
Commit 32917729 authored by p-kaiser's avatar p-kaiser
Browse files

PoseConstraint: Added method for continuous target updates

git-svn-id: http://svn.code.sf.net/p/simox/code/trunk@802 042f3d55-54a8-47e9-b7fb-15903f145c44
parent 40e6927d
No related branches found
No related tags found
No related merge requests found
......@@ -109,3 +109,8 @@ std::string PoseConstraint::getConstraintType()
return "Pose(" + eef->getName() + ")";
}
void PoseConstraint::updateTarget(const Eigen::Matrix4f &newTarget)
{
target = newTarget;
}
......@@ -51,6 +51,8 @@ namespace VirtualRobot
std::string getConstraintType();
void updateTarget(const Eigen::Matrix4f &newTarget);
protected:
RobotPtr robot;
RobotNodeSetPtr nodeSet;
......
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