1 #ifndef SLAM_CTOR_SLAMS_TINY_SLAM_H 2 #define SLAM_CTOR_SLAMS_TINY_SLAM_H 7 #include "../../utils/init_scan_matching.h" 8 #include "../../utils/init_occupancy_mapping.h" 10 #include "../../core/maps/plain_grid_map.h" 11 #include "../../core/states/single_state_hypothesis_laser_scan_grid_world.h" 19 auto cell_type = props.
get_str(
"slam/cell/type",
"avg");
21 if (cell_type ==
"base") {
26 }
else if (cell_type ==
"avg") {
32 std::cerr <<
"Unknown cell type: " << cell_type << std::endl;
45 return std::make_shared<TinySlam>(slam_props);
double localized_scan_quality
virtual str get_str(const std::string &id, const str &dflt) const =0
auto init_scan_adder(const PropertiesProvider &props)
auto init_tiny_slam(const PropertiesProvider &props)
auto init_grid_map_params(const PropertiesProvider &props)
std::shared_ptr< GridCell > cell_prototype
auto init_scan_matcher(const PropertiesProvider &props)
void setup_tiny_cell_prototype(const PropertiesProvider &props, SingleStateHypothesisLSGWProperties &sg_props)