Skip to content
Snippets Groups Projects
Commit 5c134ab6 authored by vahrenkamp's avatar vahrenkamp
Browse files

fixed wrong initialization of VectorXf

git-svn-id: http://svn.code.sf.net/p/simox/code/trunk@758 042f3d55-54a8-47e9-b7fb-15903f145c44
parent f1733c05
No related branches found
No related tags found
No related merge requests found
......@@ -588,14 +588,14 @@ namespace VirtualRobot
Eigen::VectorXf DifferentialIK::getDeltaToGoal(SceneObjectPtr tcp)
{
Eigen::VectorXf result(6, 0.0f);
Eigen::VectorXf result(6);
updateDeltaToGoal(result, tcp);
return result;
}
Eigen::VectorXf DifferentialIK::getDelta(const Eigen::Matrix4f& current, const Eigen::Matrix4f& goal, IKSolver::CartesianSelection mode)
{
Eigen::VectorXf result(6, 0.0f);
Eigen::VectorXf result(6);
updateDelta(result, current, goal, mode);
return result;
}
......
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