Skip to content

Commit 793adba

Browse files
author
earlaud
committed
Fix 6D foot contact point error
1 parent d933260 commit 793adba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inverse-dynamics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ KinodynamicsID::KinodynamicsID(const RobotModelHandler & model_handler, double c
3939
}
4040
case RobotModelHandler::FootType::QUAD: {
4141
auto contact_6D = std::make_shared<tsid::contacts::Contact6d>(
42-
frame_name, robot_, frame_name, model_handler_.get6DFootContactPoints(i), normal,
42+
frame_name, robot_, frame_name, model_handler_.get6DFootContactPoints(i).transpose(), normal,
4343
settings_.friction_coefficient, min_f, max_f);
4444
contact_6D->Kp(settings_.kp_contact * Eigen::VectorXd::Ones(6));
4545
contact_6D->Kd(2.0 * contact_6D->Kp().cwiseSqrt());

0 commit comments

Comments
 (0)