When hdl_graph_slam is run with GPS inputs, the map point cloud is saved along with a .utm file that stores the UTM coordinates of the map reference point.
This PR updates the global map server to check for the existence of this file in the same directory as the .pcd file, and uses it to offset each point in the map when it is loaded from the pcd file. This way, the map point cloud has the same relative coordinates it did when it was built.
When
hdl_graph_slam
is run with GPS inputs, the map point cloud is saved along with a.utm
file that stores the UTM coordinates of the map reference point.This PR updates the global map server to check for the existence of this file in the same directory as the
.pcd
file, and uses it to offset each point in the map when it is loaded from the pcd file. This way, the map point cloud has the same relative coordinates it did when it was built.