<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>L. Gui); ZengChn@whut.edu.cn (C. Zeng); luo_jie@whut.edu.cn (J. Luo);
fenghaotian@whut.edu.cn (H. Feng)</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Prior Map Aided LiDAR-Based Localization Framework via Factor Graph</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Linqiu Gui</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Chunnian Zeng</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jie Luo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Haotian Feng</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>School of Automation, Wuhan University of Technology</institution>
          ,
          <addr-line>Wuhan, Hubei, PRC</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>School of Information Engineering, Wuhan University of Technology</institution>
          ,
          <addr-line>Wuhan, Hubei, PRC</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2022</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0003</lpage>
      <abstract>
        <p>Localization plays a vital role in unmanned platforms. The feature-based LiDAR odometry has excellent real-time performance but sufers accumulated error. The localization based on global matching can provide an unbiased estimation of states, whereas it requires an amount of calculation. This paper proposed a joint framework that fuses the LiDAR, IMU, and pre-build prior map to estimate the unmanned platform's six-degrees-of-freedom (DOF) states to solve the accumulated error problem under the premise of ensuring real-time. This work divided the system into two main threads. The one is utilizing the high-frequency feature-based LiDAR odometry coupled with IMU to localize. And the other is using the low-frequency global matching to correct the odometry. We link the two threads through sub-map optimization built atop the factor graph. As the global matching can provide unbiased estimation, and feature-based LiDAR odometry is with little calculation, the system can achieve both accuracy and real-time performance. The proposed framework is extensively validated with experiments under two lfatforms and achieves excellent performance.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Localization</kwd>
        <kwd>prior map</kwd>
        <kwd>global match</kwd>
        <kwd>factor graph</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Localization is essential for most unmanned platforms such as automatic vehicles, moving robots,
and unmanned air vehicles. In tradition, the localization usually relies on the collaborative
cooperation of GPS and INS[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. However, GPS signal is easy to lose due to the shelter like trees,
rocks, and buildings; meanwhile, resulting from the accumulated error, the accuracy of the IMU
is extremely low. Therefore, equipped with a perceptual sensor like LiDAR or camera on board,
the odometry can be designed for localization and independent of external signals. Among
them, the LiDAR-based methods are more robust and invariable to interference, and it becomes
more convenient to be applied in practical applications.
      </p>
      <p>There are usually two ways to implement odometry. One is SLAM, and the other is localization
in a pre-built prior map through global matching.</p>
      <p>
        LiDAR SLAM plays a pivotal role in unmanned platforms, which have witnessed rapid
progress in the past few years[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Recently, fusing multiple sensors like IMU and GPS, the
LiDAR SLAM can provide accurate real-time state estimation and map, especially the tightly
coupled method with IMU. However, the online localization of SLAM also sufers from drift
when the GPS signal is lost consecutively. As a result, the precision is not enough to meet
practical application requirements.
      </p>
      <p>
        The global match is to match the point cloud of the current LiDAR frame against the prior map
to estimate the current pose. The prior map is built previously by fusing the LiDAR odometry,
GPS, and loop closure. Although the GPS signal is not fully covered, the system can establish
a high precision prior map thanks to the globally consistent optimization. Usually, the global
matching can be expressed as a nonlinear optimization problem, and it has specific requirements
for a large number of calculations. Therefore it decreases the real-time performance and the
frequency of localization. In addition, an excellent initial pose is also requested for global
matching. However, Most of the existing methods utilize the linear model to estimate the initial
pose, which will result in low precision and low robustness. The environmental change due to
the dynamic object or seasonal variation will also afect the performance of global matching[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>Aiming at the above problems, we propose a joint framework that fuses the LiDAR
odometry with global matching to estimate the six-degrees-of-freedom (DOF) state for unmanned
platforms. The LiDAR odometry obtained from feature-based scan matching is fast but with
cumulative error. The global localization obtained from global matching is slow, but it can ofer
unbiased estimation with high precision. So the proposed framework utilizes the high-frequency
LiDAR odometry coupled with IMU to localize and the low-frequency global matching to correct
it so that the system can achieve both accuracy and real-time performance. We link the LiDAR
odometry and the global matching through sub-map optimization atop the factor graph. The
LiDAR odometry can also provide a tremendous initial pose for global matching. In addition,
the LiDAR odometry matching against the current sub-map can efectively decrease the error
result from the global matching in the changing environment. Because the prior map needs to
be established in advance, my project is most suitable for specific scenes such as underground
parking, scenic spots, and factory areas. Thanks to the global localization from the prior map,
the system can achieve high-precision positioning without relying on GPS information so that
the system can be applied to indoor localization tasks.</p>
      <p>The main contributions of our work can be summarized as follows:
• We proposed a joint framework that utilizes the high-frequency LiDAR odometry coupled
with IMU to localize and the low-frequency global matching to correct it. And, We link the
LiDAR odometry and the global matching through sub-map optimization atop the factor
graph. In this way, the system can achieve both accuracy and real-time performance.
• The proposed framework is extensively validated with experiments in two environments
and achieves excellent performance in precision and robustness.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>
        Scan matching is the most important part of lidar odometry, and many algorithms deal with it;
Iterative closest point (ICP)[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], and GICP[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] are the famous algorithms among them. However,
matching a full point cloud is less computational eficient, so the feature-based matching
methods are more suitable. The well-known method is LOAM proposed in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], which extracts
edge and planar features by evaluating the roughness of points over a local region for scan-scan
matching. Based on LOAM, Lego-loam proposed in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] is ground-optimized and matches the
plane feature and angle separately. Our work also follows the feature-based matching methods
to ensure real-time performance.
      </p>
      <p>
        Recently, LiDAR odometry is typically coupled with IMU for de-skewing the point cloud
and joint optimization[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. The coupling method can mainly be grouped into loosely coupled
and tightly coupled. The popular approach for loosely-coupled is using extended Kalman
iflters (EKF)[
        <xref ref-type="bibr" rid="ref10 ref11 ref12 ref9">9, 10, 11, 12</xref>
        ]. However, the tightly-coupled method especially based on the IMU
preintegration algorithm proposed in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] usually ofers improved performance and has attracted
wide attention[
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. For example, In [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], a tightly coupled lidar- inertial odometry algorithm is
proposed and provides real-time accurate state estimation with a high update rate. In [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], the
LIO framework is built atop a factor graph and is suitable for multi-sensor fusion and global
optimization, achieving excellent performance. Our proposed system also followed this work.
      </p>
      <p>
        Global matching is essential for localization. In [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], the intensity and altitude are adaptively
combined to match the online lidar scan against the prior map and conduct a 3 DOF (x,y, yaw)
estimation. As to 6 DOF estimation, In [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ], the ICP is utilized for global matching. However,
it is known that the ICP is very computationally ineficient and sensitive to environmental
change. The Normal Distribution Transform (NDT) method proposed in [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] has been more
popular in recent years. It has both advantages of real-time and precision. In addition, it has
more tolerance for the accuracy of the initial pose. So, our work also follows the NDT method
for global matching.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. System Overview</title>
      <sec id="sec-3-1">
        <title>3.1. Definition and Notation</title>
        <p>The mathematical symbols used in this paper are defined in Table 1.
We define the skew symmetric matrix of a vector  ∈ R3 using (· )∧:</p>
        <p>⎡ 0
= ⎣ 3
− 2
− 3
0
1</p>
        <p>Similarly, we can map a skew symmetric matrix to a vector in R3 using the operator (· )∨.
We use  ∈ (3),  ∈ R3, and  = [|] ∈ (3) to represent the rotation matrix, the
position vector, and the transformation matrix, respectively. It is worth mentioning that the
transformation matrix from the reference coordinate to the object coordinate can also describe
the object’s pose in the reference coordinate. We denote the world frame by W, and it is the
same as East, North, and Up (ENU) coordinates. We denote the platform body frame by B that
is the same as the IMU frame. We also define the GPS frame by G and the LiDAR frame by
L. Assume that the parameters in frame A can be wrote as (· ) and the transformation from
frame B to frame A can be denoted as (· ). The state of the platform  can be defined as:
 = [⊤, ⊤, ⊤, ⊤]⊤
where  ∈ R3 denotes the speed,  = [, ] denotes the IMU bias,  ∈ R3 is the acceleration
bias, and  ∈ R3 is the gyroscope bias.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. System Structure</title>
        <p>This paper proposed a framework that fuses the LiDAR odometry, the IMU preintegration, and
the global localization to estimate the six degrees-of-freedom(DOF) pose. The architecture of
the proposed framework is shown in Figure.1, and it mainly consists of four modules: Scan
Matching, IMU preintegration, Global Matching, and Sub-map Optimization. We marked them
blue in the figure.
(1)
(2)
IMU</p>
        <p>LiDAR
Offline Mapping</p>
        <p>Prior Map</p>
        <p>IMU Preintegration</p>
        <p>Initial Guess
Scan Matching</p>
        <p>LiDAR Odometry
Initial
Guess</p>
        <p>Is Keyframe?
Keyframe
Is Covariance</p>
        <p>large?
Global Matching</p>
        <p>IMU Preintegration</p>
        <p>Factor
LiDAR Odometry</p>
        <p>Factor
Reigster to Sub-map
Global Localization</p>
        <p>Factor</p>
        <p>S
u
b
m
a
p
O
p
tii
m
z
a
ti
o
n</p>
        <p>Update</p>
        <p>IMU bias
Sub-map</p>
        <p>
          The Scan Matching module provides the LiDAR odometry by matching the current LiDAR
scan to the sub-map. In our system, we follow the feature-based scan matching method proposed
in [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] for computational eficiency. Using every LiDAR frame for optimization is computationally
intractable. Instead, we consider the keyframes and use a simple but widely used approach
for keyframe selection, which registers a LiDAR frame as a keyframe when its pose exceeds a
user-defined threshold compared with the previous keyframe. The data of the th keyframe
from LiDAR can be written as F, and the related state is defined as . The IMU preintegration
module is built by following Christian Forster’s work proposed in [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ], and it mainly provides
the IMU preintegration factor for sub-map optimization and provides the initial guess for
Scan Matching at each computation cycle. The Global Matching module provides the global
localization factor for the sub-map optimization. The Global Matching module is built by
following the NDT (Normal-Distributions Transform) method proposed in [19] by Magnusson,
and it can conduct an unbiased estimation of the pose through matching online LiDAR scans
against the prior map built in advance. The sub-map contains the feature points of a fixed
number of resenting LiDAR keyframes. The optimization of the sub-map can directly afect the
accuracy of Lidar Odometry. So we fuse the LiDAR odometry factor, IMU preintegration factor,
and Global Matching Factor for optimization through a factor graph. The optimization result
will update the IMU bias and the LiDAR odometry.
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. LiDAR odometry</title>
      <p>
        We follow the scan matching method proposed in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. It utilizes the feature points rather than
ICP to achieve scan matching. Therefore it greatly improves the real-time performance. In
addition, we follow the scan to the sub-map matching frame proposed in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], it can make the
most of sub-keyframe constraints to improve the precision.
      </p>
      <p>When the LiDAR frame F is received, we first calculate the roughness value of each point
by comparing it to the consecutive neighbor points in the same scan. Then the edge and planar
features will be extracted according to the roughness value. The points with large values are
classified as the edge features and denoted as  and the points with small roughness are
classified as the planar feature and denoted as . The features of the LiDAR frame F are

in frame L. Then the extracted features {,  } are matched to the features from sub-map
as − 1 = {︀ − 1, − 1︀} . − 1 gathers the features of the previous keyframes, and the
features are transformed to W by LiDAR pose:
− 1 = ¯ − 1 ∪  − 2 ∪ ... ∪  − − 1</p>
      <p>¯  ¯ 
− 1 = ¯ − 1 ∪  − 2 ∪ ... ∪  − − 1</p>
      <p>
        ¯  ¯ 
where ¯  and ¯  are the transformed edge and planar features in W. The distance of features
between the current scan and sub-map are {︁(˜ ,), (˜ , )}︁, , ∈ , , ∈ ,
˜ is the transformation of keyframe F to be estimated, and the detail definition of distance
can be seen in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. As the result, the optimization problem can be written as:
⎧
^   = arg min ⎨⎪ ∑︁
˜ 
⎪⎩,∈
(˜ ,) +
      </p>
      <p>∑︁
,∈</p>
      <p>(˜ , )
⎫
⎪
⎬
⎪
⎭
(3)
(4)
equation:</p>
      <p>The initial guess of ˜ can be obtain from the IMU preintegration in Section 5. Through
manifold optimization[20] and GaussNewton method, we can solve it to obtain the transformation
^</p>
      <p>. Given the extrinsic parameters between L and B as  , then we can calculate the pose
of platform ^ and the relative transformation Δ^ − 1, between the F− 1 and F through the
  = ^  
^</p>
      <p>( )⊤
Δ^ − 1, = (^ − 1)⊤^ 
can be written as:</p>
      <p>The Δ^ − 1, can be seen as the measurement from LiDAR, assumed that it’s noise is  , it
Δ^ − 1, = Δ− 1,( ∧− 1,)
The residual errors of scan matching can be defined as:
 = [ − 1,] = ((Δ− 1,)⊤Δ^ − 1,)
∨</p>
    </sec>
    <sec id="sec-5">
      <title>5. IMU preintegration</title>
      <p>
        To avoid repeatedly integrating caused by the changes in initial conditions when the lidar
odometry pose has been optimized, we adopt preintegration of the inertial measurements
introduced by [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] in our implementation.
      </p>
      <p>Firstly, taking the accelerator bias , gyroscope bias  and the additive noise into consider,
the IMU measurements formula can be written as follow:
^ = ⊤( − ) +  + 
^ =  +  +  .</p>
      <p />
      <p>Where  deonte one sampling time. Where the  denotes the gravity vector in W. The  and
 denotes the additive noise in acceleration and gyroscope measurements, them can be seen
as the Gaussian white noise as  ∼
 (0,  2),  ∼
 (0,  2). Combining the integration of
the IMU measurements with the motion formula of platform, and we discretize and iterate it for
intervals between sampling times  and , we have:
− 1
=
− 1 ︂[
=
− 1
=
1
 =  ∏︁ ((^ −  −</p>
      <p>)∧Δ)
 =  + Δ + ∑︁ (^ −
 −</p>
      <p>)Δ
 =  + ∑︁
Δ +
Δ2 +
1
2 (^ −
 −
)Δ2 .</p>
      <p>︂]
(5)
(6)
(7)
(8)
(9)</p>
      <p>Where the Δ is the interval between two consecutive IMU measurements. We can defined
the preintegrated items as:
measurements Δ^ , Δ^ , Δ^ can be obtained as:</p>
      <p>Assuming that the bias remains constant between sampling times  and , the preintegrated
Δ =⊤
.
.</p>
      <p>.
Δ =⊤( −  − Δ )
Δ =⊤( −  −  △  − 2
1</p>
      <p>Δ2 )
Δ^ =. ∏− ︁1 ((^ − )∧Δ) = Δ ((  )∧)
=
=
=
Δ^ =. ∑− ︁1 Δ^(^ −
Δ^ =. ∑− ︁1 ︂[
= Δ +   .</p>
      <p>)Δ = Δ +  
1
2
Δ^Δ +
Δ^ · (^ −
)Δ2
︂]
(10)
(11)
(12)</p>
    </sec>
    <sec id="sec-6">
      <title>6. Global Matching</title>
      <p>The global matching procedure mainly provides the no drift pose estimation for sup-map
modules through matching online lidar scan against the prior map, which is built ofline.</p>
      <p>
        Ofline mapping plays an essential role in our system because it provides the absolute
correction data to eliminate the drift. As a result, the quality of the prior map will directly influence
the precision of the localization in online procedures. The ofline mapping procedure follows
the SLAM method proposed in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] which fuses the LiDAR, IMU, and GPS for establishing the
point cloud map. Thanks to the globally consistent optimization, we can get a high precision
map with limited GPS and loop closure.
      </p>
      <p>
        We utilize the NDT (Normal-Distributions Transform) method proposed by Martin
Magnusson[
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] for global matching, which has more real-time performance than the iterative
closest point (ICP) method.
where the   ,   ,   denote the noise of Δ^ , Δ^ , Δ^ respectively and the detail
definition can be seen in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Considering the update of IMU bias, we can obtain the residual
errors between two LiDAR scan (− 1, ) as:
 = ⎢ − 1, ⎥ = ⎢⎢
⎢
⎢
⎡ − 1,⎤
⎢ − 1, ⎥
⎢ − 1, ⎥⎦
⎣
 − 1,
⎥
⎥
⎢
⎢
⎣
⎡(Δ(− 1,)⊤Δ^− 1,)∨⎤
Δ^− 1, −
Δ^
− 1, −
 −
 −
Δ− 1,
Δ− 1,
− 1
− 1
⎥
⎥⎥ .
⎥
⎦
      </p>
      <p>Firstly, we grid the prior map into a mass of 3x3 small cells. For each cell, it is assumed
that there are  points =1,· , ∈ R3 in it and the points conform to the normal distribution
relationship. Therefore, the normal distribution parameter can be calculated based on the points
in the cell, and we can easily get the probability density function (PDF) of it:

 = 1 ∑︁ 

=1</p>
      <p>∑︁ = 1 ∑︁ ( −  )( −  )</p>
      <p>=1</p>
      <p>Where the  and ∑︀ denote the mean and the covariance of the normal distribution,
respectively. The probability density function of the cell can be written as:
() =</p>
      <p>1
(2 ) 32 √︀|∑︀|
− (−  ) ∑︀− 1(−  )
2</p>
      <p>When a lidar scan F = {=1,· ,} is about to match against the prior map, the goal is to
ifnd out its translation of lidar   to maximize the likelihood that all of the lidar scan points
will be on the cell of reference points cloud map. Therefore, combining the probability density
function of the cell in (14), the likelihood function can be easily written as:
(13)
(14)
(15)
(16)
(17)</p>
      <p>In practical application, the NDT method is already integrated into the PCL library[21] and
can be used conveniently.</p>
    </sec>
    <sec id="sec-7">
      <title>7. Sub-map Optimization</title>
      <p>According to the Section 4, the sub-map  can be defined as the collection of the features of
previous keyframes, and the features are transformed to W by LiDAR pose. Therefore, we only

ℎ :  = ∏︁ ( )</p>
      <p>=1</p>
      <p>It’s worth noting that the  is the probability density function of the cell which the th
point   located. This’s a nonlinear optimization problem, and we can use the Newton
optimization to solve it and obtain the optimized translation of LiDAR. The initial guess can be
obtained from the LiDAR odometry in Section 4. Through the transformation of the coordinate
system  =  ( )⊤, we can obtain the pose estimation of platform as ^ . Assumed that
the noise of  is  , we have:</p>
      <p>The residual errors of scan matching can be defined as:</p>
      <p>^  = (( )∧)
 = [ ] = (()⊤^ )∨
...</p>
      <p>xnW 1
need to optimize the states of all the keyframes in the sub-map. The state need to be optimized
can be defined as:</p>
      <p>= {, +1, · · · , }
we utilize the factor graph to model this problem. Fig. 2 provides a brief illustration of
optimization procedure. The keyframe state can be seen as the node, and we fusing the LiDAR
odometry factor, IMU preintegration factor and the global matching factor for optimizing. The
residual error function can be writeen as:
∈
+ ∑︁ ‖( )‖2}.</p>
      <p>∈</p>
      <p>∈

min {
∑︁ ⃦⃦ (,  )⃦⃦ 2</p>
      <p>+ ∑︁ ⃦⃦ (,  )⃦⃦ 2</p>
      <p>The ,  and  are residuals for LiDAR odometry, IMU preintegration and global
matching, which are defined in Section 4, Section 5 and Section 6 respectively.</p>
      <p>In addition, to decrease the calculation, we utilize an unfixed sliding window to register the
keyframes for the sub-map, and we also use a simple but eficient way for marginalization.
We register the keyframe into the window when it is received. If the covariance of the latest
keyframe is larger than a set threshold, we perform a global match on it. Then, the keyframes
before the second oldest NDT factor will be marginalized out of the window. Because the NDT
has already provided the prior value, we don’t need to convert measurements corresponding to
marginalized states into a prior. When the global matching of the latest keyframe is done, the
optimization process is performed. After that, the LiDAR odometry and the IMU bias will be
updated according to the optimization results.</p>
      <p>Due to the long time consuming of global matching and optimization, the optimization
process will lag. However, the global matching, the optimization process, and the LiDAR
odometry belong to diferent threads, so the optimization lag does not afect the operation of
LiDAR odometry. Since LiDAR Odometry is processed by matching the scan to the sub-map, the
accuracy of Lidar Odometry can be improved by optimizing the sub-map. Meanwhile, thanks to
the existence of a global matching factor in sub-map optimization, LiDAR odometry can achieve
unbiased estimation.</p>
      <p>The sub-map optimization can be represented in pseudocode as Algorithm. 1.
(18)
(19)</p>
    </sec>
    <sec id="sec-8">
      <title>8. Experiments</title>
      <sec id="sec-8-1">
        <title>8.1. Platforms and Datasets</title>
        <p>We collected several data sets on the WHUT campus to analyze the proposed framework
qualitatively and quantitatively. The sensor suite used in our work includes an ouster OS1-32 and
an RTK GPS module, the OS1-32 has a built-in IMU, and the internal parameters are calibrated by
the method proposed in [22], the RTK GPS provides the ground-truth for quantitative analysis.
For validation, we collected six diferent datasets across two platforms: A-M, A-T-1, A-T-2, B-M,
B-T-1, and B-T-2. The A and B mean the data sequences A and B, respectively, the M means the
mapping datasets, and the T means the test datasets. The platform of A data sequence is the
low-speed Logistics vehicle, the lidar is installed atop it, and the RTK GPS is installed at the
same horizontal position. The platform of the B data sequence is the high-speed electric vehicle,
and the lidar is installed ahead of it, so we only get half of the points and meet the extreme
condition. The platforms are illustrated in Fig.3.</p>
        <p>Our method and comparisons are implemented in C++ and executed on a JETSON TX2 with
the framework of Robot Operating System (ROS)[23] in Ubuntu Linux.</p>
      </sec>
      <sec id="sec-8-2">
        <title>8.2. Ofline Mapping</title>
        <p>Firstly, we utilized the A-M and B-M for mapping, the result is shown in table.2, and the
trajectory with mapping error is shown in Fig.4.</p>
        <p>As shown in Fig.4(a), GPS data is missing on some roads in data sequence A, and those were
taken out of the analysis. The average speed within a data sequence is the same. The data
sequence B only has half the point cloud, and the moving speed is faster. As a result, its accuracy
is relatively low. It can be seen that the accuracy of the mapping is approximately in centimeters
and meet the requirements.</p>
        <p>(a)
(b)</p>
      </sec>
      <sec id="sec-8-3">
        <title>8.3. Localization</title>
        <p>
          Then, we used the datasets A-T-1, A-T-2, B-T-1, and B-T-2 to analyze the online location module
on the prior map they built, respectively. Our method is comparable to the LIO method from
[
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] and the NDT method from [19] under the main metrics of a translation error. The results
are shown in Table.3, the unit for the values is (m). It is worth noting that the translation error
only considers the x, y axis.
        </p>
        <p>It can be seen that the LIO method has the most significant error cause it sufers from drift.
The NDT method used the linear model to estimate the initial guess based on the assumption
of the short-term velocity invariance. The imprecise initial guess results in a bigger error,
especially in cases like a sharp turning point and Speed-up Speed-down, which will cause the
failure like the dataset B-T-1. In contrast, our method achieves better precision in most datasets
due to the fusion of LIO and NDT methods. However, our approach also relies on NDT to
eliminate accumulated errors, so it has no significant improvement in accuracy than the NDT
method but significantly improves robustness, especially in extreme cases.</p>
      </sec>
    </sec>
    <sec id="sec-9">
      <title>9. Conclusions And Discussion</title>
      <p>In this paper, we propose a precision and robust LiDAR localization framework that combines
LiDAR odometry with NDT-based global matching. We link them through a sub-map
optimization built atop the factor graph. Through the experimental analysis, it has been shown
that our method can perform well. It’s worth noting that the problem discussed in this paper
does not involve estimating the initial position on the map, which is usually given by GPS
or related algorithms in engineering. Since GPS is not needed for the proposed localization
system, so the system is also suitable for indoor environments. However, due to the limitation
of experimental conditions, the experiments in this paper are carried out outdoors. Follow-up
indoor experiments are required. Although we have achieved some phased results, there is still
a lot of work to do, such as the influence of environmental changes on localization and the
dynamic update of the map. We will handle those problems in future work.
universitet, 2009.
[19] The three-dimensional normal-distributions transform : an eficient representation for
registration, surface analysis, and loop detection, renewable energy (2009).
[20] F. Dellaert, M. Kaess, et al., Factor graphs for robot perception, Foundations and Trends®
in Robotics 6 (2017) 1–139.
[21] R. B. Rusu, S. Cousins, 3d is here: Point cloud library (pcl), in: 2011 IEEE international
conference on robotics and automation, IEEE, 2011, pp. 1–4.
[22] W. Gao, imu_utils, https://github.com/gaowenliang/imu_utils, 2018.
[23] M. Quigley, K. Conley, B. Gerkey, J. Faust, T. Foote, J. Leibs, R. Wheeler, A. Y. Ng, Ros:
an open-source robot operating system, in: ICRA workshop on open source software,
volume 3, Kobe, Japan, 2009, p. 5.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>H.</given-names>
            <surname>Qi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Moore</surname>
          </string-name>
          ,
          <article-title>Direct kalman filtering approach for gps/ins integration</article-title>
          ,
          <source>IEEE Transactions on Aerospace and Electronic Systems</source>
          <volume>38</volume>
          (
          <year>2002</year>
          )
          <fpage>687</fpage>
          -
          <lpage>693</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>C.</given-names>
            <surname>Cadena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Carlone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Carrillo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Latif</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Scaramuzza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Neira</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Reid</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. J.</given-names>
            <surname>Leonard</surname>
          </string-name>
          , Past, present, and
          <article-title>future of simultaneous localization and mapping: Toward the robustperception age</article-title>
          ,
          <source>IEEE Transactions on robotics 32</source>
          (
          <year>2016</year>
          )
          <fpage>1309</fpage>
          -
          <lpage>1332</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>W.</given-names>
            <surname>Ding</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Hou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Gao</surname>
          </string-name>
          , G. Wan,
          <string-name>
            <given-names>S.</given-names>
            <surname>Song</surname>
          </string-name>
          ,
          <article-title>Lidar inertial odometry aided robust lidar localization system in changing city scenes</article-title>
          ,
          <source>in: 2020 IEEE International Conference on Robotics and Automation (ICRA)</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>4322</fpage>
          -
          <lpage>4328</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>P.</given-names>
            <surname>Besl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>McKay</surname>
          </string-name>
          ,
          <article-title>A method for registration of 3-d shapes</article-title>
          ,
          <source>IEEE Transactions on Pattern Analysis and Machine Intelligence</source>
          <volume>14</volume>
          (
          <year>1992</year>
          )
          <fpage>239</fpage>
          -
          <lpage>256</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>A.</given-names>
            <surname>Segal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Haehnel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Thrun</surname>
          </string-name>
          , Generalized-icp.,
          <source>in: Robotics: science and systems</source>
          , volume
          <volume>2</volume>
          , Seattle, WA,
          <year>2009</year>
          , p.
          <fpage>435</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , S. Singh,
          <article-title>Low-drift and real-time lidar odometry and mapping</article-title>
          ,
          <source>Autonomous Robots</source>
          <volume>41</volume>
          (
          <year>2017</year>
          )
          <fpage>401</fpage>
          -
          <lpage>416</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>T.</given-names>
            <surname>Shan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Englot</surname>
          </string-name>
          ,
          <article-title>Lego-loam: Lightweight and ground-optimized lidar odometry and mapping on variable terrain</article-title>
          ,
          <source>in: IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)</source>
          , IEEE,
          <year>2018</year>
          , pp.
          <fpage>4758</fpage>
          -
          <lpage>4765</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>T.</given-names>
            <surname>Shan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Englot</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Meyers</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Ratti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Daniela</surname>
          </string-name>
          , Lio-sam:
          <article-title>Tightly-coupled lidar inertial odometry via smoothing and mapping</article-title>
          ,
          <source>in: IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)</source>
          , IEEE,
          <year>2020</year>
          , pp.
          <fpage>5135</fpage>
          -
          <lpage>5142</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S.</given-names>
            <surname>Lynen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. W.</given-names>
            <surname>Achtelik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Weiss</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Chli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Siegwart</surname>
          </string-name>
          ,
          <article-title>A robust and modular multi-sensor fusion approach applied to mav navigation, in: 2013 IEEE/RSJ international conference on intelligent robots and systems</article-title>
          , IEEE,
          <year>2013</year>
          , pp.
          <fpage>3923</fpage>
          -
          <lpage>3929</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>S.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Nian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Feng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Qu</surname>
          </string-name>
          , T. Ma,
          <article-title>A robust pose graph approach for city scale lidar mapping</article-title>
          ,
          <source>in: 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)</source>
          , IEEE,
          <year>2018</year>
          , pp.
          <fpage>1175</fpage>
          -
          <lpage>1182</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>M.</given-names>
            <surname>Demir</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Fujimura</surname>
          </string-name>
          ,
          <article-title>Robust localization with low-mounted multiple lidars in urban environments</article-title>
          ,
          <source>in: 2019 IEEE Intelligent Transportation Systems Conference (ITSC)</source>
          , IEEE,
          <year>2019</year>
          , pp.
          <fpage>3288</fpage>
          -
          <lpage>3293</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Gao</surname>
          </string-name>
          , S. Liu,
          <string-name>
            <given-names>M. M.</given-names>
            <surname>Atia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Noureldin</surname>
          </string-name>
          ,
          <article-title>Ins/gps/lidar integrated navigation system for urban and indoor environments using hybrid scan matching algorithm</article-title>
          ,
          <source>Sensors</source>
          <volume>15</volume>
          (
          <year>2015</year>
          )
          <fpage>23286</fpage>
          -
          <lpage>23302</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>C.</given-names>
            <surname>Forster</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Carlone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Dellaert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Scaramuzza</surname>
          </string-name>
          ,
          <article-title>On-manifold preintegration for real-time visual-inertial odometry</article-title>
          ,
          <source>IEEE Transactions on Robotics</source>
          <volume>33</volume>
          (
          <year>2016</year>
          )
          <fpage>1</fpage>
          -
          <lpage>21</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>C.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>You</surname>
          </string-name>
          ,
          <article-title>A review of visual-inertial simultaneous localization and mapping from filtering-based and optimization-based perspectives</article-title>
          ,
          <source>Robotics</source>
          <volume>7</volume>
          (
          <year>2018</year>
          )
          <fpage>45</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>H.</given-names>
            <surname>Ye</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chen</surname>
          </string-name>
          , M. Liu,
          <article-title>Tightly coupled 3d lidar inertial odometry and mapping</article-title>
          , in: 2019
          <source>International Conference on Robotics and Automation (ICRA)</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>3144</fpage>
          -
          <lpage>3150</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>G.</given-names>
            <surname>Wan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Cai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Song</surname>
          </string-name>
          ,
          <article-title>Robust and precise vehicle localization based on multi-sensor fusion in diverse city scenes</article-title>
          ,
          <source>in: 2018 IEEE International Conference on Robotics and Automation (ICRA)</source>
          , IEEE,
          <year>2018</year>
          , pp.
          <fpage>4670</fpage>
          -
          <lpage>4677</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>K.</given-names>
            <surname>Yoneda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Tehrani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Ogawa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Hukuyama</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Mita</surname>
          </string-name>
          ,
          <article-title>Lidar scan feature for localization with highly precise 3-d map</article-title>
          ,
          <source>in: 2014 IEEE Intelligent Vehicles Symposium Proceedings, IEEE</source>
          ,
          <year>2014</year>
          , pp.
          <fpage>1345</fpage>
          -
          <lpage>1350</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>M.</given-names>
            <surname>Magnusson</surname>
          </string-name>
          ,
          <article-title>The three-dimensional normal-distributions transform: an eficient representation for registration, surface analysis, and loop detection</article-title>
          ,
          <source>Ph.D. thesis</source>
          , Örebro
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>