ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

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

Comments

did you select topic for displaying images?

bvbdort gravatar image bvbdort  ( 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 image Rm4n2aa  ( 2014-08-16 06:00:50 -0500 )edit
1

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 image ahubers  ( 2014-08-17 01:49:38 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Question Tools

1 follower

Stats

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

Seen: 572 times

Last updated: Aug 16 '14