ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to make the gmapping algorithm use only laser scan topics to build maps?

asked 2022-11-18 08:18:40 -0600

wugeshenhuaking gravatar image

I learned from reading the relevant links of gmapping that gmapping uses odom and laser scan to build maps. Is there any way to let gmapping only accept laserscan data to build maps

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2022-11-19 08:26:15 -0600

Davies Ogunsina gravatar image

Gmapping node subscribes to the odometry data of your robot (topic name) and also the laser scan. The only package I know about that uses only laser scan data to build map is hector mapping ...for that to work you have to get a transform from map to base_link to laser_frame of your robot .

edit flag offensive delete link more

Comments

I have used Hector to get the map I want. I want to ask again what method can I use to build a map with the topic of odom?

wugeshenhuaking gravatar image wugeshenhuaking  ( 2022-11-21 08:02:00 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2022-11-18 08:18:40 -0600

Seen: 87 times

Last updated: Nov 19 '22