Slam gmapping and hector
Hello!
I'm currently trying to implement a slam using gazebo.
I already have the laser tf publish, as well and the tf between the wheels and the base_link and gazebo publishes the odometry and I think it publishes the tf too.
So i'll put up the questions in order:
1- Why is the map so horrible using gmapping and it's fairly good using hector-slam?
2- My current tf tree using hector is this :
Do I need the transforme between odom->basefootprint->baselink for slam-gmapping to work and why would I need it either way?
3-I don't really understand how the odom tf is published. I used the robotstatepublisher node and I know it publishes the wheels tf but does it also publish the odom tf or is it gazebo who does it?
Thanks in advance!
Asked by sirsomething on 2017-04-22 09:56:35 UTC
Comments
Look at the gmapping documentation for required tf transforms. Gmapping needs base_link transformations.
Asked by Humpelstilzchen on 2017-04-24 07:51:09 UTC