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
7ebcb83b
Verified
Commit
7ebcb83b
authored
May 08, 2020
by
Gabriele Buondonno
Committed by
Justin Carpentier
May 12, 2020
Browse files
[multibody] [model] [getBodyId] Fix return type
parent
9c83b17f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/multibody/model.hpp
View file @
7ebcb83b
...
...
@@ -442,7 +442,7 @@ namespace pinocchio
///
/// \return Index of the body.
///
Joint
Index
getBodyId
(
const
std
::
string
&
name
)
const
;
Frame
Index
getBodyId
(
const
std
::
string
&
name
)
const
;
///
/// \brief Check if a body given by its name exists.
...
...
src/multibody/model.hxx
View file @
7ebcb83b
...
...
@@ -194,7 +194,7 @@ namespace pinocchio
}
template
<
typename
Scalar
,
int
Options
,
template
<
typename
,
int
>
class
JointCollectionTpl
>
inline
typename
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>::
Joint
Index
inline
typename
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>::
Frame
Index
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>::
getBodyId
(
const
std
::
string
&
name
)
const
{
...
...
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