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:
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< V2PMotionModel >()>, std::less<> > v2p_models_map
 

Variable Documentation

◆ v2p_models_map

const std::map<std::string, std::function<std::shared_ptr<V2PMotionModel>()>, std::less<> > v2p_models_map
Initial value:
= {
{"constant_velocity",
[]() -> std::shared_ptr<V2PMotionModel> {
return std::make_shared<ConstantVelocityModel>();
}},
{"constant_velocity_turnrate",
[]() -> std::shared_ptr<V2PMotionModel> {
return std::make_shared<ConstantVelocityTurnrateModel>();
}},
{"constant_acceleration_turnrate",
[]() -> std::shared_ptr<V2PMotionModel> {
return std::make_shared<ConstantAccelerationTurnrateModel>();
}},
}

Definition at line 17 of file map.hpp.