Robotics StackExchange | Archived questions

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

I installed successfully lego-loam (https://github.com/RobustFieldAutonomyLab/LeGO-LOAM) 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

Asked by Nurbek on 2019-06-24 17:41:28 UTC

Comments

Answers

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.

Asked by cassini.huygens on 2019-06-24 20:03:18 UTC

Comments

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

Asked by Nurbek on 2019-06-25 08:30:50 UTC

Comments