TUserOptionsChecker_ROS_impl.h
Go to the documentation of this file.
00001 /* +---------------------------------------------------------------------------+
00002    |                     Mobile Robot Programming Toolkit (MRPT)               |
00003    |                          http://www.mrpt.org/                             |
00004    |                                                                           |
00005    | Copyright (c) 2005-2016, Individual contributors, see AUTHORS file        |
00006    | See: http://www.mrpt.org/Authors - All rights reserved.                   |
00007    | Released under BSD License. See details in http://www.mrpt.org/License    |
00008    +---------------------------------------------------------------------------+ */
00009 #ifndef TUSEROPTIONSCHECKER_ROS_IMPL_H
00010 #define TUSEROPTIONSCHECKER_ROS_IMPL_H
00011 
00012 namespace mrpt { namespace graphslam { namespace apps {
00013 
00014 template<class GRAPH_T>
00015 TUserOptionsChecker_ROS<GRAPH_T>::TUserOptionsChecker_ROS() {
00016 }
00017 
00018 template<class GRAPH_T>
00019 TUserOptionsChecker_ROS<GRAPH_T>::~TUserOptionsChecker_ROS() {
00020 }
00021 
00022 template<class GRAPH_T>
00023 void TUserOptionsChecker_ROS<GRAPH_T>::
00024 createDeciderOptimizerMappings() {
00025         using namespace std;
00026         using namespace mrpt::graphs;
00027         using namespace mrpt::graphslam::apps;
00028         using namespace mrpt::graphslam::deciders;
00029         parent::createDeciderOptimizerMappings();
00030 
00031         // node registration deciders
00032         this->node_regs_map["CICPCriteriaNRD_MR"] =
00033                 parent::template createNodeRegistrationDecider<CICPCriteriaNRD_MR<GRAPH_T>>;
00034         this->node_regs_map["CFixedIntervalsNRD_MR"] =
00035                 parent::template createNodeRegistrationDecider<CFixedIntervalsNRD_MR<GRAPH_T>>;
00036 
00037         // edge registration deciders
00038         this->edge_regs_map["CLoopCloserERD_MR"] =
00039                 parent::template createEdgeRegistrationDecider<CLoopCloserERD_MR<GRAPH_T>>;
00040 
00041         // optimizers
00042 
00043 } // end of createDeciderOptimizerMappings
00044 
00045 template<class GRAPH_T>
00046 void TUserOptionsChecker_ROS<GRAPH_T>::populateDeciderOptimizerProperties() {
00047         using namespace mrpt::graphslam::apps;
00048         using namespace std;
00049 
00050         parent::populateDeciderOptimizerProperties();
00051         { // CICPCriteriaNRD_MR
00052                 TRegistrationDeciderProps* dec = new TRegistrationDeciderProps;
00053                 dec->name = "CICPCriteriaNRD_MR";
00054                 dec->description =
00055                         "Multi-robot SLAM implementation of the CICPCriteriaNRD class based on \"Condensed Measurements\"";
00056                 dec->type = "Node";
00057                 dec->rawlog_format = "Both";
00058                 dec->observations_used.push_back("CObservation2DRangeScan - Format #1, #2");
00059                 dec->is_mr_slam_class = "true";
00060 
00061                 this->regs_descriptions.push_back(dec);
00062         }
00063         { // CFixedIntervalsNRD_MR
00064                 TRegistrationDeciderProps* dec = new TRegistrationDeciderProps;
00065                 dec->name = "CFixedIntervalsNRD_MR";
00066                 dec->description =
00067                         "Multi-robot SLAM implementation of the CFixedIntervalsNRD class based on \"Condensed Measurements\"";
00068                 dec->type = "Node";
00069                 dec->rawlog_format = "Both";
00070                 dec->observations_used.push_back("CObservation2DRangeScan - Format #1, #2");
00071                 dec->is_mr_slam_class = "true";
00072 
00073                 this->regs_descriptions.push_back(dec);
00074         }
00075 
00076         { // CLoopCloserERD_MR
00077                 TRegistrationDeciderProps* dec = new TRegistrationDeciderProps;
00078                 dec->name = "CLoopCloserERD_MR";
00079                 dec->description =
00080                         "Multi-robot SLAM implementation of the CLoopCloserERD class based on \"Condensed Measurements\"";
00081                 dec->type = "Edge";
00082                 dec->rawlog_format = "Both";
00083                 dec->observations_used.push_back("CObservation2DRangeScan - Format #1, #2");
00084                 dec->is_mr_slam_class = "true";
00085 
00086                 this->regs_descriptions.push_back(dec);
00087         }
00088 
00089 }
00090 
00091 } } } //end namespaces
00092 
00093 #endif /* end of include guard: TUSEROPTIONSCHECKER_ROS_IMPL_H */


mrpt_graphslam_2d
Author(s): Nikos Koukis
autogenerated on Sun Sep 17 2017 03:02:04