Mod/Robot: Removed -Wunused-variable warnings.

This commit is contained in:
wmayer 2015-09-11 16:14:17 +02:00
parent df4c99f157
commit 7f0c5b5f23
2 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,7 @@ namespace KDL {
else if(it == tree.getSegments().end()) //if the segment name is not found
return -2;
else{
const TreeElement& currentElement = it->second;
p_out = recursiveFk(q_in, it);
p_out = recursiveFk(q_in, it);
return 0;
}
}

View File

@ -81,6 +81,7 @@ namespace KDL {
// Compute the SVD of the weighted jacobian
int ret = svd_eigen_HH(Wy_J_Wq, U, S, V, tmp);
(void)ret;
//Pre-multiply U and V by the task space and joint space weighting matrix respectively
Wy_t = (Wy * t).lazy();