init_viny_slam.h
Go to the documentation of this file.
1 #ifndef SLAM_CTOR_SLAMS_VINY_SLAM_H
2 #define SLAM_CTOR_SLAMS_VINY_SLAM_H
3 
4 #include <memory>
5 
6 #include "../../utils/init_scan_matching.h"
7 #include "../../utils/init_occupancy_mapping.h"
8 
9 #include "../../core/maps/plain_grid_map.h"
10 #include "../../core/states/single_state_hypothesis_laser_scan_grid_world.h"
11 
12 #include "viny_grid_cell.h"
13 
15 
16 auto init_viny_slam(const PropertiesProvider &props) {
17  auto slam_props = SingleStateHypothesisLSGWProperties{};
18  // FIXME: move to params
19  slam_props.localized_scan_quality = 0.9;
20  slam_props.raw_scan_quality = 0.6;
21  slam_props.cell_prototype = std::make_shared<VinyDSCell>();
22 
23  slam_props.gsm = init_scan_matcher(props);
24  slam_props.gmsa = init_scan_adder(props);
25  slam_props.map_props = init_grid_map_params(props);
26  return std::make_shared<VinySlam>(slam_props);
27 }
28 
29 #endif
auto init_scan_adder(const PropertiesProvider &props)
auto init_viny_slam(const PropertiesProvider &props)
auto init_grid_map_params(const PropertiesProvider &props)
auto init_scan_matcher(const PropertiesProvider &props)


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:25