Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
map.hpp File Reference
#include <map>
#include <memory>
#include <string>
#include "slam_solver/ekf_slam_solver.hpp"
#include "slam_solver/graph_slam_solver/graph_slam_solver.hpp"
Include dependency graph for map.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

const std::map< std::string, std::function< std::shared_ptr< SLAMSolver >(const SLAMParameters &, std::shared_ptr< DataAssociationModel >, std::shared_ptr< V2PMotionModel >, std::shared_ptr< LandmarkFilter >, std::shared_ptr< std::vector< double > >, std::shared_ptr< LoopClosure >)>, std::less<> > slam_solver_constructors_map
 

Variable Documentation

◆ slam_solver_constructors_map

const std::map<std::string, std::function<std::shared_ptr<SLAMSolver>( const SLAMParameters&, std::shared_ptr<DataAssociationModel>, std::shared_ptr<V2PMotionModel>, std::shared_ptr<LandmarkFilter>, std::shared_ptr<std::vector<double>>, std::shared_ptr<LoopClosure>)>, std::less<> > slam_solver_constructors_map
Initial value:
= {
{"graph_slam",
[](const SLAMParameters& params, std::shared_ptr<DataAssociationModel> data_association,
std::shared_ptr<V2PMotionModel> motion_model,
std::shared_ptr<LandmarkFilter> landmark_filter,
std::shared_ptr<std::vector<double>> execution_times,
std::shared_ptr<LoopClosure> loop_closure) -> std::shared_ptr<SLAMSolver> {
return std::make_shared<GraphSLAMSolver>(params, data_association, motion_model,
landmark_filter, execution_times, loop_closure);
}},
{"ekf_slam",
[](const SLAMParameters& params, std::shared_ptr<DataAssociationModel> data_association,
std::shared_ptr<V2PMotionModel> motion_model,
std::shared_ptr<LandmarkFilter> landmark_filter,
std::shared_ptr<std::vector<double>> execution_times,
std::shared_ptr<LoopClosure> loop_closure) -> std::shared_ptr<SLAMSolver> {
return std::make_shared<EKFSLAMSolver>(params, data_association, motion_model,
landmark_filter, execution_times, loop_closure);
}},
}
Parameters for the SLAM node.

Definition at line 20 of file map.hpp.