Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I remember to have had the same problem... Since you are speaking of "odom_combined" I assume that you are using the robot_pose_ekf package.

Here is my launchfile for gmapping:

<launch>

<!-- slam_gmapping -->  
<node pkg="gmapping" type="slam_gmapping" name="slam_gmapping" output="screen">
   <param name="odom_frame" value="odom_combined"/>
       <remap from="scan" to="hokuyo_scan"/>
</node>

</launch>

I think the interesting part is the remap of the odom_frame. After I did that all needed TFs worked correctly.

I remember to have had the same problem... Since you are speaking of "odom_combined" I assume that you are using the robot_pose_ekf package.

Here is my launchfile for gmapping:

<launch>    

<!-- slam_gmapping -->  
<node pkg="gmapping" type="slam_gmapping" name="slam_gmapping" output="screen">
   <param name="odom_frame" value="odom_combined"/>
       <remap from="scan" to="hokuyo_scan"/>
</node>

</launch>

</launch>

I think the interesting part is the remap of the odom_frame. After I did that all needed TFs worked correctly.