Commit c684fdaa authored by Olivier Stasse's avatar Olivier Stasse

Fix installation path for tests scripts

Uses talos-data instead of talos_description to find urdf file.
parent b06bc6d7
......@@ -78,7 +78,7 @@ IF(TALOS_DATA_FOUND)
INSTALL(FILES
${PROJECT_BINARY_DIR}/tests/${py_filename}.py
DESTINATION
${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/tests
${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/tests
)
ENDFOREACH(py_filename)
ENDIF(TALOS_DATA_FOUND)
......
......@@ -81,8 +81,8 @@ class Talos(AbstractHumanoidRobot):
from rospkg import RosPack
rospack = RosPack()
urdfPath = rospack.get_path('talos_description')+"/robots/talos_reduced.urdf"
urdfDir = [rospack.get_path('talos_description')+"/../"]
urdfPath = rospack.get_path('talos_data')+"/robots/talos_reduced.urdf"
urdfDir = [rospack.get_path('talos_data')+"/../"]
# Create a wrapper to access the dynamic model provided through an urdf file.
from pinocchio.robot_wrapper import RobotWrapper
......
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