I would like to clarify a doubt about the management of odom->base_link transform in ROS.
In REP 105 it is stated that
the pose of a robot in the odom frame is guaranteed to be continuous, meaning that the pose of a mobile platform in the odom frame always evolves in a smooth way, without discrete jumps.
What should happen in the case of a loop closure correction?
Let's consider a simple 1D case. The robot estimate that it is in position 5 (odom->base_link TF correspond to 5), it moves by 1 and then it detect through a loop closure that it is instead in position 10. The new odom->base_link TF should be 6 (with a corrected map->odom TF) or 10?
In other words, should the odom->base link TF be continous in time (by updating frequently), in space, or both?
The same concepts should apply in the same way to the topic containing the odometry message, right?