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 962a2ad commit 0418e68Copy full SHA for 0418e68
src/inverse-dynamics.cpp
@@ -141,7 +141,7 @@ void KinodynamicsID::setTarget(
141
// Foot contacts
142
for (std::size_t i = 0; i < model_handler_.getFeetNames().size(); i++)
143
{
144
- const std::string name = model_handler_.getFeetNames()[i];
+ const std::string & name{model_handler_.getFootName(i)};
145
if (contact_state_target[i])
146
147
if (!active_tsid_contacts_[i])
0 commit comments