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 "pid.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< LongitudinalController >(const ControlParameters &)>, std::less<> > longitudinal_controller_map
 

Variable Documentation

◆ longitudinal_controller_map

const std::map<std::string, std::function<std::shared_ptr<LongitudinalController>(const ControlParameters&)>, std::less<> > longitudinal_controller_map
Initial value:
= {
{"pid",
[](const ControlParameters& params) -> std::shared_ptr<LongitudinalController> {
return std::make_shared<PID>(params);
}},
}

Definition at line 15 of file map.hpp.