Hi Matthieu,
I would like to ask a question on integrating GPS data to RTABMap's localization capabilities. My robot would have to
go through sparse / dense terrains, and both indoors / outdoors. My hope is for my robot to rely mainly on GPS RTK whenever possible, but switch to rely on RTABMap's ICP Localization when I do not get signal for the GPS RTK. I have looked around for more information, and found the 2 following approaches:
1) Using the 'gps/fix' parameterFrom this
post, it states that we are able to feed in GPS data into RTABMap for via the 'gps/fix' parameter to achieve '
more robust graph optimization and loop closure detection'. Does this mean that localization data via ICP is not refined via this GPS input?
I am confused because based on
this post, it implies that you could store GPS data in the pose graph, as if it is used directly as a source for localization. How does this tie in with ICP?
2) Using Robot LocalizationFrom this
post, along with some other posts in the forum, you suggested using Robot Localization to fuse GPS Pose data with other localization sources. With this, GPS data can be fused with RTABMap's localization pose data(via ICP).
Yet from
this post, we can use GPS data to fuse with other odometry sources to obtain more reliable odometry. We can then feed in this odometry data to be refined via ICP in RTABMap. Would this approach be better?
If so,
would you suggest both methods 1 and 2 to get better localization for Graph Optimization scenario, and for localization during runtime (When no loop closure is detected)?
Much thanks,
Derek