Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I would suggest looking at the file urdf/gazebo.urdf.xacro in turtlebot_description. The section beginning

xacro:macro name="turtlebot_sim_laser"

contains a description that creates a lidar sensor on the robot. Gmapping expects laser scans and odometry as input, so the output of this sensor should work directly.