Update odometry based on pose estimate
Hi!
I have a rover which publishes odometry and a lidar which is used by slam_toolbox.
As far as I understand it slam_toolbox takes odometry data, a map, and a lidar data to estimate robots position.
It seems to be working, but I'm wondering about the odometry data.
The way or works at the moment is when the rover boots up X and Y are set to 0,0 and then updated over time. Because of the drift coordinates from odometry become incorrect.
Would it makes sense to update odometry values based on the pose estimate to make them correct?
I could listen to pose estimate and update the odometry pose.
It would also help in cases when I restart my rover or move it by hand.