Skip to content
Snippets Groups Projects
Commit fccf566a authored by Mirko Wächter's avatar Mirko Wächter
Browse files

dmp test: relative path

parent a7fa20a6
No related branches found
No related tags found
No related merge requests found
......@@ -54,23 +54,31 @@
// return sv;
//}
BOOST_AUTO_TEST_CASE(test1)
{
//bool addedDataDir = false;
//BOOST_AUTO_TEST_CASE(test1)
//{
// armarx::DMPComponent instance;
// instance.instantiateDMP(ARMARX_DMPTYPE_BASICDMP);
// armarx::configMap configs;
// configs.insert(armarx::configPair(DMP_PARAMETERS_SPRINGCONSTANT,1.1));
// instance.setConfigurationMap(configs);
// if (!addedDataDir) {
// armarx::ArmarXDataPath::addDataPaths(armarx::test::getCmakeValue("PROJECT_DATA_DIR"));
// addedDataDir = true;
// }
// instance.readTrajectoryFromFile("/home/yzhou/motions/sampletraj.csv");
// instance.setConfigurationMap(configs);
// std::string absDMPPath;
// armarx::ArmarXDataPath::getAbsolutePath("dmp/sampletraj.csv", absDMPPath);
// instance.readTrajectoryFromFile(absDMPPath);
// instance.trainDMP();
// std::cout << instance.getDMPTypeName() << std::endl;
// BOOST_CHECK_EQUAL(true, true);
}
//}
BOOST_AUTO_TEST_CASE(test2){
// std::cout << "Start Test2 ..." << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment