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
loco-3d
Multicontact-api
Commits
62eb5020
Commit
62eb5020
authored
Jul 29, 2020
by
Guilhem Saurel
Browse files
[Python][Example] initDisplay → initViewer
ref
https://github.com/stack-of-tasks/pinocchio/pull/795
parent
9ed60faa
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/display_gepetto_gui.py
View file @
62eb5020
...
...
@@ -61,7 +61,7 @@ if __name__ == '__main__':
rp
=
RosPack
()
urdf
=
rp
.
get_path
(
robot_package_name
)
+
'/urdf/'
+
urdf_name
+
'.urdf'
robot
=
pin
.
RobotWrapper
.
BuildFromURDF
(
urdf
,
pin
.
StdVec_StdString
(),
pin
.
JointModelFreeFlyer
())
robot
.
init
Display
(
loadModel
=
True
)
robot
.
init
Viewer
(
loadModel
=
True
)
robot
.
displayCollisions
(
False
)
robot
.
displayVisuals
(
True
)
...
...
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