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
7
#include "
motion_lib/vel_process_model/base_vel_process_model.hpp
"
8
#include "
motion_lib/vel_process_model/particle_model.hpp
"
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
*/
14
const
std::map<std::string, std::function<std::shared_ptr<BaseVelocityProcessModel>()>, std::less<>>
15
vel_process_models_map
= {
16
{
"ca_particle_model"
,
17
[]() -> std::shared_ptr<BaseVelocityProcessModel> {
18
return
std::make_shared<CAParticleModel>();
19
}},
20
};
base_vel_process_model.hpp
vel_process_models_map
const std::map< std::string, std::function< std::shared_ptr< BaseVelocityProcessModel >()>, std::less<> > vel_process_models_map
Definition
map.hpp:15
particle_model.hpp
src
motion_lib
include
motion_lib
vel_process_model
map.hpp
Generated by
1.9.8