[TMECH'2024] PALoc: 推进SALM基准化,采用先前的6-DoF 轨迹生成和不确定性估计
PALoc presents a novel approach for generating high-fidelity, dense 6-DoF ground truth (GT) trajectories, enhancing the evaluation of Simultaneous Localization and Mapping (SLAM) under diverse environmental conditions. This framework leverages prior maps to improve the accuracy of indoor and outdoor SLAM datasets. Key features include:
fp_gt folder.redbird_03 in MS-Dataset.This data was provided by Zhiqiang Chen and Prof.Yuhua Qi from SYSU and HKU.
Stairs scenes with different types of lidar and glass noise. This is very challenging due to narrow stairs , you need to tune some parameters of ICP. The prior map and raw map can be downloaded.
| Prior map without glass noise | Raw prior map |
|---|
| Sensor setup | Download link |
|---|---|
| Velodyne16+ xsense IMU | http://gofile.me/4jm56/yCBxjdEXA |
| Ouster64 + xsense IMU | http://gofile.me/4jm56/2EoKPDfKi |
Our algorithms were tested on the Fusion Portable Dataset.
This dataset include 2 different maps: parkland and math-institute.
| Parkland | Math-institute |
|---|---|
It is recommended to run the code in the container while visualize it in the host machine, e.g.:
Pull the Docker image:
docker pull ulterzlw/palocRun the container with host network access:
docker run -it --network host ulterzlw/paloc bashlaunch the application (inside the container):
roslaunch paloc geode_beta_os64.launchStart RViz (on the host machine):
rviz -d ${PATH_TO_PALOC}/config/rviz/ouster_indoors.rvizRecommend to use system eigen when install GTSAM.
cmake -DGTSAM_USE_SYSTEM_EIGEN=ON -DGTSAM_BUILD_UNSTABLE:OPTION=ON -DCMAKE_BUILD_TYPE=Release ..if you have already installed other version of GTSAM
…Additionally, there is no need to install the livox_ros_driver required by FAST-LIO2, as we have directly integrated the necessary message headers into the code.
download the demo rosbag and prior map, set the file path in geode_beta_os64.launch.
#ouster64 : GEODE dataset
roslaunch paloc geode_beta_os64.launch
#velodyne16: GEODE dataset
roslaunch paloc geode_alpha_vlp16.launch
#ouster128 fusionportable-corridor
roslaunch paloc fp_os128_corridor.launch
#pandar xt32: MS-dataset
roslaunch paloc ms_sbg_pandar32.launch
#ouster128: newer_colleage dataset
roslaunch paloc newer_colleage_os128.launch then play rosbag:
# ouster64
rosbag play stairs_bob.bag
#velodyne16
rosbag play stairs_alpha.bag
#ouster128 fusionportable-corridor
rosbag play 20220216_corridor_day_ref.bag
#pandar xt32
rosbag play Parkinglot-2023-10-28-18-59-01.bag
#ouster128
rosbag play parkland0.bagYou can save data.
rosservice call /save_mapSet your file path in geode_beta_os64.launch. Put your prior map file in prior_map_directory, the map name must be set as the sequence. The map file size is recommend to down-sampled less than 2Gb.
Set parameters in geode_beta_os64.yaml. Adapt for the FAST-LIO2 first.
…then set the initial pose. When you run the launch command, the first point cloud will be saved in save_directory, you can align it with the prior map using CloudCompare to get the initial pose.
common:
initial_pose: [ -0.519301, 0.850557, 0.082936 ,-11.347226,
-0.852164, -0.522691, 0.024698, 3.002144,
0.064357, -0.057849, 0.996249, -0.715776,
0.000000, 0.000000, 0.000000, 1.000000 ]We can evaluate the map accuracy of PAloc as follows. Note that when you use the Cloud Map Evaluation library, the map of PALoc or ICP do not need to set initial pose since they are already in the same coordinate. But evaluate the map from FAST-LIO2 must to set it.
| Raw Error Map | Entropy Map |
|---|---|
Evaluation results example can be downloaded here.
| X Degenerate (Translation) | Yaw Degenerate (Rotation) |
|---|---|
To plot the results, you can follow this scripts.
We follow the assumption of pose Independence as barfoot does(TRO 2014) as equation (13), there is no correlated cov between this two poses. Left-hand convention means a small increments on world frame.
Since GTSAM follow the right-hand convention on SE(3) , we need to use the adjoint representation as equation (14). Please note that there is an error in Equation 14. The paper has not yet been updated. The adjoint matrix of the inverse relative pose should be used, not the adjoint of the relative pose.
some people may curious about why i use the max eigenvalues as the rotation part, then caculate the condtion number of the rotation. This is not a right way, since the eigenvalues will lose its order after SVD/EVD. reader can refer to my new paper DCReg to find the reasons and real-world example.
For referencing our work in PALoc, please use:
@ARTICLE{hu2024paloc,
author={Hu, Xiangcheng and Zheng, Linwei and Wu, Jin and Geng, Ruoyu and Yu, Yang and Wei, Hexiang and Tang, Xiaoyu and Wang, Lujia and Jiao, Jianhao and Liu, Ming},
journal={IEEE/ASME Transactions on Mechatronics},
title={PALoc: Advancing SLAM Benchmarking With Prior-Assisted 6-DoF Trajectory Generation and Uncertainty Estimation},
year={2024},
volume={29},
number={6},
pages={4297-4308},
doi={10.1109/TMECH.2024.3362902}}The map evaluation metrics of this work follow MapEval. Please cite:
@misc{hu2024mapeval,
title={MapEval: Towards Unified, Robust and Efficient SLAM Map Evaluation Framework},
author={Xiangcheng Hu and Jin Wu and Ming暂无开放 Issues,或尚未同步最近议题。