Laser scan matcher causes Laser Scan errrors (SLAM) [closed]
I am currently trying out different SLAM methods with a single Hokuyo UTM30-LX laser scanner. I got hector_slam to work pretty smoothly, but I am having problems with the laser_scan_matcher + gmapping method.
The laser_scan_matcher seems to cause the Laser Scan display in Rviz to show the status as "Error" every few seconds. It seems to be able to come up with a pose okay, but when I hook it up to gmapping (map > odom > base_link > laser), the map comes out weird. Things seem to be shifted.
*I would post pictures of the maps but my Karma is too low.
laser_scan_matcher + gmapping sorta work well in a small room, but maybe the long hallways are confusing it (maybe the far wall is out of range of the sensor)
Does anyone else have this problem? Are there limitations of laser_scan_matcher + gmapping that I'm not aware of? Any help would be much appreciated.
Thank you, Jonathan K.
is your odometry data correct ?
are you working on a real robot or simulation?
What is your tf tree? What provides which transform?
Seems like the GMAPPING has its own localization method . I think the problem is come from the odom . It might has been published by 2 modules(Gmapping + Laser Scan Matcher)