Skip to content
GitLab
Menu
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
93a5e64f
Verified
Commit
93a5e64f
authored
Apr 29, 2021
by
Justin Carpentier
Browse files
core: remove bugs with setIndexes
parent
7a91755b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/multibody/joint/joint-generic.hpp
View file @
93a5e64f
...
@@ -183,9 +183,6 @@ namespace pinocchio
...
@@ -183,9 +183,6 @@ namespace pinocchio
JointModelTpl
(
const
JointModelVariant
&
jmodel_variant
)
JointModelTpl
(
const
JointModelVariant
&
jmodel_variant
)
:
JointCollection
::
JointModelVariant
(
jmodel_variant
)
:
JointCollection
::
JointModelVariant
(
jmodel_variant
)
{
{
setIndexes
(
::
pinocchio
::
id
(
jmodel_variant
),
::
pinocchio
::
nq
(
jmodel_variant
),
::
pinocchio
::
nv
(
jmodel_variant
));
}
}
template
<
typename
JointModelDerived
>
template
<
typename
JointModelDerived
>
...
@@ -193,8 +190,6 @@ namespace pinocchio
...
@@ -193,8 +190,6 @@ namespace pinocchio
:
JointModelVariant
((
JointModelVariant
)
jmodel
.
derived
())
:
JointModelVariant
((
JointModelVariant
)
jmodel
.
derived
())
{
{
BOOST_MPL_ASSERT
((
boost
::
mpl
::
contains
<
typename
JointModelVariant
::
types
,
JointModelDerived
>
));
BOOST_MPL_ASSERT
((
boost
::
mpl
::
contains
<
typename
JointModelVariant
::
types
,
JointModelDerived
>
));
setIndexes
(
jmodel
.
id
(),
jmodel
.
nq
(),
jmodel
.
nv
());
}
}
JointModelVariant
&
toVariant
()
JointModelVariant
&
toVariant
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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