Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No map messages received in Rviz when run this simulation with gmapping #17

Open
kktfox opened this issue Jan 10, 2020 · 3 comments
Open

Comments

@kktfox
Copy link

kktfox commented Jan 10, 2020

I run racecar.launch and gmapping, but I can't see map in Rviz when run gmapping.
Screenshot from 2020-01-11 10-20-07
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.

@devanshdhrafani
Copy link

Hi! Were you able to solve this issue?

@kktfox
Copy link
Author

kktfox commented Feb 9, 2021

My problem is caused by wrong tf relations. you can check tf tree. It seems a little error exist in publishing tf between two frames.

@devanshdhrafani
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants