Skip to content
Snippets Groups Projects
Verified Commit b1bc6cdd authored by Justin Carpentier's avatar Justin Carpentier
Browse files

model: remove deprecated getJointName method

parent 00e5b7c3
No related branches found
No related tags found
No related merge requests found
......@@ -465,16 +465,6 @@ namespace pinocchio
/// \return True if the joint exists in the kinematic tree.
///
bool existJointName(const std::string & name) const;
///
/// \brief Get the name of a joint given by its index.
///
/// \param[in] index Index of the joint.
///
/// \return Name of the joint.
///
PINOCCHIO_DEPRECATED
const std::string & getJointName(const JointIndex index) const;
///
/// \brief Returns the index of a frame given by its name.
......
......@@ -224,15 +224,6 @@ namespace pinocchio
return (names.end() != std::find(names.begin(),names.end(),name));
}
template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl>
inline const std::string &
ModelTpl<Scalar,Options,JointCollectionTpl>::
getJointName(const JointIndex index) const
{
assert( index < (ModelTpl::JointIndex)joints.size() );
return names[index];
}
template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl>
inline typename ModelTpl<Scalar,Options,JointCollectionTpl>::FrameIndex
ModelTpl<Scalar,Options,JointCollectionTpl>::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment