ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Condensing comment section into an answer:
Read REP-105 which covers how a mobile robot's tf tree should be structured before you do anything. Then to visualize the output of your tf tree run the command rosrun tf view_frames
(or use ros-blessed like @chfritz said?). By visually inspecting this you can get to the root of any fundamental problems with your tf tree.
Also, DO NOT change the frame of your LIDAR scan. The data produced by the laser scanner is always produced in its own laser_link frame. If you tf tree is setup correctly then RVIZ will be able to transform your laser scan into whatever frame you would like to visualize it in.