Combining laser_scan_matcher with gmapping
Hi,
I'm having hard time trying to set up a SLAM system with a laser scanner using gmapping
. I installed laser_drivers
, scan_tools
and slam_gmapping
stacks. I'm having no problems with laser_scan_matcher. I'm using the following launchfile for laser_scan_matcher and hokuyo_node:
Deleted to avoid confusion, look at Ivan's answer below instead
So so far I've got:
- a
hokuyo_node
publishing scans on a/scan
topic - a
laser_scan_matcher
publishing odometry tf on/base_link
tf - a tf tree set up as follows:
laser
->base_link
->world
(I don't actually know what the laser tf is here for, but it's been there in an example, so it stays for now)
What should my call to gmapping
look like for the connection to laser_scan_matcher
to work? Of course I tried a lot but none of the calls / launchfiles worked so I think it's best to ask an open question here first.