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

fixed viewselection data file path...

parent ddbcb630
No related branches found
No related tags found
No related merge requests found
......@@ -46,10 +46,7 @@ void ViewSelection::onInitComponent()
cameraFrameName = getProperty<std::string>("CameraFrameName").getValue();
drawViewDirection = getProperty<bool>("VisualizeViewDirection").getValue();
std::string graphFileName = "RobotComponents/ViewSelection/graph40k.gra";
armarx::CMakePackageFinder finder("RobotComponents");
ArmarXDataPath::addDataPaths(finder.getDataDir());
std::string graphFileName = "RobotAPI/ViewSelection/graph40k.gra";
if (ArmarXDataPath::getAbsolutePath(graphFileName, graphFileName))
{
......@@ -81,6 +78,7 @@ void ViewSelection::onInitComponent()
{
ARMARX_ERROR << "Could not find required1 graph file";
handleExceptions();
return;
}
sleepingTimeBetweenViewDirectionChanges = getProperty<int>("SleepingTimeBetweenViewDirectionChanges").getValue();
......
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