AMCL package with rosbag
Hi!
I'm new to ROS and I'm trying to use the amcl package to calculate the position of a robot with the information from a laser scan and odom that I have saved on a rosbag file. The rosbag file also contains a map (nav_msgs/OccupancyGrid message type). The problem is I'm not sure how to subscribe the amcl node to the map nor the scan. Do I have to create a publisher node first or can I take the information directly from the bag file. I hope the question is not silly. Any help is appreciated!