Main MRPT website > C++ reference
MRPT logo
path_from_rtk_gps.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | The Mobile Robot Programming Toolkit (MRPT) C++ library |
3  | |
4  | http://www.mrpt.org/ |
5  | |
6  | Copyright (C) 2005-2012 University of Malaga |
7  | |
8  | This software was written by the Machine Perception and Intelligent |
9  | Robotics Lab, University of Malaga (Spain). |
10  | Contact: Jose-Luis Blanco <jlblanco@ctima.uma.es> |
11  | |
12  | This file is part of the MRPT project. |
13  | |
14  | MRPT is free software: you can redistribute it and/or modify |
15  | it under the terms of the GNU General Public License as published by |
16  | the Free Software Foundation, either version 3 of the License, or |
17  | (at your option) any later version. |
18  | |
19  | MRPT is distributed in the hope that it will be useful, |
20  | but WITHOUT ANY WARRANTY; without even the implied warranty of |
21  | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
22  | GNU General Public License for more details. |
23  | |
24  | You should have received a copy of the GNU General Public License |
25  | along with MRPT. If not, see <http://www.gnu.org/licenses/>. |
26  | |
27  +---------------------------------------------------------------------------+ */
28 #ifndef path_from_rtk_gps_H
29 #define path_from_rtk_gps_H
30 
33 #include <mrpt/poses/CPoint3D.h>
34 #include <mrpt/slam/CRawlog.h>
35 
37 
38 
39 namespace mrpt
40 {
41  namespace topography
42  {
43  /** \addtogroup mrpt_topography_grp
44  * @{ */
45 
46  /** Used to return optional information from mrpt::topography::path_from_rtk_gps */
48  {
49  std::map<mrpt::system::TTimeStamp,mrpt::math::TPoint3D> best_gps_path; //!< the path of the "best" GPS.
50  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).
51  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_star info).
52  mrpt::math::CMatrixDouble W_star; //!< The reference covariance matrix used to compute vehicle_uncertainty.
53  };
54 
55  /** Reconstruct the path of a vehicle equipped with 3 RTK GPSs.
56  * \param robot_path [OUT] The reconstructed vehicle path
57  * \param rawlog [IN] The dataset
58  * \param rawlog_first [IN] The index of the first entry to process (first=0)
59  * \param rawlog_last [IN] The index of the last entry to process
60  * \param isGUI [IN] If set to true, some progress dialogs will be shown during the computation (requires MRPT built with support for wxWidgets).
61  * \param disableGPSInterp [IN] Whether to interpolate missing GPS readings between very close datums.
62  * \param path_smooth_filter_size [IN] Size of the window in the pitch & roll noise filtering.
63  * \param outInfo [OUT] Optional output: additional information from the optimization
64  *
65  * For more details on the method, refer to the paper: (...)
66  * \sa mrpt::topography
67  */
70  const mrpt::slam::CRawlog &rawlog,
71  size_t rawlog_first,
72  size_t rawlog_last,
73  bool isGUI=false,
74  bool disableGPSInterp=false,
75  int path_smooth_filter_size=2,
76  TPathFromRTKInfo *outInfo = NULL
77  );
78 
79 
80  /** @} */ // end of grouping
81 
82  } // End of namespace
83 
84 } // End of namespace
85 
86 #endif



Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013