Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
map.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <map>
4#include <memory>
5#include <string>
6
9
10/*
11 * Map of slam_solvers, with the key being the type of the slam_solver and the value being a lambda
12 * function that returns a shared pointer to the corresponding slam_solver
13 */
14const std::map<std::string, std::function<std::shared_ptr<BaseVelocityProcessModel>()>, std::less<>>
16 {"ca_particle_model",
17 []() -> std::shared_ptr<BaseVelocityProcessModel> {
18 return std::make_shared<CAParticleModel>();
19 }},
20};
const std::map< std::string, std::function< std::shared_ptr< BaseVelocityProcessModel >()>, std::less<> > vel_process_models_map
Definition map.hpp:15