Localization using SLAM_Toolbox
Hi! I'm trying to get the localization part of SLAM_Toolbox to work.
I made a map and saved it using map saver (ros2 run nav2_map_server map_saver_cli -f 'map_name'
), which gave me a pgm and yaml file.
According to the readme of SLAM_Toolbox, the input map in the map_file_name
is in the format of a pose-graph file, which I do not have. Attempts at using the /slam_toolbox/save_map
service in order to serialize the map had no return. Are there any other way to convert the .pgm and .yaml files to the required format?
Thanks!