I'm using amcl for localization. I added "use map topic" to "true" in launch file for amcl to publish map frame transform (it wasn't published before). When I start amcl the tf tree is "map>-odom>-base_link>-base_laser". But after sometime, it stops publishing map tf and gives error "AMCL error: Couldn't determine robot's pose associated with laser scan". But I'm getting proper scan data in echo. And in tf tree i"m getting "odom>-base_link>-base_laser", map is missing. Could it be due to different publishing frequencies or something other? Can I use static transform publisher to publish tf between map and odom?
↧