-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mola_kernel: Add Georeferencing structure and add it to map updates
- Loading branch information
Showing
4 changed files
with
52 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* ------------------------------------------------------------------------- | ||
* A Modular Optimization framework for Localization and mApping (MOLA) | ||
* Copyright (C) 2018-2024 Jose Luis Blanco, University of Almeria | ||
* See LICENSE for license information. | ||
* ------------------------------------------------------------------------- */ | ||
/** | ||
* @file Georeferencing.h | ||
* @brief Defines a common georeferencing data structure, similar to mp2p_icp | ||
* but independent | ||
* @author Jose Luis Blanco Claraco | ||
* @date Jan 31, 2025 | ||
*/ | ||
#pragma once | ||
|
||
#include <mrpt/poses/CPose3DPDFGaussian.h> | ||
#include <mrpt/topography/data_types.h> | ||
|
||
namespace mola | ||
{ | ||
/** Defines a common georeferencing data structure, similar to mp2p_icp but | ||
* independent of that library. | ||
* | ||
* \ingroup mola_kernel_grp */ | ||
struct Georeferencing | ||
{ | ||
Georeferencing() = default; | ||
|
||
/** The geodetic coordinates (on WGS-84) of the metric map ENU frame of | ||
* reference. */ | ||
mrpt::topography::TGeodeticCoords geo_coord; | ||
|
||
/** The SE(3) transformation from the ENU (earth-north-up) frame | ||
* to the metric map local frame of reference. | ||
* If this is the identity (default) it means the map is already in | ||
* ENU coordinates (i.e. +X is East, +Y is North, +Z is up) and | ||
* the point (0,0,0) is the one having the geodetic coordinates | ||
* geo_coord | ||
*/ | ||
mrpt::poses::CPose3DPDFGaussian T_enu_to_map; | ||
}; | ||
} // namespace mola |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters