Main MRPT website > C++ reference for MRPT 1.9.9
path_from_rtk_gps.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #ifndef path_from_rtk_gps_H
10 #define path_from_rtk_gps_H
11 
14 #include <mrpt/poses/CPoint3D.h>
15 #include <mrpt/obs/CRawlog.h>
16 
17 namespace mrpt
18 {
19 namespace topography
20 {
21 /** \addtogroup mrpt_topography_grp
22  * @{ */
23 
24 /** Used to return optional information from mrpt::topography::path_from_rtk_gps
25  */
27 {
28  /** the path of the "best" GPS. */
29  std::map<mrpt::system::TTimeStamp, mrpt::math::TPoint3D> best_gps_path;
30  /** A measure of the quality at each point (may be empty if not there is no
31  * enough information). */
32  std::map<mrpt::system::TTimeStamp, double> mahalabis_quality_measure;
33  /** The 6x6 covariance matrix for the uncertainty of each vehicle pose (may
34  * be empty if there is no W_star info). */
38  /** The reference covariance matrix used to compute vehicle_uncertainty. */
40 };
41 
42 /** Reconstruct the path of a vehicle equipped with 3 RTK GPSs.
43  * \param robot_path [OUT] The reconstructed vehicle path
44  * \param rawlog [IN] The dataset. It must contain mrpt::obs::CObservationGPS
45  * observations with GGA datums.
46  * \param rawlog_first [IN] The index of the first entry to process (first=0)
47  * \param rawlog_last [IN] The index of the last entry to process
48  * \param isGUI [IN] If set to true, some progress dialogs will be shown
49  * during the computation (requires MRPT built with support for wxWidgets).
50  * \param disableGPSInterp [IN] Whether to interpolate missing GPS readings
51  * between very close datums.
52  * \param path_smooth_filter_size [IN] Size of the window in the pitch & roll
53  * noise filtering.
54  * \param outInfo [OUT] Optional output: additional information from the
55  * optimization
56  *
57  * For more details on the method, refer to the paper: (...)
58  * \sa mrpt::topography
59  */
62  const mrpt::obs::CRawlog& rawlog, size_t rawlog_first, size_t rawlog_last,
63  bool isGUI = false, bool disableGPSInterp = false,
64  int path_smooth_filter_size = 2, TPathFromRTKInfo* outInfo = nullptr);
65 
66 /** @} */ // end of grouping
67 
68 } // End of namespace
69 
70 } // End of namespace
71 
72 #endif
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1...
Definition: datetime.h:32
Helper types for STL containers with Eigen memory allocators.
Used to return optional information from mrpt::topography::path_from_rtk_gps.
A numeric matrix of compile-time fixed size.
std::map< mrpt::system::TTimeStamp, double > mahalabis_quality_measure
A measure of the quality at each point (may be empty if not there is no enough information).
mrpt::aligned_containers< mrpt::system::TTimeStamp, mrpt::math::CMatrixDouble66 >::map_t vehicle_uncertainty
The 6x6 covariance matrix for the uncertainty of each vehicle pose (may be empty if there is no W_sta...
This class stores a rawlog (robotic datasets) in one of two possible formats:
Definition: CRawlog.h:68
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void path_from_rtk_gps(mrpt::poses::CPose3DInterpolator &robot_path, const mrpt::obs::CRawlog &rawlog, size_t rawlog_first, size_t rawlog_last, bool isGUI=false, bool disableGPSInterp=false, int path_smooth_filter_size=2, TPathFromRTKInfo *outInfo=nullptr)
Reconstruct the path of a vehicle equipped with 3 RTK GPSs.
mrpt::math::CMatrixDouble W_star
The reference covariance matrix used to compute vehicle_uncertainty.
This class stores a time-stamped trajectory in SE(3) (CPose3D poses).
std::map< mrpt::system::TTimeStamp, mrpt::math::TPoint3D > best_gps_path
the path of the "best" GPS.



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019