Commit 639aadd9 authored by Carlos Mastalli's avatar Carlos Mastalli
Browse files

[unittest] Updated the path according to new organization

parent a6001ff9
......@@ -27,9 +27,9 @@ def readParamsFromSrdf(robot, SRDF_PATH, verbose):
def loadTalosArm(modelPath='/opt/openrobots/share/example-robot-data'):
URDF_FILENAME = "talos_left_arm.urdf"
URDF_SUBPATH = "/talos/" + URDF_FILENAME
URDF_SUBPATH = "/talos/robots/" + URDF_FILENAME
SRDF_FILENAME = "talos.srdf"
SRDF_SUBPATH = "/talos/" + SRDF_FILENAME
SRDF_SUBPATH = "/talos/robots/" + SRDF_FILENAME
# Load URDF file
robot = RobotWrapper.BuildFromURDF(modelPath+URDF_SUBPATH, [modelPath])
......@@ -41,8 +41,8 @@ def loadTalosArm(modelPath='/opt/openrobots/share/example-robot-data'):
def loadTalos(modelPath='/opt/openrobots/share/example-robot-data'):
URDF_FILENAME = "talos_reduced.urdf"
SRDF_FILENAME = "talos.srdf"
SRDF_SUBPATH = "/talos/" + SRDF_FILENAME
URDF_SUBPATH = "/talos/" + URDF_FILENAME
SRDF_SUBPATH = "/talos/robots/" + SRDF_FILENAME
URDF_SUBPATH = "/talos/robots/" + URDF_FILENAME
# Load URDF file
robot = RobotWrapper.BuildFromURDF(modelPath+URDF_SUBPATH, [modelPath],
pinocchio.JointModelFreeFlyer())
......@@ -54,7 +54,7 @@ def loadTalos(modelPath='/opt/openrobots/share/example-robot-data'):
def loadHyQ(modelPath='/opt/openrobots/share/example-robot-data'):
URDF_FILENAME = "hyq_no_sensors.urdf"
URDF_SUBPATH = "/hyq/" + URDF_FILENAME
URDF_SUBPATH = "/hyq/robots/" + URDF_FILENAME
robot = RobotWrapper.BuildFromURDF(modelPath+URDF_SUBPATH, [modelPath],
pinocchio.JointModelFreeFlyer())
# TODO define default position inside srdf
......
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