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
Gepetto
example-robot-data
Commits
842a943a
Commit
842a943a
authored
Aug 28, 2019
by
Carlos Mastalli
Browse files
[display] Updated a deprecated pinocchio function
parent
1f101bf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/display.py
View file @
842a943a
...
...
@@ -11,30 +11,30 @@ DISPLAY_ICUB = 'icub' in sys.argv
if
DISPLAY_HYQ
:
hyq
=
example_robot_data
.
loadHyQ
()
hyq
.
init
Display
(
loadModel
=
True
)
hyq
.
init
Viewer
(
loadModel
=
True
)
hyq
.
display
(
hyq
.
q0
)
if
DISPLAY_TALOS
:
talos
=
example_robot_data
.
loadTalos
()
talos
.
init
Display
(
loadModel
=
True
)
talos
.
init
Viewer
(
loadModel
=
True
)
talos
.
display
(
talos
.
q0
)
if
DISPLAY_TALOS_ARM
:
talos_arm
=
example_robot_data
.
loadTalosArm
()
talos_arm
.
init
Display
(
loadModel
=
True
)
talos_arm
.
init
Viewer
(
loadModel
=
True
)
talos_arm
.
display
(
talos_arm
.
q0
)
if
DISPLAY_TIAGO
:
tiago
=
example_robot_data
.
loadTiago
()
tiago
.
init
Display
(
loadModel
=
True
)
tiago
.
init
Viewer
(
loadModel
=
True
)
tiago
.
display
(
tiago
.
q0
)
if
DISPLAY_TIAGO_NO_HAND
:
tiago_no_hand
=
example_robot_data
.
loadTiagoNoHand
()
tiago_no_hand
.
init
Display
(
loadModel
=
True
)
tiago_no_hand
.
init
Viewer
(
loadModel
=
True
)
tiago_no_hand
.
display
(
tiago_no_hand
.
q0
)
if
DISPLAY_ICUB
:
icub
=
example_robot_data
.
loadICub
()
icub
.
init
Display
(
loadModel
=
True
)
icub
.
init
Viewer
(
loadModel
=
True
)
icub
.
display
(
icub
.
q0
)
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