robot is not moving in rviz
Hi, i have a model, it is working fine in gazebo but in rviz it is not moving at all. The wheels are rotating but the robot's position is not changing at all.
Here are mu links: I used dummy link in rviz global fixed frame.
<link name="dummy">
</link>
<link name="link_chassis">
<!-- pose and inertial -->
<pose>0 0 0.1 0 0 0</pose>
<inertial>
<mass value="5"/>
<origin rpy="0 0 0" xyz="0 0 0.1"/>
<inertia ixx="0.0395416666667" ixy="0" ixz="0" iyy="0.106208333333" iyz="0" izz="0.106208333333"/>
</inertial>
<!-- body -->
<collision name="collision_chassis">
<geometry>
<box size="0.5 0.3 0.07"/>
</geometry>
</collision>
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<box size="0.5 0.3 0.07"/>
</geometry>
<material name="blue"/>
</visual>
<!-- caster front -->
</link>
<joint name="dummy_joint" type="fixed">
<parent link="dummy"/>
<child link="link_chassis"/>
</joint>
<link name="sensor_laser">
<inertial>
<origin xyz="0 0 0" rpy="0 0 0" />
<mass value="1" />
<xacro:cylinder_inertia mass="1" r="0.05" l="0.1" />
</inertial>
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<cylinder radius="0.05" length="0.1"/>
</geometry>
<material name="white" />
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 0 0"/>
<geometry>
<cylinder radius="0.05" length="0.1"/>
</geometry>
</collision>
</link>
<joint name="joint_sensor_laser" type="fixed">
<origin xyz="0.15 0 0.05" rpy="0 0 0"/>
<parent link="link_chassis"/>
<child link="sensor_laser"/>
</joint>