-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Own datasets #27
Comments
The code we opened mainly shows the basic function of the BA for readers to understand, instead of a completed system. You can take it as a sub-module in your own projects. If you want to use your own dataset, your should save the PCDs and pose file, which are generated by a front-end (like FAST-LIO2). The PCD file is saved by the function "pcl::io::savePCDFileBinary()" and the pose file is the pose matrix (4*4 matrix). The pose and PCD must corresponding one by one. Moreover, according to the quality of front-end, you need to adjust the parameters of adaptive voxelization (like "voxel_size" and "eigen_value_array[]"). For the completed system for global BA, you can see the paper "Large-Scale LiDAR Consistent Mapping using Hierarchical LiDAR Bundle Adjustment", which will be opened in several weeks. |
can we use pcd from r3live? Thanks in advance |
Of course you can use r3live. You need to add some codes to fastlio, r3live or you own project. You can use the std class "ofstream" and operation "<<" to input your pose 4*4 matrix into the file. |
Can you maybe help us and create modified code for fast lio or even better for r3live. Hope its not inconvenient for you😅 |
Only as a comment: I tried the last version on Ubuntu 18.4 with ROS Melodic and everything compiled and worked like a charm: I'm now trying to use my own data and odometry. |
ofstream outFile; You can add this piece of code to the end of each loop in fastlio2. You need to assign some variables like "yourpath". BALM2.0 is just an instruction to show you how to use lidar BA, so it cannot deal with too long dataset due to the time and space complexity (so does visual BA). Moreover, for your own dataset, you need to adjust "voxel_size" and "eigen_value_array" to control the quality of planes that you give to the BALM2.0 solver. If you give too much bad planes or the number of planes is too less, the solver may fail. The main limitation for lidar BA is the point association (namely finding planes) which we are trying to solve. |
Thanks a lot, I will try with this modified code. I want to say additionally that you have done a really excellent thing. That's what every odometry needs to become a real slam product! |
Thank you!:) |
Are there any plans to add an open-source license? |
Hi:
As I can see this work runs on individual scans in pcd format, and a csv containing the poses.
Will be there an option to use other datasets, as our own bags?
BALM v1 alowed to use own datasets, isolated or with LOAM odometry.
Will be there any utility to capture external odometry to make the PCDs and the pose file?
Thanks in advance
The text was updated successfully, but these errors were encountered: