Gmapping a problem with gates on the map
I am using gmapping ros package and my lidar is rplidar S1. On the map, doors seem 8-10 cm narrower than expected in some cases. (I'm not testing on the black door surface.) I get different results each time. In some cases, the door dimensions look correct. I could not understand what it was changing depending on. What would be the reason.
Have you checked if your robot odometry and the tf correctly setup?
Thanks your answer. I still have the same problem when I reduce the effect of odometry. Yes there is no problem with TF s.
If you have already calibrated your odometric sensors and we assume that the error in odometry is only due to slippage and the stacking of the error over time, this error must be compensated by gmapping. (Then maybe this is not the cause of your error).
Check the accuracy of the lidar sensor, could be this is the issue.
Alternatively you can use cartographer, if the problem persists then we can say the problem is not with gmapping itself.