Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
b1bc6cdd
Verified
Commit
b1bc6cdd
authored
Nov 12, 2019
by
Justin Carpentier
Browse files
model: remove deprecated getJointName method
parent
00e5b7c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/multibody/model.hpp
View file @
b1bc6cdd
...
...
@@ -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.
...
...
src/multibody/model.hxx
View file @
b1bc6cdd
...
...
@@ -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
>::
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment