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

not able to select topic in rviz

asked 2012-03-26 02:29:51 -0500

anonymous user

Anonymous

updated 2012-03-26 16:40:40 -0500

tfoote gravatar image

I started with introduction to working with laserscanner data tutorials:

as it says i executed the following commands in terminal:

roscore in a terminal

then again

$ rosbag play laser.bag[ INFO] [1331111093.757680745]: Opening laser.bag

Waiting 0.2 seconds after advertising topics... done.

Hit space to toggle paused, or 's' to step.
 [RUNNING]  Bag Time: 1275001525.634246   Duration: 41.420635 / 41.431989    
Done.
root@arun-Dell-System-Inspiron-N4110:~# rostopic list -v | grep sensor_msgs/LaserScan
root@arun-Dell-System-Inspiron-N4110:~# rosrun rviz rviz

in rviz i could not find the laserscan or /tilt_scan topic. i have inserted the rviz i got after rosrun rviz rviz

image description

image description

can anyone tell me why i'm not able to see the topics list and visualize laserdata in rviz

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-03-26 16:42:21 -0500

tfoote gravatar image

If you wait for the rosbag to finish playing and exit it will no longer be published.

I would run rosbag in a separate terminal and pause it while you get rviz setup, or run rostopic list.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-03-26 02:29:51 -0500

Seen: 977 times

Last updated: Mar 26 '12