Rviz not able to receive message from sensor_msgs topic [closed]

asked 2014-01-29 12:47:04 -0500

lifelonglearner gravatar image

updated 2014-01-29 17:54:38 -0500

Earlier the rosrun rviz rviz was working well along with roslaunch openni_launch openni.launch by using image panel of Rviz I was able to see the image frames captured from Kinect.

Now, Rviz image panel is unable to display the frames. However I can see the image using rosrun image_view image_view image:=/camera/rgb/image_color which also subscribes the same topic sensor_msgs as in case of image panel of Rviz.

Please tell me what is the problem and suggest me the solution.

Here is roswtf result

admin-pc@admin-pc:~/mywork$ roswtf
No package or stack in context
================================================================================
Static checks summary:

Found 2 warning(s).
Warnings are things that may be just fine, but are sometimes at fault

WARNING You are missing core ROS Python modules: bloom -- rosrelease -- 
WARNING You are missing Debian packages for core ROS Python modules: bloom (python-bloom) -- rosrelease (python-rosrelease) -- 

================================================================================
Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
... done running graph rules
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2016-08-14 01:46:54.198505

Comments

Is there any console output from rviz suggesting why it's having trouble subscribing to the topic or rendering frames? Have you tried an image widget instead of a camera widget?

ahendrix gravatar image ahendrix  ( 2014-01-29 18:20:25 -0500 )edit

@ahendrix I could not get any console output from from Rviz. Infact I can not get any consol output window in Rviz GUI interface. Please tell a little more about image widget and camera widget pls.

lifelonglearner gravatar image lifelonglearner  ( 2014-01-29 23:07:28 -0500 )edit

When referring to console output, I mean output on the terminal where you ran 'rosrun rviz rviz' ; not output from within rviz itself.

ahendrix gravatar image ahendrix  ( 2014-01-30 07:59:22 -0500 )edit

@ahendrix On terminal no error message it is running successfully there and no suggestion regarding that.

lifelonglearner gravatar image lifelonglearner  ( 2014-01-30 12:06:53 -0500 )edit

If an image display ( http://wiki.ros.org/rviz/DisplayTypes/Image ) works where the camera display ( http://wiki.ros.org/rviz/DisplayTypes/Camera ) does not, you probably have a TF/frame problem.

ahendrix gravatar image ahendrix  ( 2014-01-30 12:12:45 -0500 )edit

(http://wiki.ros.org/rviz/DisplayTypes/Image) I checked already and found that Image panel subscribes the sensor_msgs/Image and further gives option to select the image topic but in my case image panel is not receiving image so selection of topic is not active. Rviz also provides global options to select fixed frame that is working, and it also showing Global status OK .

lifelonglearner gravatar image lifelonglearner  ( 2014-01-30 12:55:07 -0500 )edit

I'm out of ideas; sorry.

ahendrix gravatar image ahendrix  ( 2014-01-30 12:58:09 -0500 )edit