Calculate map to odom tf
I'm writeing a package called global pose filter which calculates the odom to map tf. Here the node subscribes amcl_pose from the amcl sometime and is reading odom to base_footprint tf from tf listener. With new amcl_pose how can i calculate new position of odom i.e map->odom tf?