10 #ifndef TUSEROPTIONSCHECKER_H 11 #define TUSEROPTIONSCHECKER_H 32 namespace mrpt {
namespace graphslam {
namespace apps {
41 is_mr_slam_class(false),
105 template<
class GRAPH_t>
112 typedef typename GRAPH_t::constraint_t::type_value
pose_t;
Class containing the declarations of supplementary methods that can be used in application-related co...
GRAPH_t::constraint_t constraint_t
virtual bool checkRegistrationDeciderExists(std::string given_reg, std::string reg_type) const
Check if the given registrator decider exists in the vector of deciders.
optimizers_t optimizers_map
TUserOptionsChecker()
Constructor.
edge_regs_t edge_regs_map
node_regs_t node_regs_map
Properties struct for the Registration Decider classes.
std::vector< std::string > observations_used
Measurements that the current decider class can utilize.
bool is_mr_slam_class
Class indicating if the current decider/optimizer class can be used in a multi-robot SLAM operation...
~TRegistrationDeciderOrOptimizerProps()
virtual void populateDeciderOptimizerProperties()
Populate the available decider, optimizer classes available in user applications. ...
TRegistrationDeciderProps()
~TRegistrationDeciderProps()
std::map< std::string, mrpt::graphslam::deciders::CEdgeRegistrationDecider< GRAPH_T > *(*)()> edge_regs_t
std::string type
Type of decider.
std::map< std::string, mrpt::graphslam::deciders::CNodeRegistrationDecider< GRAPH_T > *(*)()> node_regs_t
static mrpt::graphslam::deciders::CEdgeRegistrationDecider< GRAPH_t > * createEdgeRegistrationDecider()
static mrpt::graphslam::optimizers::CGraphSlamOptimizer< GRAPH_t > * createGraphSlamOptimizer()
std::string description
General description of the decicder or optimizer class.
GLsizei const GLchar ** string
const std::string sep_header
static mrpt::graphslam::deciders::CNodeRegistrationDecider< GRAPH_t > * createNodeRegistrationDecider()
virtual void createDeciderOptimizerMappings()
Create the necessary mappings from strings to the corresponding instance creation functors...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Interface for implementing graphSLAM optimizer classes.
virtual void dumpRegistrarsToConsole(std::string reg_type="all") const
Print the registration deciders vector in a formatted manner to the standard output.
Properties struct for both the Registration Decider and Optimizer classes.
GRAPH_t::constraint_t::type_value pose_t
std::string name
Name of the decider or optimizer class.
Properties struct for the Optimizer classes.
GLuint const GLchar * name
virtual ~TUserOptionsChecker()
Destructor.
std::map< std::string, mrpt::graphslam::optimizers::CGraphSlamOptimizer< GRAPH_T > *(*)()> optimizers_t
virtual bool checkOptimizerExists(std::string given_opt) const
Check if the given optimizer exists in the vector of optimizers.
std::string rawlog_format
Rawlog formats that the decider can be used in.
virtual void _createDeciderOptimizerMappings()
std::vector< TOptimizerProps * > optimizers_descriptions
std::vector< TRegistrationDeciderProps * > regs_descriptions
GLuint GLuint GLsizei GLenum type
const std::string sep_subheader
virtual void dumpOptimizersToConsole() const
Print the optimizers vector in a formatted manner to the standard output.
TRegistrationDeciderOrOptimizerProps()