Mod/Robot: fix some spaces and a couple of warnings
Warnings wsa: src/Mod/Robot/App/kdl_cp/chaindynparam.cpp|105 col 5| warning: control may reach end of non-void function [-Wreturn-type] src/Mod/Robot/App/kdl_cp/chainidsolver_recursive_newton_euler.cpp|82 col 5| warning: control may reach end of non-void function [-Wreturn-type]
This commit is contained in:
parent
efb08237ac
commit
cd0ae20ef5
|
@ -101,7 +101,8 @@ namespace KDL {
|
||||||
k--; //this if-loop should be repeated nj times (k=nj-1 to k=0)
|
k--; //this if-loop should be repeated nj times (k=nj-1 to k=0)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
} // for
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//calculate coriolis matrix C
|
//calculate coriolis matrix C
|
||||||
|
|
|
@ -79,5 +79,6 @@ namespace KDL{
|
||||||
if(i!=0)
|
if(i!=0)
|
||||||
f[i-1]=f[i-1]+X[i]*f[i];
|
f[i-1]=f[i-1]+X[i]*f[i];
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
}//namespace
|
}//namespace
|
||||||
|
|
Loading…
Reference in New Issue
Block a user