Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
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
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
00038 this->edge_regs_map["CLoopCloserERD_MR"] =
00039 parent::template createEdgeRegistrationDecider<CLoopCloserERD_MR<GRAPH_T>>;
00040
00041
00042
00043 }
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 {
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 {
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 {
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 } } }
00092
00093 #endif