Commit 4d531528 authored by Carlos Mastalli's avatar Carlos Mastalli
Browse files

[icub] Option to load reduced version

parent e627abb8
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment