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
Wolfgang Merkt
example-robot-data
Commits
4d531528
Commit
4d531528
authored
Apr 16, 2019
by
Carlos Mastalli
Browse files
[icub] Option to load reduced version
parent
e627abb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
unittest/unittest_utils.py
View file @
4d531528
...
...
@@ -104,8 +104,11 @@ def loadTiagoNoHand():
# readParamsFromSrdf(robot, modelPath+SRDF_SUBPATH, False)
return
robot
def
loadICub
():
URDF_FILENAME
=
"icub.urdf"
def
loadICub
(
reduced
=
True
):
if
reduced
:
URDF_FILENAME
=
"icub_reduced.urdf"
else
:
URDF_FILENAME
=
"icub.urdf"
SRDF_FILENAME
=
"icub.srdf"
SRDF_SUBPATH
=
"/icub_description/srdf/"
+
SRDF_FILENAME
URDF_SUBPATH
=
"/icub_description/robots/"
+
URDF_FILENAME
...
...
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