Mapping by gmapping isn't correct
Hi, I'm doing the mapping process by gmapping. At the beginning, my robot can recognize a wall very well, but when i spin the robot and face into empty space, it suddenly appears a line on the map in Rviz, although there is nothing there. What's the problem? Is there any parameter in gmapping launch file I should adjust?
Please edit your description to provide more information. Which gmapping package are you using (give us a link)? What sensor input is your robot using to generate a current pose?
You can edit your question using the "edit" button at the end of your description.
Oh, I have solved the problem, but thanks for your reply, I will close the answer.
@Kevin1719: we're really happy you solved your problem, but we're less happy you didn't take 5 minutes to post an answer so future readers of your question who might be struggling with the same problem could benefit from what you found out.
If everyone on ROS Answers would only post "oh I figured it out" but then not explain what they figured out, there would be no point in having this forum here (as there would be no usable information on it).
Please take the time to do that and post what you did as an answer. Then accept your own answer.
Yes, thank you for reminding me :)
Please don't close questions if/once they've been answered.
Accepting the answer suffices.