openni_launch + fuerte + ubuntu 12.04: No image received
Hello,
I just installed openni_camera and openni_launch stacks. When I launch the driver and rviz using the following commands:
roslaunch openni_launch openni.launch
rosrun rviz rviz
in rviz, I see a warning telling me that it didn't receive any images. I try to echo the messages sent by /camera/rgb/image_raw, but no messages are published on that topic.
I need to mention that I get some number of messages from /camera/depth/points topic. The interesting thing here is that only a number of messages are published by that topic. It stops after a random number of messages.
There are a few similar problems like mine. Following the proposed answers, I suspect that my drivers might be faulty. But reinstalling them didn't solve the problem.
Here is a screen shot: In this run, I only got 74 point cloud messages. It just stopped at that point. I also didn't get any image messages.
I deeply appreciate any help.
EDIT: --------------------------------------------------------------
I must also add that when I run the following command:
rosrun image_view disparity_view image:=/camera/depth/disparity and not rviz, I can see the camera working for only a few(5-10) seconds, and again it hangs.
-------------------------------------------------------------------------
EDIT 2: --------------------------------------------------------------
I get lots of errors and warnings but they are said to be harmless, for example
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> ignored
[ERROR] [1346137170.283120890]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/compressed/set_parameters]
[ WARN] [1346137171.480522722]: Using default parameters for RGB camera calibration.
In several questions on Ros Answers, I ran into the problems with the same errors and warning. They all say that ignoring these errors wouldn't do any harm.
I paste the full output here
-------------------------------------------------------------------------
EDIT 3: I cannot comment on the posts, that's why I will post this edit. As pgorczak says, I don't believe that my problem is performance related, I use a powerful computer. In addition to that, even if I don't start rviz or image_view and just echo, let's say, /camera/rgb/image_raw, I don't see any messages on that topic. I believe openni just freezes.
I will keep trying to see if I can get it to work. And, thanks a lot pgorczak, I am looking forward to your update.
Did you check for any suspicious log messages? Try running
roscore
andrxconsole
before the driver's launch file and see if anything shows up when it hangs.I updated the question. Please check edit2.
@yygyt were you able to ever solve your problem? I think I am having the same issue. Are you using Ubuntu 12.04 64-bit? Are you using the openni-dev unstable and ps-engine avin2 packages found here?
Yeah, somehow... Please take a look at this reply http://answers.ros.org/question/46066/kinect-dynamic-reconfigure-does-not-work/#46450. In my case, both problems are related