Commit 9aeb4e3e authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[Tests] we test the files in the current repository, not the ones that are installed

parent bf359cd6
...@@ -26,7 +26,7 @@ def readParamsFromSrdf(robot, SRDF_PATH, verbose): ...@@ -26,7 +26,7 @@ def readParamsFromSrdf(robot, SRDF_PATH, verbose):
return return
def loadTalosArm(modelPath='/opt/openrobots/share/example-robot-data'): def loadTalosArm(modelPath='../..'):
URDF_FILENAME = "talos_left_arm.urdf" URDF_FILENAME = "talos_left_arm.urdf"
URDF_SUBPATH = "/talos_data/robots/" + URDF_FILENAME URDF_SUBPATH = "/talos_data/robots/" + URDF_FILENAME
SRDF_FILENAME = "talos.srdf" SRDF_FILENAME = "talos.srdf"
...@@ -39,7 +39,7 @@ def loadTalosArm(modelPath='/opt/openrobots/share/example-robot-data'): ...@@ -39,7 +39,7 @@ def loadTalosArm(modelPath='/opt/openrobots/share/example-robot-data'):
return robot return robot
def loadTalos(modelPath='/opt/openrobots/share/example-robot-data'): def loadTalos(modelPath='../..'):
URDF_FILENAME = "talos_reduced.urdf" URDF_FILENAME = "talos_reduced.urdf"
SRDF_FILENAME = "talos.srdf" SRDF_FILENAME = "talos.srdf"
SRDF_SUBPATH = "/talos_data/srdf/" + SRDF_FILENAME SRDF_SUBPATH = "/talos_data/srdf/" + SRDF_FILENAME
...@@ -53,7 +53,7 @@ def loadTalos(modelPath='/opt/openrobots/share/example-robot-data'): ...@@ -53,7 +53,7 @@ def loadTalos(modelPath='/opt/openrobots/share/example-robot-data'):
return robot return robot
def loadHyQ(modelPath='/opt/openrobots/share/example-robot-data'): def loadHyQ(modelPath='../..'):
URDF_FILENAME = "hyq_no_sensors.urdf" URDF_FILENAME = "hyq_no_sensors.urdf"
URDF_SUBPATH = "/hyq_description/robots/" + URDF_FILENAME URDF_SUBPATH = "/hyq_description/robots/" + URDF_FILENAME
robot = RobotWrapper.BuildFromURDF(modelPath+URDF_SUBPATH, [modelPath], robot = RobotWrapper.BuildFromURDF(modelPath+URDF_SUBPATH, [modelPath],
......
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