ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A
Ask Your Question

How to visualize sensor_msgs/LaserScan without using RViz?

asked 2014-08-16 03:29:01 -0500

Rm4n2aa gravatar image

Hi all, thank you for reading this post.

i don't get any images in RViz, not even sensor_msgs/images, just a black screen. I think it's a bug. cause i can see them using image_view pack. Now I want to visualize sensor_msgs/LaserScan without using RVIz, Is there any other way to do this?

Any answers would be appreciated.

edit retag flag offensive close merge delete


did you select topic for displaying images?

bvbdort gravatar imagebvbdort ( 2014-08-16 05:14:38 -0500 )edit

Hello @bvbdort. yes I did select the topic. and RViz is subscribing to the topic. but it shows just a black screen.

Rm4n2aa gravatar imageRm4n2aa ( 2014-08-16 06:00:50 -0500 )edit

In reference to the black screen, try updating your graphics drivers. This solved it for me (I too had the persistent black screen of death on every open of Rviz).

ahubers gravatar imageahubers ( 2014-08-17 01:49:38 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-16 14:20:10 -0500

ahendrix gravatar image

If you add a screenshot of rviz, we can probably help you debug why it isn't working. rviz also has a troubleshooting page that may be useful.

rviz really is the correct tool for visualizing data, because it understands the transform tree and can display different data sources in 3D, relative to one another.

If you just want to visualize your laser data to confirm that your laser is working, I wrote a simple laser viewer many years ago. I stopped using it once I discovered rviz.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-08-16 03:29:01 -0500

Seen: 453 times

Last updated: Aug 16 '14