Like RViz with the fixed frame odom: the node sends x, y and the rotation q at every reading, and the frame of the robot follows them.