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

How to display .bag file in rviz using LeGO-LOAM

asked 2019-06-24 17:41:28 -0600

Nurbek gravatar image

updated 2019-06-24 18:41:55 -0600

jayess gravatar image

I installed successfully lego-loam (https://github.com/RobustFieldAutonom...) and would like to run my .bag file (map using velodyne 64 3D lidar). However I see anything in rviz display, and error says:

Fixed Frame [map] does not exist

Could you please help me, how i can see my pre-created map in the format of .bag file.

I am doing following steps:

  1. roslaunch lego_loam run.launch --- rviz opens after this command
  2. rosbag play ('my bag file')

Thank you in advance

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2019-06-24 20:03:18 -0600

cassini.huygens gravatar image

Please list the topics that you want to visualize in Rviz. As an additional comment, you need to make sure to have the proper tf tree of your system (how camera is connected to base_link etc http://wiki.ros.org/tf/Tutorials) you might want to create a transform boradcaser launch file to create the tf tree of your system so you can visualize everything you want at once in Rviz.

edit flag offensive delete link more
0

answered 2019-06-25 08:30:50 -0600

Nurbek gravatar image

proper tf tree was the answer. Thanks a lot! Problem is solved

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-06-24 17:41:28 -0600

Seen: 1,188 times

Last updated: Jun 25 '19