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_slam/pacsim.hpp"
#include "adapter_slam/vehicle.hpp"
#include "ros_node/slam_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< SLAMNode >(const SLAMParameters &)>, std::less<> > adapter_map
 

Variable Documentation

◆ adapter_map

const std::map<std::string, std::function<std::shared_ptr<SLAMNode>(const SLAMParameters&)>, std::less<> > adapter_map
Initial value:
= {{"pacsim",
[](const SLAMParameters& params) -> std::shared_ptr<SLAMNode> {
return std::make_shared<PacsimAdapter>(params);
}},
{"vehicle", [](const SLAMParameters& params) -> std::shared_ptr<SLAMNode> {
return std::make_shared<VehicleAdapter>(params);
}}}
Parameters for the SLAM node.

Definition at line 17 of file map.hpp.