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
b7a633cc
Commit
b7a633cc
authored
Aug 28, 2019
by
Carlos Mastalli
Browse files
[display] Added the talos legs in the display option
parent
842a943a
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/display.py
View file @
b7a633cc
import
sys
import
example_robot_data
DISPLAY_HYQ
=
'hyq'
in
sys
.
argv
DISPLAY_TALOS
=
'talos'
in
sys
.
argv
DISPLAY_TALOS_ARM
=
'talos_arm'
in
sys
.
argv
DISPLAY_TALOS_LEGS
=
'talos_legs'
in
sys
.
argv
DISPLAY_TIAGO
=
'tiago'
in
sys
.
argv
DISPLAY_TIAGO_NO_HAND
=
'tiago_no_hand'
in
sys
.
argv
DISPLAY_ICUB
=
'icub'
in
sys
.
argv
...
...
@@ -24,6 +24,11 @@ if DISPLAY_TALOS_ARM:
talos_arm
.
initViewer
(
loadModel
=
True
)
talos_arm
.
display
(
talos_arm
.
q0
)
if
DISPLAY_TALOS_LEGS
:
talos_legs
=
example_robot_data
.
loadTalosLegs
()
talos_legs
.
initViewer
(
loadModel
=
True
)
talos_legs
.
display
(
talos_legs
.
q0
)
if
DISPLAY_TIAGO
:
tiago
=
example_robot_data
.
loadTiago
()
tiago
.
initViewer
(
loadModel
=
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