fix compilation, make travis CI happy
This commit is contained in:
@@ -85,7 +85,7 @@ void cRBDUtil::SolveInvDyna(const cRBDModel& model, const Eigen::VectorXd& acc,
|
|||||||
if (cKinTree::IsValidBody(body_defs, j))
|
if (cKinTree::IsValidBody(body_defs, j))
|
||||||
{
|
{
|
||||||
cSpAlg::tSpVec curr_f = fs.row(j);
|
cSpAlg::tSpVec curr_f = fs.row(j);
|
||||||
const const Eigen::Block<const Eigen::MatrixXd> S = model.GetJointSubspace(j);
|
const Eigen::Block<const Eigen::MatrixXd> S = model.GetJointSubspace(j);
|
||||||
Eigen::VectorXd curr_tau = S.transpose() * curr_f;
|
Eigen::VectorXd curr_tau = S.transpose() * curr_f;
|
||||||
|
|
||||||
cKinTree::SetJointParams(joint_mat, j, curr_tau, out_tau);
|
cKinTree::SetJointParams(joint_mat, j, curr_tau, out_tau);
|
||||||
@@ -1048,4 +1048,4 @@ void cRBDUtil::CalcGravityForce(const cRBDModel& model, Eigen::VectorXd& out_g_f
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user