Skip to content
Snippets Groups Projects
Commit 4d531528 authored by Carlos Mastalli's avatar Carlos Mastalli
Browse files

[icub] Option to load reduced version

parent e627abb8
No related branches found
No related tags found
1 merge request!8Defined a Python module + installation of it
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment