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 b09cb5a commit 7f102daCopy full SHA for 7f102da
include/simple-mpc/robot-handler.hpp
@@ -130,7 +130,7 @@ namespace simple_mpc
130
}
131
size_t getFootNb(const std::string & foot_name) const
132
{
133
- return std::find(feet_names_.begin(), feet_names_.end(), foot_name) - feet_names_.begin();
+ return size_t(std::find(feet_names_.begin(), feet_names_.end(), foot_name) - feet_names_.begin());
134
135
136
const std::vector<FrameIndex> & getFeetIds() const
0 commit comments