ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
First make sure there isn't any odometry tf transform that you might be able to use.
If there isn't: Yes, take the odometry message and publish tf from that.
The frames are /odom -> /base_link by convention. If your robot has different ones, gmapping has parameters that allow you to define the frames to use.
The laser transform just needs to exist. It doesn't need to be direct.