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 "adapter_ekf_state_est/eufs.hpp"
#include "adapter_ekf_state_est/fsds.hpp"
#include "adapter_ekf_state_est/pacsim.hpp"
#include "adapter_ekf_state_est/vehicle.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< Adapter >(std::shared_ptr< SENode >)>, std::less<> > adapter_map
 

Variable Documentation

◆ adapter_map

const std::map<std::string, std::function<std::shared_ptr<Adapter>(std::shared_ptr<SENode>)>, std::less<> > adapter_map
Initial value:
= {{"fsds",
[](std::shared_ptr<SENode> se_node) -> std::shared_ptr<Adapter> {
return std::make_shared<FsdsAdapter>(se_node);
}},
{"eufs",
[](std::shared_ptr<SENode> se_node) -> std::shared_ptr<Adapter> {
return std::make_shared<EufsAdapter>(se_node);
}},
{"pacsim",
[](std::shared_ptr<SENode> se_node) -> std::shared_ptr<Adapter> {
return std::make_shared<PacsimAdapter>(se_node);
}},
{"vehicle", [](std::shared_ptr<SENode> se_node) -> std::shared_ptr<Adapter> {
return std::make_shared<VehicleAdapter>(se_node);
}}}

Definition at line 18 of file map.hpp.