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
24ce4f52
Verified
Commit
24ce4f52
authored
Nov 12, 2019
by
Justin Carpentier
Browse files
parsers/sample: remove deprecated definition
parent
10983b16
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/parsers/sample-models.hxx
View file @
24ce4f52
...
...
@@ -192,7 +192,6 @@ namespace pinocchio
details
::
addManipulator
(
model
);
}
#ifdef PINOCCHIO_WITH_HPP_FCL
template
<
typename
Scalar
,
int
Options
,
template
<
typename
,
int
>
class
JointCollectionTpl
>
...
...
@@ -200,43 +199,6 @@ namespace pinocchio
GeometryModel
&
geom
)
{
details
::
addManipulatorGeometries
(
model
,
geom
);
}
#endif
// Deprecated
inline
void
humanoid2d
(
Model
&
model
)
{
using
details
::
addJointAndBody
;
static
const
Model
::
SE3
Id
=
Model
::
SE3
::
Identity
();
// root
addJointAndBody
(
model
,
JointModelRX
(),
"universe"
,
"ff1"
,
Id
,
false
);
addJointAndBody
(
model
,
JointModelRY
(),
"ff1_joint"
,
"root"
,
Id
,
false
);
// lleg
addJointAndBody
(
model
,
JointModelRZ
(),
"root_joint"
,
"lleg1"
,
Id
,
false
);
addJointAndBody
(
model
,
JointModelRY
(),
"lleg1_joint"
,
"lleg2"
,
Id
,
false
);
// rlgg
addJointAndBody
(
model
,
JointModelRZ
(),
"root_joint"
,
"rleg1"
,
Id
,
false
);
addJointAndBody
(
model
,
JointModelRY
(),
"lleg1_joint"
,
"rleg2"
,
Id
,
false
);
// torso
addJointAndBody
(
model
,
JointModelRY
(),
"root_joint"
,
"torso1"
,
Id
,
false
);
addJointAndBody
(
model
,
JointModelRZ
(),
"torso1_joint"
,
"chest"
,
Id
,
false
);
// rarm
addJointAndBody
(
model
,
JointModelRX
(),
"chest_joint"
,
"rarm1"
,
Id
,
false
);
addJointAndBody
(
model
,
JointModelRZ
(),
"rarm1_joint"
,
"rarm2"
,
Id
,
false
);
// larm
addJointAndBody
(
model
,
JointModelRX
(),
"root_joint"
,
"larm1"
,
Id
,
false
);
addJointAndBody
(
model
,
JointModelRZ
(),
"larm1_joint"
,
"larm2"
,
Id
,
false
);
}
template
<
typename
Scalar
,
int
Options
,
template
<
typename
,
int
>
class
JointCollectionTpl
>
inline
void
humanoidSimple
(
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>
&
model
,
bool
usingFF
)
{
humanoidRandom
(
model
,
usingFF
);
}
template
<
typename
Scalar
,
int
Options
,
template
<
typename
,
int
>
class
JointCollectionTpl
>
...
...
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