Map rotates as the robot rotates
I am encountering a problem:using gmapping with rplidar gets really good map, but when I point a 2dNAV Goal in RVIZ,the robot will move ,rotate and unexpectedly, the map rviz shows also rotates. Shouldn't the map be static? Why would it rotate?If you needs more specifications, tell me, I will add those details.
Your local and global costmap configuration with launch file should help.
Check the global frame in rviz, maybe it is not on the map frame