-
Hi, I am wondering if I can update a pre-built map when running localization over time. I tried the --mapping option and I could see that the map was updating, but the updated map was not saved. |
Beta Was this translation helpful? Give feedback.
Answered by
bot-lin
Dec 10, 2021
Replies: 1 comment 2 replies
-
For anyone needs to save updated map, add the following code after SLAM.shutdown() in run_localization.cc file, |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bot-lin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For anyone needs to save updated map, add the following code after SLAM.shutdown() in run_localization.cc file,
if(mapping){ SLAM.save_map_database(map_db_path); }