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
Gabriele Buondonno
pinocchio
Commits
88bc747e
Commit
88bc747e
authored
Jan 10, 2018
by
jcarpent
Browse files
[Multibody] Remove useless warning
parent
54033bd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/parsers/sample-models.cpp
View file @
88bc747e
...
...
@@ -38,23 +38,23 @@ namespace se3
Model
::
JointIndex
idx
;
if
(
setRandomLimits
)
if
(
setRandomLimits
)
idx
=
model
.
addJoint
(
model
.
getJointId
(
parent_name
),
joint
,
SE3
::
Random
(),
SE3
::
Random
(),
name
+
"_joint"
,
TV
::
Random
()
+
TV
::
Constant
(
1
),
TV
::
Random
()
+
TV
::
Constant
(
1
),
CV
::
Random
()
-
CV
::
Constant
(
1
),
CV
::
Random
()
+
CV
::
Constant
(
1
)
);
TV
::
Random
()
+
TV
::
Constant
(
1
),
TV
::
Random
()
+
TV
::
Constant
(
1
),
CV
::
Random
()
-
CV
::
Constant
(
1
),
CV
::
Random
()
+
CV
::
Constant
(
1
)
);
else
idx
=
model
.
addJoint
(
model
.
getJointId
(
parent_name
),
joint
,
placement
,
name
+
"_joint"
);
model
.
addJointFrame
(
idx
);
model
.
addJointFrame
(
idx
);
model
.
appendBodyToJoint
(
idx
,
Inertia
::
Random
(),
SE3
::
Identity
());
model
.
addBodyFrame
(
name
+
"_body"
,
idx
);
model
.
appendBodyToJoint
(
idx
,
Inertia
::
Random
(),
SE3
::
Identity
());
model
.
addBodyFrame
(
name
+
"_body"
,
idx
);
}
void
humanoid2d
(
Model
&
model
)
...
...
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