YixFeng / Block-Map-Based-Localization

[ICRA'24] A localization system based on Block Maps (BMs) to reduce the computational load caused by maintaining large-scale maps
BSD 3-Clause "New" or "Revised" License
121 stars 14 forks source link

How to use my own data to create a map? #1

Closed 78748547 closed 4 months ago

78748547 commented 4 months ago

Thanks for your great work, I would like to ask how to build a map using my own equipment or BAG package. I'm looking at two .yaml files, can I use them by just providing the lidar and IMU topics? Thanks.

YixFeng commented 4 months ago

Thanks for your great work, I would like to ask how to build a map using my own equipment or BAG package. I'm looking at two .yaml files, can I use them by just providing the lidar and IMU topics? Thanks.

If you have ground-truth or high-precision poses, you can use https://github.com/YixFeng/Block_Map_from_Groundtruth to build your own Block-Maps. The parameter blockSize in cfg.yaml means the size of each BM. After constructing BMs, you can create a new .yaml file and provide your parameters in it, such as topics of the LiDAR and IMU, the extrinsics between these two, the transformation between the LiDAR frame and the frame of the poses you use in BM generating (If you use the same frame, leave it as an identity matrix), and the directory of your BMs.

If you have any other questions, feel free to ask me.

78748547 commented 4 months ago

Thanks for your great work, I would like to ask how to build a map using my own equipment or BAG package. I'm looking at two .yaml files, can I use them by just providing the lidar and IMU topics? Thanks.

If you have ground-truth or high-precision poses, you can use https://github.com/YixFeng/Block_Map_from_Groundtruth to build your own Block-Maps. The parameter blockSize in cfg.yaml means the size of each BM. After constructing BMs, you can create a new .yaml file and provide your parameters in it, such as topics of the LiDAR and IMU, the extrinsics between these two, the transformation between the LiDAR frame and the frame of the poses you use in BM generating (If you use the same frame, leave it as an identity matrix), and the directory of your BMs.

If you have any other questions, feel free to ask me.

Thanks for your answer!