Unverified Commit 4b8cf705 authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub
Browse files
parent 16c98514
......@@ -19,3 +19,9 @@ TARGET_LINK_LIBRARIES(main_test
pg
pg-manager
)
SET(urdfpath ${TALOS_DATA_PREFIX}/share/talos_data/urdf/talos_reduced_wpg.urdf)
SET(srdfpath ${TALOS_DATA_PREFIX}/share/talos_data/srdf/talos_wpg.srdf)
TARGET_COMPILE_DEFINITIONS(main_test PUBLIC
URDF_FULL_PATH="${urdfpath}" SRDF_FULL_PATH="${srdfpath}")
......@@ -7,10 +7,8 @@
int main(int, char**) {
dynamicgraph::sot::PatternGenerator aPG;
std::string aRobotURDF(
"/opt/openrobots/share/talos_data/urdf/talos_reduced_wpg.urdf");
std::string aRobotSRDF(
"/opt/openrobots/share/talos_data/srdf/talos_wpg.srdf");
std::string aRobotURDF(URDF_FULL_PATH);
std::string aRobotSRDF(SRDF_FULL_PATH);
aPG.setURDFFile(aRobotURDF);
aPG.setSRDFFile(aRobotSRDF);
......
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