Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
map.hpp File Reference
Include dependency graph for map.hpp:

Go to the source code of this file.

Variables

const std::map< std::string, std::function< std::shared_ptr< S2VModel >(const common_lib::car_parameters::CarParameters &)>, std::less<> > s2v_models_map
 

Variable Documentation

◆ s2v_models_map

const std::map< std::string, std::function<std::shared_ptr<S2VModel>(const common_lib::car_parameters::CarParameters&)>, std::less<> > s2v_models_map
Initial value:
= {
{"bicycle_model",
[](const common_lib::car_parameters::CarParameters& params) -> std::shared_ptr<S2VModel> {
return std::make_shared<BicycleModel>(params);
}},
{"no_rear_wss_bicycle_model",
[](const common_lib::car_parameters::CarParameters& params) -> std::shared_ptr<S2VModel> {
return std::make_shared<NoRearWSSBicycleModel>(params);
}},
{"no_wss_bicycle_model",
[](const common_lib::car_parameters::CarParameters& params) -> std::shared_ptr<S2VModel> {
return std::make_shared<NoWSSBicycleModel>(params);
}},
}

Definition at line 19 of file map.hpp.