Skip to content

Commit 89b411d

Browse files
author
earlaud
committed
6DFoot to QuadFoot
1 parent ea1b7f1 commit 89b411d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/simple-mpc/robot-handler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ namespace simple_mpc
156156
return feet_types_[i];
157157
}
158158

159-
const ContactPointsMatrix & get6DFootContactPoints(size_t i) const
159+
const ContactPointsMatrix & getQuadFootContactPoints(size_t i) const
160160
{
161161
return feet_contact_points_.at(i);
162162
}

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).transpose(), normal,
42+
frame_name, robot_, frame_name, model_handler_.getQuadFootContactPoints(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)