Is it possible to subscribe to poses computed by cartographer?
In cartographer
, simultaneous localisation is happening with mapping so I assume that a cartographer
node always has some estimate of robot pose. I'd like to be able to subscribe to this so I know the value of robot pose in the map generated at all times.
Could anyone tell me how to do this please?
In the documentation, it says this:
provide_odom_frame If enabled, the local, non-loop-closed, continuous pose will be published as the odom_frame in the map_frame.
But when I set this I get the following warning and no map:
[ WARN] [1614098472.740487459]: Timed out waiting for transform from base_link to map to become available before running costmap, tf error: canTransform: target_frame map does not exist.. canTransform returned after 0.10061 timeout was 0.1.