92 template <
class GRAPH_t>
100 using pose_t =
typename GRAPH_t::constraint_t::type_value;
141 std::string given_reg, std::string reg_type)
const;
Class containing the declarations of supplementary methods that can be used in application-related co...
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.
typename GRAPH_T ::constraint_t constraint_t
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()=default
std::map< std::string, mrpt::graphslam::deciders::CEdgeRegistrationDecider< GRAPH_T > *(*)()> edge_regs_t
virtual void populateDeciderOptimizerProperties()
Populate the available decider, optimizer classes available in user applications. ...
TOptimizerProps()=default
std::string type
Type of decider.
static mrpt::graphslam::deciders::CEdgeRegistrationDecider< GRAPH_t > * createEdgeRegistrationDecider()
static mrpt::graphslam::optimizers::CGraphSlamOptimizer< GRAPH_t > * createGraphSlamOptimizer()
typename GRAPH_T ::constraint_t::type_value pose_t
~TRegistrationDeciderProps()=default
std::string description
General description of the decicder or optimizer class.
TRegistrationDeciderProps()=default
std::map< std::string, mrpt::graphslam::deciders::CNodeRegistrationDecider< GRAPH_T > *(*)()> node_regs_t
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...
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.
~TOptimizerProps()=default
std::map< std::string, mrpt::graphslam::optimizers::CGraphSlamOptimizer< GRAPH_T > *(*)()> optimizers_t
std::string name
Name of the decider or optimizer class.
Properties struct for the Optimizer classes.
virtual ~TUserOptionsChecker()
Destructor.
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
TRegistrationDeciderOrOptimizerProps()=default
const std::string sep_subheader
virtual void dumpOptimizersToConsole() const
Print the optimizers vector in a formatted manner to the standard output.