how gmapping gather odom data?
Hi
I am using stage_ros to simulation slam.
The Gmapping works but I noticed that stage_ros is publishing "nav_msgs/Odometry" information under the topic /odom.
While the gammping node is subscribing the /tf topic to get odom data.
I checked the message under topic /tf, it was "tf2_msgs/TFMessage".
And I echo both of those topics. seems like the /tf topic is publishing the transform between difference frame (yes, as expected.)
But the stage_ros node publishes the twist data under topic /odom like the image below
So, I am interested in how the gmapping get odometry information from the topic /tf. Or, if I have /odom topic, can I setting gmapping to subscribe from that?
Thank you