I run racecar.launch and gmapping, but I can't see map in Rviz when run gmapping.
Also, I find odom_frame is not connected with base_link in tf tree. Is this maybe the reason fo question? Could anyone konw how to fix it, really thx.
Hi! Thanks for your reply. I was able to solve the problem.
The issue was that no odom-->base_link transform was being published. Have a look at this post where I fixed the same. And here you can find the code for launching gmapping.
I run racecar.launch and gmapping, but I can't see map in Rviz when run gmapping. Also, I find odom_frame is not connected with base_link in tf tree. Is this maybe the reason fo question? Could anyone konw how to fix it, really thx.