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(): ...@@ -104,8 +104,11 @@ def loadTiagoNoHand():
# readParamsFromSrdf(robot, modelPath+SRDF_SUBPATH, False) # readParamsFromSrdf(robot, modelPath+SRDF_SUBPATH, False)
return robot return robot
def loadICub(): def loadICub(reduced=True):
URDF_FILENAME = "icub.urdf" if reduced:
URDF_FILENAME = "icub_reduced.urdf"
else:
URDF_FILENAME = "icub.urdf"
SRDF_FILENAME = "icub.srdf" SRDF_FILENAME = "icub.srdf"
SRDF_SUBPATH = "/icub_description/srdf/" + SRDF_FILENAME SRDF_SUBPATH = "/icub_description/srdf/" + SRDF_FILENAME
URDF_SUBPATH = "/icub_description/robots/" + URDF_FILENAME URDF_SUBPATH = "/icub_description/robots/" + URDF_FILENAME
......
Supports Markdown
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