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 #pragma once
00010 
00011 namespace mrpt { namespace graphslam { namespace apps {
00012 
00013 template<class GRAPH_T>
00014 TUserOptionsChecker_ROS<GRAPH_T>::TUserOptionsChecker_ROS() {
00015 }
00016 
00017 template<class GRAPH_T>
00018 TUserOptionsChecker_ROS<GRAPH_T>::~TUserOptionsChecker_ROS() {
00019 }
00020 
00021 template<class GRAPH_T>
00022 void TUserOptionsChecker_ROS<GRAPH_T>::
00023 createDeciderOptimizerMappings() {
00024         using namespace std;
00025         using namespace mrpt::graphs;
00026         using namespace mrpt::graphslam::apps;
00027         using namespace mrpt::graphslam::deciders;
00028         parent::createDeciderOptimizerMappings();
00029 
00030         // node registration deciders
00031         this->node_regs_map["CICPCriteriaNRD_MR"] =
00032                 parent::template createNodeRegistrationDecider<CICPCriteriaNRD_MR<GRAPH_T>>;
00033         this->node_regs_map["CFixedIntervalsNRD_MR"] =
00034                 parent::template createNodeRegistrationDecider<CFixedIntervalsNRD_MR<GRAPH_T>>;
00035 
00036         // edge registration deciders
00037         this->edge_regs_map["CLoopCloserERD_MR"] =
00038                 parent::template createEdgeRegistrationDecider<CLoopCloserERD_MR<GRAPH_T>>;
00039 
00040         // optimizers
00041 
00042 } // end of createDeciderOptimizerMappings
00043 
00044 template<class GRAPH_T>
00045 void TUserOptionsChecker_ROS<GRAPH_T>::populateDeciderOptimizerProperties() {
00046         using namespace mrpt::graphslam::apps;
00047         using namespace std;
00048 
00049         parent::populateDeciderOptimizerProperties();
00050         { // CICPCriteriaNRD_MR
00051                 TRegistrationDeciderProps* dec = new TRegistrationDeciderProps;
00052                 dec->name = "CICPCriteriaNRD_MR";
00053                 dec->description =
00054                         "Multi-robot SLAM implementation of the CICPCriteriaNRD class based on \"Condensed Measurements\"";
00055                 dec->type = "Node";
00056                 dec->rawlog_format = "Both";
00057                 dec->observations_used.push_back("CObservation2DRangeScan - Format #1, #2");
00058                 dec->is_mr_slam_class = "true";
00059 
00060                 this->regs_descriptions.push_back(dec);
00061         }
00062         { // CFixedIntervalsNRD_MR
00063                 TRegistrationDeciderProps* dec = new TRegistrationDeciderProps;
00064                 dec->name = "CFixedIntervalsNRD_MR";
00065                 dec->description =
00066                         "Multi-robot SLAM implementation of the CFixedIntervalsNRD class based on \"Condensed Measurements\"";
00067                 dec->type = "Node";
00068                 dec->rawlog_format = "Both";
00069                 dec->observations_used.push_back("CObservation2DRangeScan - Format #1, #2");
00070                 dec->is_mr_slam_class = "true";
00071 
00072                 this->regs_descriptions.push_back(dec);
00073         }
00074 
00075         { // CLoopCloserERD_MR
00076                 TRegistrationDeciderProps* dec = new TRegistrationDeciderProps;
00077                 dec->name = "CLoopCloserERD_MR";
00078                 dec->description =
00079                         "Multi-robot SLAM implementation of the CLoopCloserERD class based on \"Condensed Measurements\"";
00080                 dec->type = "Edge";
00081                 dec->rawlog_format = "Both";
00082                 dec->observations_used.push_back("CObservation2DRangeScan - Format #1, #2");
00083                 dec->is_mr_slam_class = "true";
00084 
00085                 this->regs_descriptions.push_back(dec);
00086         }
00087 
00088 }
00089 
00090 } } } //end namespaces
00091 


mrpt_graphslam_2d
Author(s): Nikos Koukis
autogenerated on Thu Jun 6 2019 21:40:26