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/eufs.hpp"
#include "adapter/pacsim.hpp"
#include "adapter/vehicle.hpp"
#include "ros_node/ros_node.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< ControlNode >(const ControlParameters &)>, std::less<> > adapter_map
 

Variable Documentation

◆ adapter_map

const std::map<std::string, std::function<std::shared_ptr<ControlNode>(const ControlParameters&)>, std::less<> > adapter_map
Initial value:
= {{"pacsim",
[](const ControlParameters& params) -> std::shared_ptr<ControlNode> {
return std::make_shared<PacSimAdapter>(params);
}},
{"vehicle",
[](const ControlParameters& params) -> std::shared_ptr<ControlNode> {
return std::make_shared<VehicleAdapter>(params);
}},
{"eufs", [](const ControlParameters& params) -> std::shared_ptr<ControlNode> {
return std::make_shared<EufsAdapter>(params);
}}}

Definition at line 18 of file map.hpp.