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 "adapters/pacsim_adapter.hpp"
#include "adapters/vehicle_adapter.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< VENode >(const VEParameters &)>, std::less<> > adapter_map
 

Variable Documentation

◆ adapter_map

const std::map<std::string, std::function<std::shared_ptr<VENode>(const VEParameters&)>, std::less<> > adapter_map
Initial value:
= {{"pacsim",
[](const VEParameters& params) -> std::shared_ptr<VENode> {
return std::make_shared<PacsimAdapter>(params);
}},
{"vehicle", [](const VEParameters& params) -> std::shared_ptr<VENode> {
return std::make_shared<VehicleAdapter>(params);
}}}

Definition at line 16 of file map.hpp.