We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acd39ce commit 758c3b5Copy full SHA for 758c3b5
src/inverse-dynamics/kinodynamics.cpp
@@ -155,11 +155,13 @@ void KinodynamicsID::setTarget(
155
switch (model_handler_.getFootType(foot_nb))
156
{
157
case RobotModelHandler::FootType::POINT: {
158
+ assert(f_target.at(foot_nb).size() == 3);
159
std::static_pointer_cast<tsid::contacts::ContactPoint>(tsid_contacts[foot_nb])
160
->setForceReference(f_target.at(foot_nb));
161
break;
162
}
163
case RobotModelHandler::FootType::QUAD: {
164
+ assert(f_target.at(foot_nb).size() == 6);
165
std::static_pointer_cast<tsid::contacts::Contact6d>(tsid_contacts[foot_nb])
166
167
0 commit comments