openni_tracker with "Kinect for Windows"
Im trying to start the openni_tracker ( with rosrun openni_tracker openni_tracker) and get this error messages:
[ERROR] [1339081305.103259848]: Find user generator failed: This operation is invalid!
and sometimes this error message
[ERROR] [1339081089.497960592]: InitFromXml failed: Got a timeout while waiting for a network command to complete!
With the debugger I got this output:
user@hpcname:/opt/ros/fuerte/stacks/openni_tracker/bin$ gdb openni_tracker
Reading symbols from /opt/ros/fuerte/stacks/openni_tracker/bin/openni_tracker...done.
(gdb) r
Starting program: /opt/ros/fuerte/stacks/openni_tracker/bin/openni_tracker
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff14b0700 (LWP 18459)]
[New Thread 0x7ffff0caf700 (LWP 18460)]
[New Thread 0x7ffff04ae700 (LWP 18461)]
[New Thread 0x7fffefcad700 (LWP 18466)]
[New Thread 0x7fffed0fc700 (LWP 18468)]
[ERROR] [1339081305.103259848]: Find user generator failed: This operation is invalid!
[Thread 0x7fffefcad700 (LWP 18466) exited]
[Thread 0x7ffff04ae700 (LWP 18461) exited]
[Thread 0x7ffff14b0700 (LWP 18459) exited]
[Thread 0x7ffff0caf700 (LWP 18460) exited]
[Thread 0x7fffed0fc700 (LWP 18468) exited]
[Inferior 1 (process 18455) exited with code 022]
(gdb) l
127 /tmp/buildd/ros-fuerte-openni-tracker-0.1.0/debian/ros-fuerte-openni-tracker/opt/ros/fuerte/stacks/openni_tracker/src/openni_tracker.cpp: File or dictionary not found.
in /tmp/buildd/ros-fuerte-openni-tracker-0.1.0/debian/ros-fuerte-openni-tracker/opt/ros/fuerte/stacks/openni_tracker/src/openni_tracker.cpp
Update:
At begin, I´ve changed the openni drivers to adapt the "Kinect for Windows" and I found out, that the NITE drivers are not compatible anymore with the openni drivers. That is the reason why I got this openni_tracker errors in my case.
So, I changed my ROS-System again to Electric and removed the adapted openni kinect drivers from my system. There the Kinect for Xbox works fine again with the openni_tracker.
Conclusion for now:
It is possbile to adapt the "K4W" in ROS to get the video data stream. As soon as the openni_tracker should be used there are some compatibility errors under Electric and Fuerte.
Best regards