ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

After 1 week and half on this problem, I found the answer 20 minutes after having finally asked the question here (http://kinect-with-ros.976505.n3.nabble.com/Ros-kinect-skel-tracker-issue-td2790186.html).

The real error is this one: InitFromXml failed: File not found!. It comes from the line

std::string configFilename = ros::package::getPath("openni") + "/lib/SamplesConfig.xml";

of main.cpp.

With the cturtle distribution, this file exists but not with diamondback. The solution is to get it and copy it in the lib directory of openni.

roscd openni
sudo mkdir lib
sudo wget http://kinect-with-ros.976505.n3.nabble.com/attachment/2791624/0/SamplesConfig.xml

The link comes from the thread where I found the answer (I can't post here).

It does the trick for me.

I guess the MIT team should fix it.

After 1 week and half on this problem, I found the answer 20 minutes after having finally asked the question here (http://kinect-with-ros.976505.n3.nabble.com/Ros-kinect-skel-tracker-issue-td2790186.html).

The real error is this one: InitFromXml failed: File not found!. It comes from the line

std::string configFilename = ros::package::getPath("openni") + "/lib/SamplesConfig.xml";

of main.cpp.

With the cturtle distribution, this file exists but not with diamondback. The solution is to get it and copy it in the lib directory of openni.

roscd openni
sudo mkdir -p lib
sudo wget -P lib http://kinect-with-ros.976505.n3.nabble.com/attachment/2791624/0/SamplesConfig.xml

The link comes from the thread where I found the answer (I can't post here).

It does the trick for me.

I guess the MIT team should fix it.

After 1 week and half on this problem, I found the answer 20 minutes after having finally asked the question here (http://kinect-with-ros.976505.n3.nabble.com/Ros-kinect-skel-tracker-issue-td2790186.html).

The real error is this one: InitFromXml failed: File not found!. It comes from the line

std::string configFilename = ros::package::getPath("openni") + "/lib/SamplesConfig.xml";

of main.cpp.

With the cturtle distribution, this file exists but not with diamondback. The solution is to get it and copy download it in the lib directory of openni.openni:

roscd openni
sudo mkdir -p lib
sudo wget -P lib http://kinect-with-ros.976505.n3.nabble.com/attachment/2791624/0/SamplesConfig.xml
`rospack find openni`/lib http://kinect-with-ros.976505.n3.nabble.com/attachment/2791624/0/SamplesConfig.xm/0/SamplesConfig.xml

The link comes from the thread where I found the answer (I can't post here).

It does the trick for me.

I guess the MIT team should fix it.

After 1 week and half on this problem, I found the answer 20 minutes after having finally asked the question here (http://kinect-with-ros.976505.n3.nabble.com/Ros-kinect-skel-tracker-issue-td2790186.html).

The real error is this one: InitFromXml failed: File not found!. It comes from the line

std::string configFilename = ros::package::getPath("openni") + "/lib/SamplesConfig.xml";

of main.cpp.

With While with the cturtle distribution, the file exists,with diamondback it doesn't. We can find this file exists but not with diamondback. on the official OpenNi git repository. The solution is to download it in the lib directory of openni:

sudo wget -P `rospack find openni`/lib http://kinect-with-ros.976505.n3.nabble.com/attachment/2791624/0/SamplesConfig.xm/0/SamplesConfig.xml
https://github.com/OpenNI/OpenNI/blob/43c256b554dcbe478644be73e29af16b3470f1c1/Data/SamplesConfig.xml

The link comes from the thread where I found the answer (I can't post here).

It does the trick for me.

I also found it at the root of the openni_tracker package under the name openni_tracker.xml.

I guess the MIT team should fix it.

After 1 week and half on this problem, I found the answer 20 minutes after having finally asked the question here (http://kinect-with-ros.976505.n3.nabble.com/Ros-kinect-skel-tracker-issue-td2790186.html).

The real error is this one: InitFromXml failed: File not found!. It comes from the line

std::string configFilename = ros::package::getPath("openni") + "/lib/SamplesConfig.xml";

of main.cpp.

While with the cturtle distribution, the file exists,with diamondback it doesn't. We can find this file on the official OpenNi git repository. The solution is to download it in the lib directory of openni:the openni package:

sudo wget -P `rospack find openni`/lib https://github.com/OpenNI/OpenNI/blob/43c256b554dcbe478644be73e29af16b3470f1c1/Data/SamplesConfig.xml

It does the trick for me.

I also found it at the root of the openni_tracker package under the name openni_tracker.xml.

I guess the MIT team should fix it.

After 1 week and half on this problem, I found the answer 20 minutes after having finally asked the question here (http://kinect-with-ros.976505.n3.nabble.com/Ros-kinect-skel-tracker-issue-td2790186.html).

The real error is this one: InitFromXml failed: File not found!. It comes from the line

std::string configFilename = ros::package::getPath("openni") + "/lib/SamplesConfig.xml";

of main.cpp.

While with the cturtle distribution, the file exists,with diamondback it doesn't. We can find this file on the official OpenNi git repository. The solution is to download it in the lib directory of the openni package:

sudo wget -P `rospack find openni`/lib https://github.com/OpenNI/OpenNI/blob/43c256b554dcbe478644be73e29af16b3470f1c1/Data/SamplesConfig.xml
https://github.com/OpenNI/OpenNI/raw/43c256b554dcbe478644be73e29af16b3470f1c1/Data/SamplesConfig.xml

It does the trick for me.

I also found it at the root of the openni_tracker package under the name openni_tracker.xml.

I guess the MIT team should fix it.

After 1 week and half on this problem, I found the answer 20 minutes after having finally asked the question here (http://kinect-with-ros.976505.n3.nabble.com/Ros-kinect-skel-tracker-issue-td2790186.html).

The real error is this one: InitFromXml failed: File not found!. It comes from the line

std::string configFilename = ros::package::getPath("openni") + "/lib/SamplesConfig.xml";

of main.cpp.

While with the cturtle distribution, the file exists,with diamondback it doesn't. We can find this file on the official OpenNi git repository. The solution is to download it in the lib directory of the openni package:

sudo wget -P `rospack find openni`/lib https://github.com/OpenNI/OpenNI/raw/43c256b554dcbe478644be73e29af16b3470f1c1/Data/SamplesConfig.xml
https://github.com/OpenNI/OpenNI/raw/43c256b554dcbe478644be73e29af16b3470f1c1/Data/SamplesConfig.xml --no-check-certificate

It does the trick for me.

I also found it at the root of the openni_tracker package under the name openni_tracker.xml.

I guess the MIT team should fix it.

After 1 week and half on this problem, I found the answer 20 minutes after having finally asked the question here (http://kinect-with-ros.976505.n3.nabble.com/Ros-kinect-skel-tracker-issue-td2790186.html).

The real error is this one: InitFromXml failed: File not found!. It comes from the line

std::string configFilename = ros::package::getPath("openni") + "/lib/SamplesConfig.xml";

of main.cpp.

While with the cturtle distribution, the file exists,with diamondback it doesn't. We can find this file on the official OpenNi git repository. The solution is to download it in the lib directory of the openni package:

sudo wget -P `rospack find openni`/lib https://github.com/OpenNI/OpenNI/raw/43c256b554dcbe478644be73e29af16b3470f1c1/Data/SamplesConfig.xml --no-check-certificate

It does the trick for me.

I also found it at the root of the openni_tracker package under the name openni_tracker.xml.

I guess hope the MIT team should will fix it.