Verified Commit 7ebcb83b authored by Gabriele Buondonno's avatar Gabriele Buondonno Committed by Justin Carpentier
Browse files

[multibody] [model] [getBodyId] Fix return type

parent 9c83b17f
......@@ -442,7 +442,7 @@ namespace pinocchio
/// \return Index of the body.
JointIndex getBodyId(const std::string & name) const;
FrameIndex getBodyId(const std::string & name) const;
/// \brief Check if a body given by its name exists.
......@@ -194,7 +194,7 @@ namespace pinocchio
template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl>
inline typename ModelTpl<Scalar,Options,JointCollectionTpl>::JointIndex
inline typename ModelTpl<Scalar,Options,JointCollectionTpl>::FrameIndex
getBodyId(const std::string & name) const
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment