Scan topic for mapping
I'm having trouble with mapping... I have both the laser scan and odometry from a bagfile. When I run the laser scan trough a node (doesn't change any data, just converts to a pointcloud) and convert back to a laserscan with poincloudtolaser, it will not map from the new topic.
I'm sure this has something to do with the base_link or some frame_id thing, but I have no idea how to set this up... Any help?
The published scan has a different laser topic. It is /laserOut/filtered (again, no filtering yet). So, I run gmapping with the following:
rosrun gmapping slam_gmapping _particles:=100 _linearUpdate:=0.1 _angularUpdate:=0.1 scan:=/laserOut/filtered
This accounts for the update interval and points at the topic to listen to. Gmapping is not having trouble with scan matching. It scores like it does normally. The only difference is the fact that it does not update the map after.