[Ros-kinect] skel_tracker issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Ros-kinect] skel_tracker issue

Jeh-Sang Cho
Hi, I'm trying to run the hand detection demo for my kinect.
When I run the code, I get following messages:

[skel_tracker-9] restarting process
process[skel_tracker-9]: started with pid [12502]
InitFromXml failed: File not found!
[skel_tracker-9] process has died [pid 12502, exit code 4].
log files: /home/isnl/.ros/log/ced9eaa0-6115-11e0-834f-00248c3b62c4/skel_tracker-9*.log
respawning...

It recursively prints same messages above.

This is the content of skel_tracker-9.log file:

[roscpp_internal] [2011-04-07 21:59:59,029] [thread 0xb690f950]: [DEBUG] UDPROS server listening on port [58205]
[roscpp_internal] [2011-04-07 21:59:59,033] [thread 0xb690f950]: [DEBUG] Started node [/skel_tracker], pid [13753], bound on [ubuntu], xmlrpc port [51171], tcpros port [36156], logging to [/home/isnl/.ros/log/ced9eaa0-6115-11e0-834f-00248c3b62c4/skel_tracker-9.log], using [real] time
[roscpp_internal] [2011-04-07 21:59:59,040] [thread 0xb690f950]: [DEBUG] shutting down due to exit() or end of main() without cleanup of all NodeHandles
[roscpp_internal] [2011-04-07 21:59:59,040] [thread 0xb690f950]: [DEBUG] Shutting down roscpp
[roscpp_internal] [2011-04-07 21:59:59,221] [thread 0xb690f950]: [DEBUG] Shutting down topics...
[roscpp_internal] [2011-04-07 21:59:59,222] [thread 0xb690f950]: [DEBUG]   shutting down publishers
[roscpp_internal] [2011-04-07 21:59:59,232] [thread 0xb690f950]: [DEBUG]   shutting down subscribers
[roscpp_internal] [2011-04-07 21:59:59,232] [thread 0xb690f950]: [DEBUG] ServiceManager::shutdown(): unregistering our advertised services
[roscpp_internal] [2011-04-07 21:59:59,322] [thread 0xb690eb70]: [DEBUG] Accepted connection on socket [7], new socket [12]
[roscpp_internal] [2011-04-07 21:59:59,322] [thread 0xb690eb70]: [DEBUG] TCPROS received a connection from [127.0.1.1:55682]
[roscpp_internal] [2011-04-07 21:59:59,322] [thread 0xb690f950]: [DEBUG] UDP socket [8] closed
[roscpp_internal] [2011-04-07 21:59:59,322] [thread 0xb690f950]: [DEBUG] TCP socket [7] closed
[roscpp_internal] [2011-04-07 21:59:59,322] [thread 0xb690f950]: [DEBUG] TCP socket [12] closed
[roscpp_internal] [2011-04-07 21:59:59,332] [thread 0xb690f950]: [DEBUG] Shutdown finished

Does anyone know the reason for my problem?
Thanks.

_______________________________________________
Ros-kinect mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-kinect
Reply | Threaded
Open this post in threaded view
|

Re: [Ros-kinect] skel_tracker issue

mrbig
I had the same problem, and it should be caused by

"InitFromXml failed: File not found!" 

From main.cpp inside skeletal_tracker, you can find:
std::string configFilename = ros::package::getPath("openni") + "/lib/SamplesConfig.xml";

which needs a SamplesConfig.xml under the opnni package,
several weeks back there was an "ni" folder under kinect_demos, and the openni package goes there,
not sure why it is removed now. 
I have preserve the old copy of the xml file, so maybe you can try it out:

1. roscd openni
2. mkdir lib
3. copy the attached file to the lib dir you just created.
4. roslaunch again.

It works for me, not sure how it work for you.


On Thu, Apr 7, 2011 at 9:01 AM, Jeh-Sang Cho <[hidden email]> wrote:
Hi, I'm trying to run the hand detection demo for my kinect.
When I run the code, I get following messages:

[skel_tracker-9] restarting process
process[skel_tracker-9]: started with pid [12502]
InitFromXml failed: File not found!
[skel_tracker-9] process has died [pid 12502, exit code 4].
log files: /home/isnl/.ros/log/ced9eaa0-6115-11e0-834f-00248c3b62c4/skel_tracker-9*.log
respawning...

It recursively prints same messages above.

This is the content of skel_tracker-9.log file:

[roscpp_internal] [2011-04-07 21:59:59,029] [thread 0xb690f950]: [DEBUG] UDPROS server listening on port [58205]
[roscpp_internal] [2011-04-07 21:59:59,033] [thread 0xb690f950]: [DEBUG] Started node [/skel_tracker], pid [13753], bound on [ubuntu], xmlrpc port [51171], tcpros port [36156], logging to [/home/isnl/.ros/log/ced9eaa0-6115-11e0-834f-00248c3b62c4/skel_tracker-9.log], using [real] time
[roscpp_internal] [2011-04-07 21:59:59,040] [thread 0xb690f950]: [DEBUG] shutting down due to exit() or end of main() without cleanup of all NodeHandles
[roscpp_internal] [2011-04-07 21:59:59,040] [thread 0xb690f950]: [DEBUG] Shutting down roscpp
[roscpp_internal] [2011-04-07 21:59:59,221] [thread 0xb690f950]: [DEBUG] Shutting down topics...
[roscpp_internal] [2011-04-07 21:59:59,222] [thread 0xb690f950]: [DEBUG]   shutting down publishers
[roscpp_internal] [2011-04-07 21:59:59,232] [thread 0xb690f950]: [DEBUG]   shutting down subscribers
[roscpp_internal] [2011-04-07 21:59:59,232] [thread 0xb690f950]: [DEBUG] ServiceManager::shutdown(): unregistering our advertised services
[roscpp_internal] [2011-04-07 21:59:59,322] [thread 0xb690eb70]: [DEBUG] Accepted connection on socket [7], new socket [12]
[roscpp_internal] [2011-04-07 21:59:59,322] [thread 0xb690eb70]: [DEBUG] TCPROS received a connection from [127.0.1.1:55682]
[roscpp_internal] [2011-04-07 21:59:59,322] [thread 0xb690f950]: [DEBUG] UDP socket [8] closed
[roscpp_internal] [2011-04-07 21:59:59,322] [thread 0xb690f950]: [DEBUG] TCP socket [7] closed
[roscpp_internal] [2011-04-07 21:59:59,322] [thread 0xb690f950]: [DEBUG] TCP socket [12] closed
[roscpp_internal] [2011-04-07 21:59:59,332] [thread 0xb690f950]: [DEBUG] Shutdown finished

Does anyone know the reason for my problem?
Thanks.

_______________________________________________
Ros-kinect mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-kinect




_______________________________________________
Ros-kinect mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-kinect

SamplesConfig.xml (1K) Download Attachment