Skip to content

Commit c332a23

Browse files
Update orocos_kdl/src/chainiksolvervel_pinv.cpp
formatting style Co-authored-by: Matthijs van der Burgh <[email protected]>
1 parent d7aefe2 commit c332a23

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

orocos_kdl/src/chainiksolvervel_pinv.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,13 @@ namespace KDL
120120
Smaxtomin = S;
121121
SortJntArrayMaxToMin(Smaxtomin);
122122
// Minimum of six largest singular values of J is S(5) if number of joints >=6 and 0 for <6
123-
if ( jac.columns() >= 6 ) {
123+
if (jac.columns() >= 6)
124+
{
124125
sigmaMin = Smaxtomin(5);
125126
}
126-
else {
127-
sigmaMin = 0.;
127+
else
128+
{
129+
sigmaMin = 0;
128130
}
129131

130132
// We have to calculate qdot_out = jac_pinv*v_in

0 commit comments

Comments
 (0)