title: Why the robot doesn't move in RVIZ?
body: <p>I am working now with the real robot which is turtlebot3 burger. As shown in the rqt_graph below, I've run my custom package which is Im adding the <code>ann3_publisher</code> node to be published to the <code>gmapping</code> package and run in the real robot.</p>
  <p><a href="https://i.stack.imgur.com/nDXjP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nDXjP.png" alt="rqt_graph" /></a></p>
  <p>But when I move the robot, it seems that the robot in the rviz application is not moving at all. The map and the robot is there as shown in the figure below but the robot is not moving:</p>
  <p><a href="https://i.stack.imgur.com/4gSuN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4gSuN.png" alt="map" /></a></p>
  <p>I try to run <code>rosrun rviz rviz</code> on the terminal and add one by one, there is a warning message appear as shown in the figure below</p>
  <p><a href="https://i.stack.imgur.com/OkE7N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OkE7N.png" alt="terminal" /></a></p>
  <p>When I run the common package <code>roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=gmapping</code> it works and I dont have this problem. May I know why and how to solve this?</p>
  <p>This is my custom turtlebot3_slam.launch file to subscribe the /scan_new3 topic.</p>
  <pre><code>&lt;launch&gt;
    &lt;!-- Arguments --&gt;
    &lt;arg name=&quot;model&quot; default=&quot;$(env TURTLEBOT3_MODEL)&quot; doc=&quot;model type [burger, waffle, waffle_pi]&quot;/&gt;
    &lt;arg name=&quot;configuration_basename&quot; default=&quot;turtlebot3_lds_2d.lua&quot;/&gt;
    &lt;arg name=&quot;set_base_frame&quot; default=&quot;base_footprint&quot;/&gt;
    &lt;arg name=&quot;set_odom_frame&quot; default=&quot;odom&quot;/&gt;
    &lt;arg name=&quot;set_map_frame&quot;  default=&quot;map&quot;/&gt;
    &lt;arg name=&quot;open_rviz&quot; default=&quot;true&quot;/&gt;
  
    &lt;!-- TurtleBot3 --&gt;
    &lt;include file=&quot;$(find turtlebot3_bringup)/launch/turtlebot3_remote.launch&quot;&gt;
      &lt;arg name=&quot;model&quot; value=&quot;$(arg model)&quot; /&gt;
    &lt;/include&gt;
  
    &lt;!-- Gmapping --&gt;
    &lt;node pkg=&quot;gmapping&quot; type=&quot;slam_gmapping&quot; name=&quot;turtlebot3_slam_gmapping&quot; output=&quot;screen&quot;&gt;
      &lt;param name=&quot;base_frame&quot; value=&quot;$(arg set_base_frame)&quot;/&gt;
      &lt;param name=&quot;odom_frame&quot; value=&quot;$(arg set_odom_frame)&quot;/&gt;
      &lt;param name=&quot;map_frame&quot;  value=&quot;$(arg set_map_frame)&quot;/&gt;
      &lt;rosparam command=&quot;load&quot; file=&quot;$(find turtlebot3_slam)/config/gmapping_params.yaml&quot; /&gt;
      &lt;remap from=&quot;/scan&quot; to=&quot;/scan_new3&quot;/&gt;
    &lt;/node&gt;
  
    &lt;!-- rviz --&gt;
    &lt;group if=&quot;$(arg open_rviz)&quot;&gt; 
      &lt;node pkg=&quot;rviz&quot; type=&quot;rviz&quot; name=&quot;rviz&quot; required=&quot;true&quot;
            args=&quot;-d $(find turtlebot3_slam)/rviz/turtlebot3_scan3.rviz&quot;/&gt;
    &lt;/group&gt;
  &lt;/launch&gt;
  </code></pre>
  <p>Below is the tf_tree of the real robot. One more information is when I run in gazebo simulation. it works and the robot moves. But when I run in real world, the robot doesnt move in rviz application.</p>
  <p><a href="https://i.stack.imgur.com/tB018.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tB018.png" alt="tf_tree" /></a></p>